[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Hotplugging FPGA to running VM
After poking around some more on my host, I noticed the
following differences in the output of qemu-dm, which are shown below (extracted
from /var/log/xen/qemu-dm-VMName.log).
Case 1: VM was powered on 'before' PCI device (FPGA) was brought
on-line
-------------------------------------------------------------------------------------------------------------
dm-command: hot insert pass-through pci dev
register_real_device: Assigning real physical device 01:00.0 ...
register_real_device: Error: couldn't locate device in libpci
structures
Case 2: VM was powered on 'after' PCI device (FPGA) was brought
on-line
----------------------------------------------------------------------------------------------------------
dm-command: hot insert pass-through pci dev
register_real_device: Assigning real physical device 01:00.0 ...
register_real_device: Enable MSI translation via per device option
register_real_device: Disable power management
pt_iomul_init: Error: pt_iomul_init can't open file /dev/xen/pci_iomul: No
such file or directory: 0x1:0x0.0x0
pt_register_regions: IO region registered (size=0x00100000
base_addr=0xc6000000)
pt_register_regions: IO region registered (size=0x00100000
base_addr=0xc6100000)
pt_msi_setup: msi mapped with pirq 84 pci_intx: intx=1
register_real_device: Real physical device 01:00.0 registered
successfuly!
So
clearly, qemu-dm reported an error for case (1) and reported success for case
(2).
The
interesting thing is why did the Xen xm pci-attach command report success in
both cases. Also, from Xen's perspective it appears that the afore-mentioned PCI
device is assigned to the VM in both cases (as verified by using the xm commands
to get the list of remaining assignable PCI devices and the list of PCI devices
attached to the VM).
Something seems wrong here.
Any
thoughts?
-Anil From: xen-users-bounces@xxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxx] On Behalf Of Anil
Rao
Sent: Thursday, May 31, 2012 11:25 AM To: cyberhawk001@xxxxxxxxx; xen-users@xxxxxxxxxxxxx
_______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |