mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
qemu: capabilities: Move setting of PPC specific flags to virQEMUCapsInitQMPBasicArch
QEMU_CAPS_MACHINE_PSERIES_RESIZE_HPT and QEMU_CAPS_MACHINE_PSERIES_MAX_CPU_COMPAT are now always asserted on PPC machine types, move them to virQEMUCapsInitQMPBasicArch. It's now always set for AARCH64, move it into the function setting basic caps for the emulator. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Neal Gompa <ngompa13@gmail.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
@@ -10,8 +10,8 @@ QEMU_AUDIO_DRV=none \
|
||||
/usr/bin/qemu-system-ppc64 \
|
||||
-name QEMUGuest1 \
|
||||
-S \
|
||||
-machine pseries,accel=kvm,usb=off,dump-guest-core=off \
|
||||
-cpu host,compat=power9 \
|
||||
-machine pseries,accel=kvm,usb=off,dump-guest-core=off,max-cpu-compat=power9 \
|
||||
-cpu host \
|
||||
-m 256 \
|
||||
-realtime mlock=off \
|
||||
-smp 4,sockets=4,cores=1,threads=1 \
|
||||
|
||||
@@ -10,8 +10,8 @@ QEMU_AUDIO_DRV=none \
|
||||
/usr/bin/qemu-system-ppc64 \
|
||||
-name QEMUGuest1 \
|
||||
-S \
|
||||
-machine pseries,accel=kvm,usb=off,dump-guest-core=off \
|
||||
-cpu host,compat=power7 \
|
||||
-machine pseries,accel=kvm,usb=off,dump-guest-core=off,max-cpu-compat=power7 \
|
||||
-cpu host \
|
||||
-m 256 \
|
||||
-realtime mlock=off \
|
||||
-smp 4,sockets=4,cores=1,threads=1 \
|
||||
|
||||
Reference in New Issue
Block a user