mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-09-06 05:31:50 +00:00
kvm, pci: Return "no device" by default
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
committed by
Will Deacon
parent
4402a5812a
commit
4c797ebc31
@@ -9,6 +9,8 @@
|
||||
#define PCI_CONFIG_ADDRESS 0xcf8
|
||||
#define PCI_CONFIG_DATA 0xcfc
|
||||
|
||||
#define PCI_NO_DEVICE 0xffffffff
|
||||
|
||||
struct pci_config_address {
|
||||
unsigned zeros : 2; /* 1 .. 0 */
|
||||
unsigned register_number : 6; /* 7 .. 2 */
|
||||
|
||||
Reference in New Issue
Block a user