Bug 988206
Summary: | [virtio-win][netkvm]Error message popped up in monitor after the guest with one hot-plug nic resumed from S4 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Min Deng <mdeng> |
Component: | virtio-win | Assignee: | Yvugenfi <yvugenfi> |
Status: | CLOSED WONTFIX | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | CC: | acathrow, bcao, bsarathy, juzhang, michen, rhod, virt-maint |
Target Milestone: | rc | ||
Target Release: | 7.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-02-23 14:23:21 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: | |||
Bug Depends On: | |||
Bug Blocks: | 923626 |
Description
Min Deng
2013-07-25 06:05:35 UTC
Which version netkvm are you using ,this should fixed in netkvm build 59 (In reply to Mike Cao from comment #2) > Which version netkvm are you using ,this should fixed in netkvm build 59 Hi Mike, Double check the version I used,it's build 65.Any issues please let me know. Thanks Min Hi Mike, It looks like a different issue - the bug that was fixe was writing to ISR register: #define VIRTIO_PCI_ISR 19 Best regards, Yan. This is something that should be documented, but cannot be handled by the driver. Windows cannot handle change of HW during S4. There are two issues with command lines used for the test: 1. QEMU creates default network device in first command line (e1000). 2. There is no address on PCI bus for the devices. Will following changes to command line and QMP the VM will function correctly after hot add/S4/resume sequence: 1. Start VM with: -netdev tap,id=hostnet1,vhost=on,script=/home/yanv/dev/scripts/whql-ifup \ -device e1000,netdev=hostnet1,addr=0x5,id=net1,mac=00:11:41:54:33:82 \ (Pay attention to addr=5. You can observe it later in device manager or "info pci" in qemu monitor). 2. Add device with following command: {"execute": "device_add", "arguments": { "driver":"virtio-net-pci","netdev":"hostnet0","addr":"6","mac":"00:1a:4a:42:0b:01","id": "net0"}} (Once again - pay attention to explicit address parameter. Same as before you should see it in device manager or with "info lci") 3. After S4 start VM with following addition to command line: -netdev tap,id=hostnet1,vhost=on,script=/home/yanv/dev/scripts/whql-ifup \ -device e1000,netdev=hostnet1,addr=0x5,id=net1,mac=00:11:41:54:33:82 \ -netdev tap,id=hostnet0,vhost=on,script=/home/yanv/dev/scripts/whql-ifup \ -device virtio-net-pci,netdev=hostnet0,addr=0x6,id=net0,mac=00:11:41:54:33:8a \ (Provide exactly the same address to added device). * Please change test procedure and documentation accordingly. In libvirt is adding devices to Windows VMs without explicit address indication, please open bug for libvirt. |