Bug 705749

Summary: guest cann't get any of dest host hot-plug device after migrated
Product: Red Hat Enterprise Linux 5 Reporter: FuXiangChun <xfu>
Component: kvmAssignee: Alex Williamson <alex.williamson>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 5.7CC: gcosta, juzhang, michen, mkenneth, tburke, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-17 00:04:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 580948    

Description FuXiangChun 2011-05-18 10:50:09 UTC
Description of problem:
after migrated successfully,dest host hot-plug any device via monitor guest can not get it. 

Version-Release number of selected component (if applicable):


How reproducible:
# rpm -qa|grep kvm
kvm-83-232.el5
# uname -r
2.6.18-260.el5



Steps to Reproduce:
1.
src host:
/usr/libexec/qemu-kvm -no-hpet -usbdevice tablet -rtc-td-hack -name 61 -smp 2 -m 2G -uuid `uuidgen` -boot c -drive file=/mnt/rhel61.qcow2,if=ide,cache=none,boot=on,format=qcow2,werror=stop -net none -notify all -balloon none  -monitor stdio -vnc :1
dest host:
/usr/libexec/qemu-kvm -no-hpet -usbdevice tablet -rtc-td-hack -name 61 -smp 2 -m 2G -uuid `uuidgen` -boot c -drive file=/mnt/rhel61.qcow2,if=ide,cache=none,boot=on,format=qcow2,werror=stop -net none -notify all -balloon none  -monitor stdio -vnc :2 -incoming tcp:0:9000

2.migrate -d tcp:0:9000
3. hot-plug a nic
(qemu)  host_net_add tap vlan=5,script=/etc/qemu-ifup
(qemu) pci_add pci_addr=auto nic vlan=5,macaddr=1C:C1:DE:14:13:1c,model=virtio
  
Actual results:
guest can not get it

Expected results:
guest get it


Additional info:
info network can find nic info, only guest can not find it. guest is rhel6.1.