[Libvir] Empty <bootloader> tag?

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Wed Jan 23 22:09:43 UTC 2008


Kaitlin Rupert wrote:
> 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)

<snip>
>     (on_xend_start ignore)
>     (on_xend_stop ignore)
>     (image
>         (linux
>             (kernel /tmp/default-xen-kernel)
>             (ramdisk /tmp/default-xen-initrd)
>             (args 'TERM=xterm ')
>         )
>     )

Just wanted to follow up on this issue.  Since this guest has a kernel 
tag, it should not have a bootloader tag - is that correct?

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




More information about the libvir-list mailing list