[libvirt] troubles creating an OVS network with xen, libxl and libvirt.

Jim Fehlig jfehlig at suse.com
Wed May 7 17:23:23 UTC 2014


Alvin Starr wrote:
> One more quirk
>
> I can create a domain using the lx commands and a slightly modified
> .conf file.
> "virsh  start kvmtest" returns a failure.
> I tracked the information passed to vif-openvswitch and it is being
> called with type_if=tap and it needs to be type_if=vif.

Sounds like a Xen bug.  Does it call vif-openvswitch twice?  Once for an
emulated NIC and once for PV nic?

>
> Any help would be greatly appreciated once again.
[...]
> name = "kvmtest"
> uuid = "1883fa66-d052-4bb2-b57a-8571f77ae69e"
> maxmem = 4096
> memory = 4096
> vcpus = 3
> builder = "hvm"
> kernel = "/usr/lib/xen/boot/hvmloader"
> boot = "nc"
> pae = 1
> acpi = 1
> apic = 1
> hap = 0
> viridian = 0
> rtc_timeoffset = 0
> localtime = 0
> on_poweroff = "destroy"
> on_reboot = "restart"
> on_crash = "restart"
> device_model = "/usr/lib64/xen/bin/qemu-dm"
> usb = 1
> usbdevice = "tablet"
> sdl = 0
> vnc = 1
> vncunused = 1
> keymap = "en-us"
> disk = [ "phy:/dev/xen_images/kvmtest,hda,w" ]
> vif = [ "mac=00:16:3e:3f:31:36,bridge=br0,script=vif-bridge,model=e1000" ]
>   

Shouldn't that be '...,script=vif-openvswitch,...'?  Also, if your guest
has PV drivers, you could set 'model=netfront' to explicitly say you
only want the PV NIC.

Regards,
Jim

> parallel = "none"
> serial = "pty"
>   




More information about the libvir-list mailing list