Generically, how to see a host-pci-device on guest?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All.

I have the following set up:

* Host : Ubuntu-16, on a amd64 hardware
* Guest : Ubuntu-21, as a VM on QEMU/KVM.


Now, I have a SD-MMC card-reader attached physically on the host,
which is listed as expected if I do lspci on the host :

############################################
ajay@ajay-Latitude-E6320:~/ldd3$ lspci
....
....
0a:00.0 SD Host controller: O2 Micro, Inc. OZ600FJ0/OZ900FJ0/OZ600FJS
SD/MMC Card Reader Controller (rev 05)
....
############################################


However, if I try doing lspci on the guest, this pci-device is not listed.




So, I have the following queries :

* Would it require enabling pci-passthrough (if not already) in the
guest-kernel, on a global basis?
* Does having raw-physical-access on the guest, require support from
the pci-device itself?


My ultimate aim is to get the sd-mmc-driver that I wrote for the
host-machine, to run unmodified on the guest-machine (obviously after
the sd-card-reader is detected on the guest, and the code recompiled
on the guest).


Will be grateful for any pointers.


Thanks and Regards,
Ajay



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux