mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-05 04:41:20 +00:00
3ee7cf6c9b
this is the patch to add support for multiple serial ports to the libvirt Xen driver. It support both old style (serial = "pty") and new style (serial = [ "/dev/ttyS0", "/dev/ttyS1" ]) definition and tests for xml2sexpr, sexpr2xml and xmconfig have been added as well. Written and tested on RHEL-5 Xen dom0 and working as designed but the Xen version have to have patch for RHBZ #614004 but this patch is for upstream version of libvirt. Also, this patch is addressing issue described in RHBZ #670789. Signed-off-by: Michal Novotny <minovotn@redhat.com>
26 lines
618 B
INI
26 lines
618 B
INI
name = "XenGuest2"
|
|
uuid = "c7a5fdb2-cdaf-9455-926a-d65c16db1809"
|
|
maxmem = 579
|
|
memory = 394
|
|
vcpus = 1
|
|
builder = "hvm"
|
|
kernel = "/usr/lib/xen/boot/hvmloader"
|
|
boot = "d"
|
|
pae = 1
|
|
acpi = 1
|
|
apic = 1
|
|
localtime = 0
|
|
on_poweroff = "destroy"
|
|
on_reboot = "restart"
|
|
on_crash = "restart"
|
|
device_model = "/usr/lib/xen/bin/qemu-dm"
|
|
sdl = 0
|
|
vnc = 1
|
|
vncunused = 1
|
|
vnclisten = "127.0.0.1"
|
|
vncpasswd = "123poi"
|
|
disk = [ "phy:/dev/HostVG/XenGuest2,hda,w", "file:/root/boot.iso,hdc:cdrom,r" ]
|
|
vif = [ "mac=00:16:3e:66:92:9c,bridge=xenbr1,script=vif-bridge,model=e1000,type=ioemu" ]
|
|
parallel = "none"
|
|
serial = [ "/dev/ttyS0", "/dev/ttyS1" ]
|