mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
c498a8921e
We can finally introduce a specific target model for the spapr-vty device used by pSeries guests, which means isa-serial will no longer show up to confuse users. We make sure migration works in both directions by interpreting the isa-serial target type, or the lack of target type, appropriately when parsing the guest XML, and skipping the newly-introduced type when formatting if for migration. We also verify that spapr-vty is not used for non-pSeries guests and add a bunch of test cases. This commit is best viewed with 'git show -w'. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1511421 Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
31 lines
904 B
Plaintext
31 lines
904 B
Plaintext
LC_ALL=C \
|
|
PATH=/bin \
|
|
HOME=/home/test \
|
|
USER=test \
|
|
LOGNAME=test \
|
|
QEMU_AUDIO_DRV=none \
|
|
/usr/bin/qemu-system-ppc64 \
|
|
-name QEMUGuest1 \
|
|
-S \
|
|
-M pseries \
|
|
-m 512 \
|
|
-smp 1,sockets=1,cores=1,threads=1 \
|
|
-uuid 2754dd7b-ac8a-4850-aec0-1f3fcd43235b \
|
|
-nographic \
|
|
-nodefconfig \
|
|
-nodefaults \
|
|
-chardev socket,id=charmonitor,path=/tmp/lib/domain--1-QEMUGuest1/monitor.sock,\
|
|
server,nowait \
|
|
-mon chardev=charmonitor,id=monitor,mode=readline \
|
|
-boot c \
|
|
-device spapr-vscsi,id=scsi0,reg=0x2000 \
|
|
-device spapr-vscsi,id=scsi1,reg=0x30000000 \
|
|
-usb \
|
|
-drive file=/tmp/scsidisk.img,format=raw,if=none,id=drive-scsi1-0-0-0 \
|
|
-device scsi-disk,bus=scsi1.0,channel=0,scsi-id=0,lun=0,\
|
|
drive=drive-scsi1-0-0-0,id=scsi1-0-0-0 \
|
|
-chardev pty,id=charserial0 \
|
|
-device spapr-vty,chardev=charserial0,id=serial0,reg=0x20000000 \
|
|
-chardev pty,id=charserial1 \
|
|
-device spapr-vty,chardev=charserial1,id=serial1,reg=0x30001000
|