Comment 3 for bug 1181777

Revision history for this message
AlexanderYT (arcam) wrote :

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.