[Bug 1181777] Re: kvm: freeze a guest with a NIC PCI passthrough
AlexanderYT
1181777 at bugs.launchpad.net
Mon May 20 14:38:12 UTC 2013
Hello.
This is the step by step history of commands. The domain "w" is not rinnung.
# virsh list --all
Id Name State
----------------------------------
- w shut off
There are all NICs on the host system
# virsh nodedev-list --tree | grep -A 18 '+- pci_0000_00_02_0'
+- pci_0000_00_02_0
| |
| +- pci_0000_03_00_0
| | |
| | +- net_eth0_2c_76_8a_4f_45_00
| |
| +- pci_0000_03_00_1
| | |
| | +- net_eth1_2c_76_8a_4f_45_01
| |
| +- pci_0000_03_00_2
| | |
| | +- net_eth2_2c_76_8a_4f_45_02
| |
| +- pci_0000_03_00_3
| |
| +- net_eth3_2c_76_8a_4f_45_03
Dump xml for eht1
# virsh nodedev-dumpxml pci_0000_03_00_1
<device>
<name>pci_0000_03_00_1</name>
<parent>pci_0000_00_02_0</parent>
<driver>
<name>tg3</name>
</driver>
<capability type='pci'>
<domain>0</domain>
<bus>3</bus>
<slot>0</slot>
<function>1</function>
<product id='0x1657'>NetXtreme BCM5719 Gigabit Ethernet PCIe</product>
<vendor id='0x14e4'>Broadcom Corporation</vendor>
<capability type='virt_functions'>
</capability>
</capability>
</device>
Add the host device
# virsh edit w
...
<hostdev mode='subsystem' type='pci' managed='yes'>
<source>
<address domain='0x0000' bus='0x03' slot='0x00' function='0x1'/>
</source>
</hostdev>
...
Dettach the NIC from host
# virsh nodedev-dettach pci_0000_03_00_1
# virsh start w
The image file of guest OS is not contain a OS, this is only a RAW partition. I'm trying to boot the guest with live cd ISO.
But problem is while running seabios or iPXE (IMHO). Please, see the screenshot.
** Attachment added: "VNC screenshot"
https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1181777/+attachment/3682131/+files/Screenshot%20of%20QEMU%20%28w%29.png
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1181777
Title:
kvm: freeze a guest with a NIC PCI passthrough
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1181777/+subscriptions
More information about the Ubuntu-server-bugs
mailing list