Disable VM guest boot with '-no-acpi' on nvdimm systems

Bug #1745689 reported by Paul Lai
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xen (Ubuntu)
New
Undecided
Unassigned

Bug Description

Description of problem:
  Starting qemu-kvm with '-no-acpi' should fail on systems with nvdimm

Environment:
KVM:kvm-next-4.14.0_rc4-61d75077_4ffa88c9_20171113092427
Base OS: Fedora release 25
Guest OS: Fedora release 25
Platform: SKL-2S

Reproduce steps:
1.Setup the AEP with 1-1-1 configuration on SKL-2S
2.Install Fedora25 on SKL host with ISO(Image path:http://linux-ftp.sh.intel.com/pub/mirrors/fedora/linux/releases/25/)
3.Create the guest with the command:qemu-system-x86_64 -enable-kvm -smp 8 -m 16G,slots=32,maxmem=96G -cpu host -device virtio-net-pci,netdev=nic0,mac=52:54:00:65:92:66 -netdev tap,id=nic0,script=/etc/kvm/qemu-ifup -drive file=/opt/sector.qcow2,if=virtio,id=virtio-disk0,format=qcow2 -M q35,nvdimm -object memory-backend-file,id=mem1,share,mem-path=/dev/pmem4,size=32G -device nvdimm,memdev=mem1,id=nv1,label-size=128k -no-acpi)

Expect result:
With no-acpi option, guest shall not be created, qemu report error, no host crash or call trace happens
Actual result:
Guest could bootup but the no pmem device under the /dev/

Fix is in qemu commit:
  8cd91acec8 pc: fail memory hot-plug/unplug with -no-acpi and Q35 machine type

Tags: intel
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.