This is a little bigger of a patch. It has a couple of things in it.
First, in xen_internal.c and xs_internal.c have general dom0 support
for Solaris.
Again, using #ifdef/ifndef __linux__ to separate the logic.
In xml.c and xend_internal.c, the code which requires kernel to be defined
if ifdef __linux__'d. For our setup, If bootloader, kernel, and
ramdisk aren't defined, pygrub will got looking for the right bits.
There also code which puts in the the vncpasswd in xend_internal.c.
This is the last patch I'll send out for today...
Mark