Hello:
I am trying to set a target dev specification for one
of my guests so I stopped the guest and the did virst
edit, added the target specification, and saved the
file. If I go back into virsh edit, the target specification
is not being saved.
I am using libvirt 0.6.3-20.el5 installed by yum on CentOS 5.4.
Here is the XML file after I edited it:
<domain type='kvm'>
<name>jamm12a</name>
<uuid>6452dcff-c20f-908b-d1ee-7dcf1406a3e0</uuid>
<memory>1048576</memory>
<currentMemory>1048576</currentMemory>
<vcpu>1</vcpu>
<os>
<type arch='x86_64' machine='pc'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<devices>
<emulator>/usr/libexec/qemu-kvm</emulator>
<disk type='file' device='disk'>
<source file='/var/lib/libvirt/images/jamm12a.img'/>
<target dev='hda' bus='ide'/>
</disk>
<disk type='file' device='cdrom'>
<target dev='hdc' bus='ide'/>
<readonly/>
</disk>
<interface type='bridge'>
<mac address='54:52:00:4f:83:67'/>
<source bridge='br0'/>
<target dev='vnet1'/>
</interface>
<serial type='pty'>
<target port='0'/>
</serial>
<console type='pty'>
<target port='0'/>
</console>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes'
keymap='en-us'/>
</devices>
</domain>
When I save the file and do virsh edit again, the
<target dev='vnet1'/>
line is not saved.
Is this a bug in libvirt?
Thanks,
Neil
--
Neil Aggarwal, (281)846-8957,
www.JAMMConsulting.com
Will your e-commerce site go offline if you have
a DB server failure, fiber cut, flood, fire, or other disaster?
If so, ask about our geographically redundant database system.