mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-30 17:45:23 +00:00
eb3143154e
Kernel cmdline args can be passed to xen pv domains even when a bootloader is specified. The current config-to-sxpr mapping ignores cmdline when bootloader is present. Since the xend sub-driver is used with many xen toolstack versions, this patch takes conservative approach of adding an else block to existing !def->os.bootloader, and only appends sxpr if def->os.cmdline is non-NULL. V2: Fix existing testcase broken by this patch and add new testcases
6 lines
346 B
Plaintext
6 lines
346 B
Plaintext
(domain (domid 6)(name 'pvtest')(memory 420)(maxmem 420)(vcpus 2)\
|
|
(uuid '596a5d2171f48fb2e068e2386a5c413e')(bootloader '/usr/bin/pygrub')\
|
|
(bootloader_args '-q')(image (linux (args 'xenfb.video=8,1280,1024')))\
|
|
(on_poweroff 'destroy')(on_reboot 'destroy')(on_crash 'destroy')\
|
|
(device (vbd (dev 'xvda')(uname 'file:/root/some.img')(mode 'w'))))
|