3 May 2006 14:35
Re: support for hvm guests
Daniel Veillard <veillard <at> redhat.com>
2006-05-03 12:35:46 GMT
2006-05-03 12:35:46 GMT
First sorry for being a bit late answering,
On Fri, Apr 28, 2006 at 06:07:43PM -0600, Jim Fehlig wrote:
> Type 'bridge' can be valid for hvm guests. Perhaps it is better to not
> expose ioemu in the XML for now as there will probably be changes in
> this area anyway. We know the domain is type hvm, so just add 'ioemu:'
> where necessary when talking to xend/xenstore. I'm currently thinking
> about the following XML for OS element when type is hvm:
>
> <os>
> <type>hvm</type>
> <kernel>/usr/lib/xen/boot/hvmloader</kernel>
> <device_model>/usr/lib/xen/bin/qemu-dm</device_model>
> <boot dev='c'>
> <graphics type='vnc'>
> <cdrom dev='/dev/hdd'>
> </os>
Hum, I agree with Karel on the use of <boot dev='c' />, that's not really
a logical naming, can we avoid that and use more strcutured names like
'/dev/hda' .
Also I don't understand why graphics and cdrom are not defined in the
<devices> section for example
<devices>
<disk type='block'>
<source dev='hdd'/>
<target dev='hdd'/>
<cdrom/>
</disk>
(Continue reading)
> Currently I can get info on hvm domains but unable to create them. The
> create request is sent to xend but then blocks reading from xend in
> xend_req(). No problem creating the domain using xm. I have looked at
> the config coming into xend and it is identical between xm and
> virsh/libvirt. Need to poke around xend and see why there is no
> response to the virsh/libvirt create request for hvm domains.
Hum, basically to debug this kind of things I spend my time in
/var/log/xend.log especially since it prints what it received at creation
time, you can at least check the informations coming from libvirt and
from xm look alike.
Unfortunately I won't be able to help you, first because I'm about to
take vacations for 3 weeks
RSS Feed