[Libvir] Empty <bootloader> tag?

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Thu Jan 17 15:17:37 UTC 2008


Daniel P. Berrange wrote:
> On Wed, Jan 16, 2008 at 10:56:39PM -0800, Kaitlin Rupert wrote:
>> Hello,
>>
>> I created a guest from XML without a <bootloader> tag.  When I run 
>> dumpxml on the guest, I notice that an empty <bootloader /> tag is 
>> appended.  Is this the expected behavior?  This seems to differ from the 
>> behavior of other optional tags.
> 
> Yes & no. You should get a bootloader tag added only if you didn't
> already have a kerenl/initrd tag.
> 
> What version of Xen are you using ? Please capture the output of 
> 
>   'xm list --long {NAME OF GUEST}'
> 
> Dan


sudo /usr/sbin/xm list --long domU1
(domain
     (on_crash destroy)
     (uuid 12278656-c4c9-11dc-8852-feffffffffff)
     (bootloader_args )
     (vcpus 1)
     (name domU1)
     (on_poweroff destroy)
     (on_reboot restart)
     (bootloader )
     (maxmem 128)
     (memory 128)
     (shadow_memory 0)
     (cpu_weight 256)
     (cpu_cap 0)
     (features )
     (on_xend_start ignore)
     (on_xend_stop ignore)
     (image
         (linux
             (kernel /tmp/default-xen-kernel)
             (ramdisk /tmp/default-xen-initrd)
             (args 'TERM=xterm ')
         )
     )
     (status 0)
     (device
         (vif
             (mac 11:22:33:aa:bb:cc)
             (uuid 905b34ee-912a-5ab7-1305-3bc22593916d)
         )
     )
     (device
         (vbd
             (uuid 367ed7d5-706a-523b-32f5-0199d0bd75f7)
             (bootable 1)
             (driver paravirtualised)
             (dev xvda)
             (uname file:/tmp/default-xen-dimage)
             (mode w)
         )
     )
)

Thanks!

-- 
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com




More information about the libvir-list mailing list