mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 20:01:16 +00:00
076a2b4096
Commit 656151bf
fixed formatting of the <cmdline> element. Perhaps it
would have been noticed and fixed earlier if we had a test. With this
change, all possible cases of formatting <cmdline> from xmconfig are
covered
1. no 'extra=' or 'root=' in xm.cfg
2. 'extra=' but no 'root=' in xm.cfg
3. 'root=' but no 'extra=' in xm.cfg
4. both 'root=' and 'extra=' in xm.cfg
Case 1 is covered by all existing paravirt tests since they have no
'extra=' or 'root='. Case 2 is covered by adding 'extra=' to a few
of the existing paravirt tests. Cases 3 and 4 are covered by new
tests that only test conversion of xm.cfg to xml.
Signed-off-by: Jim Fehlig <jfehlig@suse.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
15 lines
358 B
INI
15 lines
358 B
INI
name = "XenGuest1"
|
|
uuid = "c7a5fdb0-cdaf-9455-926a-d65c16db1809"
|
|
maxmem = 579
|
|
memory = 394
|
|
maxvcpus = 4
|
|
vcpus = 2
|
|
localtime = 0
|
|
on_poweroff = "destroy"
|
|
on_reboot = "restart"
|
|
on_crash = "restart"
|
|
vif = [ "mac=00:16:3e:66:94:9c,bridge=br0,script=vif-bridge" ]
|
|
bootloader = "/usr/bin/pygrub"
|
|
extra = "console=hvc0"
|
|
disk = [ "phy:/dev/HostVG/XenGuest1,xvda,w" ]
|