|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Error starting stubdom HVM on Xen-3.4.3-rc4-pre
On 03/15/10 19:15, Mike Viau wrote:
A working libvirt XML formatted DomU would
surfice.
Here you go:
<domain type='xen'>
<name>test</name>
<os>
<type>hvm</type>
<loader>/usr/lib/xen/boot/hvmloader</loader>
<boot dev='hd'/>
</os>
<memory>7340032</memory>
<vcpu>7</vcpu>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<features>
<pae/>
<acpi/>
<apic/>
</features>
<clock offset='utc'/>
<devices>
<emulator>/usr/lib/xen/bin/stubdom-dm</emulator>
<interface type='bridge'>
<source bridge='eth0'/>
<mac address='00:50:56:0f:dd:02'/>
</interface>
<disk type='block' device='disk'>
<source dev='/dev/sys/lv0'/>
<target dev='hda'/>
</disk>
<disk type='block' device='disk'>
<source dev='/dev/sys/lv1'/>
<target dev='hdb'/>
</disk>
<disk type='block' device='disk'>
<source dev='/dev/sys/lv2'/>
<target dev='hdc'/>
</disk>
<!-- stub domains don't have access to dom0's ptys, so this is not
possible
<serial type='pty'>
</serial>
-->
<graphics type='vnc' autoport='yes'/>
</devices>
</domain>
I was looking at http://libvirt.org/drvxen.html
And realized that "virsh
domxml-to-native" may be used to convert the domU
configuration to native if
necessary.
I am interested in knowing how you incorporated the stubdom-dm loader.
The link above demonstrates Fullyvirtualized guest direct kernel boots,
Fullyvirtualized guest BIOS boots, Paravirtualized guest direct kernel
boots,
and Paravirtualized guest bootloader with pygrub examples.
Non of the examples feature the stubdom-dm loader.
I would greatly appreciate it if you could post a complete and working
stubdom
HVM domU configuration.
Sorry, I just assumed libvirt was a non-starter. Hope this helps.
-Andrew
|
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|