0

In order to make my vm use the openvswitch interface I have to add the following lines to a vm xml config file:

<source bridge='ovsbr'/>
  <virtualport type='openvswitch'/>

I edit the file, anyway while the first line is corrctly saved, the second one is not. It simply disappears, so I think the virtualport tag is not recognized...but this leads to an error when I start the virtual machine.

Has the xml specification changed? Or I do something wrong? Here is the output of

virsh --version=long

Virsh command line tool of libvirt 0.9.8 See web site at http://libvirt.org/

 Compiled with support for:
 Hypervisors: Xen QEmu/KVM UML OpenVZ LXC Test
 Networking: Remote Daemon Network Bridging Nwfilter VirtualPort
 Storage: Dir Disk Filesystem SCSI Multipath iSCSI LVM
 Miscellaneous: AppArmor Secrets Debug Readline
  • It seems you haven't asked a question :) – MDMarra Feb 9 '14 at 20:32
  • Paste the output of virsh --version=long. – Michael Hampton Feb 9 '14 at 20:46
  • I edited the post...I really don't know where the problem is, it just seems that virtualport tag is not a valid tag for the xml...I tried with different attributes but it is never saved – Phate Feb 9 '14 at 21:01
1

Open vSwitch support requires libvirt 0.9.11 or later. Your libvirt is too old.

To resolve the problem, upgrade your system.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.