summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHaozhong Zhang2017-12-22 02:51:20 +0100
committerPaolo Bonzini2018-01-12 09:54:13 +0100
commit8cd91acec8dfea6065272ca828405333f564a612 (patch)
treeae567bfb1cf88c21b6e02cd2272fcd727922f953 /include
parentscsi: fix scsi_convert_sense crash when in_buf == NULL && in_len == 0 (diff)
downloadqemu-8cd91acec8dfea6065272ca828405333f564a612.tar.gz
qemu-8cd91acec8dfea6065272ca828405333f564a612.tar.xz
qemu-8cd91acec8dfea6065272ca828405333f564a612.zip
pc: fail memory hot-plug/unplug with -no-acpi and Q35 machine type
When -no-acpi option is used with Q35 machine type, no guest ACPI is built, but the ACPI device is still created, so only checking the presence of ACPI device before memory plug/unplug is not enough in such cases. Check whether ACPI is disabled globally in addition and fail memory plug/unplug if it's disabled. Signed-off-by: Haozhong Zhang <haozhong.zhang@intel.com> Message-Id: <20171222015120.31730-1-haozhong.zhang@intel.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions