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.
Any help would be greatly appreciated once again.
--
Alvin Starr || voice: (905)513-7688
Netvel Inc. || Cell: (416)806-0133
alvin@xxxxxxxxxx ||
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" ]
parallel = "none"
serial = "pty"
<domain type='xen'>
<name>kvmtest</name>
<uuid>1883fa66-d052-4bb2-b57a-8571f77ae69e</uuid>
<memory unit='KiB'>4194304</memory>
<currentMemory unit='KiB'>4194304</currentMemory>
<vcpu placement='static'>3</vcpu>
<os>
<type arch='x86_64' machine='xenfv'>hvm</type>
<loader>/usr/lib/xen/boot/hvmloader</loader>
<boot dev='network'/>
<boot dev='hd'/>
<bootmenu enable='yes'/>
</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/lib64/xen/bin/qemu-dm</emulator>
<disk type='block' device='disk'>
<source dev='/dev/xen_images/kvmtest'/>
<target dev='hda' bus='ide'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<controller type='ide' index='0'/>
<interface type='bridge'>
<mac address='00:16:3e:3f:31:36'/>
<source bridge='br0'/>
<virtualport type='openvswitch'>
<parameters interfaceid='39328962-ec5c-4a6d-8024-4d4afa4635c8'/>
</virtualport>
<script path='vif-openvswitch'/>
<model type='e1000'/>
</interface>
<serial type='pty'>
<target port='0'/>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
<input type='tablet' bus='usb'/>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' keymap='en-us'/>
<video>
<model type='cirrus' vram='9216' heads='1'/>
</video>
</devices>
</domain>
CALL:add type_if=tap
env
XENBUS_TYPE=vif
script=/etc/xen/scripts/vif-openvswitch
vif=vif9.0
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
PWD=/
LANG=en_US.UTF-8
XENBUS_PATH=backend/vif/9/0
NOTIFY_SOCKET=@/org/freedesktop/systemd1/notify
XENBUS_BASE_PATH=backend
SHLVL=1
INTERFACE=vif9.0-emu
netdev=
_=/usr/bin/env
offline type_if=vif
SUBSYSTEM=xen-backend
DRIVER=vif
XENBUS_TYPE=vif
DEVPATH=/devices/vif-9-0
script=/etc/xen/scripts/vif-openvswitch
vif=vif9.0
ACTION=offline
MODALIAS=xen-backend:vif
PWD=/
USEC_INITIALIZED=916041492
XENBUS_PATH=backend/vif/9/0
XENBUS_BASE_PATH=backend
SHLVL=1
UDEV_CALL=1
SEQNUM=3142
_=/usr/bin/env
offline type_if=vif
XENBUS_TYPE=vif
script=/etc/xen/scripts/vif-openvswitch
vif=vif9.0
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
PWD=/
LANG=en_US.UTF-8
XENBUS_PATH=backend/vif/9/0
NOTIFY_SOCKET=@/org/freedesktop/systemd1/notify
XENBUS_BASE_PATH=backend
SHLVL=1
INTERFACE=vif9.0-emu
netdev=
_=/usr/bin/env
remove type_if=tap
XENBUS_TYPE=vif
script=/etc/xen/scripts/vif-openvswitch
vif=vif9.0
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
PWD=/
LANG=en_US.UTF-8
XENBUS_PATH=backend/vif/9/0
NOTIFY_SOCKET=@/org/freedesktop/systemd1/notify
XENBUS_BASE_PATH=backend
SHLVL=1
INTERFACE=vif9.0-emu
netdev=
_=/usr/bin/env
--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list