[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] virsh edit not saving interface target specification


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'>
    <type arch='x86_64' machine='pc'>hvm</type>
    <boot dev='hd'/>
  <clock offset='utc'/>
    <disk type='file' device='disk'>
      <source file='/var/lib/libvirt/images/jamm12a.img'/>
      <target dev='hda' bus='ide'/>
    <disk type='file' device='cdrom'>
      <target dev='hdc' bus='ide'/>
    <interface type='bridge'>
      <mac address='54:52:00:4f:83:67'/>
      <source bridge='br0'/>
      <target dev='vnet1'/>
    <serial type='pty'>
      <target port='0'/>
    <console type='pty'>
      <target port='0'/>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes' keymap='en-us'/>

When I save the file and do virsh edit again, the 
      <target dev='vnet1'/>
line is not saved.

Is this a bug in libvirt?


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.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]