mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-30 17:45:23 +00:00
20311a9af8
The most common cause of errors with rhel5-api turn on was missing "(type ioemu)" in sexpr or its equivalent in XM configuration file. This happens because the presence of that part in sexpr (or cfg) depends on xen version the host is running. Let's avoid it by explicitly specifying interface model which ensures "type ioemu" will always be emitted. This patch adds <model type='e1000'/> withing the interface element in all affected xml files. And (model 'e1000') to all corresponding sexpr files with similar fix to cfg files. Such configuration works regardless on Xen version.
24 lines
512 B
INI
24 lines
512 B
INI
name = "test"
|
|
uuid = "cc2315e7-d26a-307a-438c-6d188ec4c09c"
|
|
maxmem = 382
|
|
memory = 350
|
|
vcpus = 1
|
|
builder = "hvm"
|
|
kernel = "/usr/lib/xen/boot/hvmloader"
|
|
boot = "c"
|
|
pae = 1
|
|
acpi = 1
|
|
apic = 1
|
|
localtime = 0
|
|
on_poweroff = "destroy"
|
|
on_reboot = "destroy"
|
|
on_crash = "destroy"
|
|
device_model = "/usr/lib/xen/bin/qemu-dm"
|
|
sdl = 0
|
|
vnc = 1
|
|
vncunused = 1
|
|
disk = [ "phy:/dev/sda8,hda,w", ",hdc:cdrom,r" ]
|
|
vif = [ "mac=00:16:3e:0a:7b:39,bridge=xenbr0,script=vif-bridge,model=e1000,type=ioemu" ]
|
|
parallel = "none"
|
|
serial = "pty"
|