Bug 1446113

Summary: q35 hotunplug: Unknown savevm section or instance '0000:00:02.0/pcie-root-port' 0
Product: Red Hat Enterprise Linux 7 Reporter: Dr. David Alan Gilbert <dgilbert>
Component: qemu-kvm-rhevAssignee: Virtualization Maintenance <virt-maint>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.4CC: virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-27 09:47:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dr. David Alan Gilbert 2017-04-27 09:44:14 UTC
Description of problem:
(follow on from 1425273)
Failed migration after hotunplug


Version-Release number of selected component (if applicable):
qemu-kvm-rhev-2.9.0-1.el7.bz143756a.x86_64

How reproducible:
100%

Steps to Reproduce:
1. source: /usr/libexec/qemu-kvm -M q35 -cpu SandyBridge -m 4G -smp 4 -enable-kvm -vga qxl -vnc :0 -device pcie-root-port,id=root.0,slot=1 -netdev user,id=foo -device e1000e,netdev=foo,bus=root.0,id=nic1 -device pcie-root-port,id=root.1,slot=2 -drive file=/home/vms/f24.qcow2,id=rust,if=none -device virtio-blk-pci,drive=rust,bus=root.1 -monitor stdio
2. source:
   device_del nic1
   netdev_del foo
3. dest:
/usr/libexec/qemu-kvm -M q35 -cpu SandyBridge -m 4G -smp 4 -enable-kvm -vga qxl -vnc :0 -device pcie-root-port,id=root.0,slot=1  -device pcie-root-port,id=root.1,slot=2 -drive file=/home/vms/f24.qcow2,id=rust,if=none -device virtio-blk-pci,drive=rust,bus=root.1 -monitor stdio -incoming tcp::4444[root@virtlab403 ~]# /usr/libexec/qemu-kvm -M q35 -cpu SandyBridge -m 4G -smp 4 -enable-kvm -vga qxl -vnc :0 -device pcie-root-port,id=root.0,slot=1  -device pcie-root-port,id=root.1,slot=2 -drive file=/home/vms/f24.qcow2,id=rust,if=none -device virtio-blk-pci,drive=rust,bus=root.1 -monitor stdio -incoming tcp::4444
4. source:
   migrate_set_speed 1G
   migrate tcp:pair:4444

(Note difference between 1 and 3 is I've removed the -netdev and the -device e1000e but added the -incoming)

Actual results:
qemu-kvm: Unknown savevm section or instance '0000:00:02.0/pcie-root-port' 0
qemu-kvm: load of migration failed: Invalid argument


Expected results:
A happy migration

Additional info:

Comment 2 Dr. David Alan Gilbert 2017-04-27 09:47:06 UTC

*** This bug has been marked as a duplicate of bug 1446080 ***