📄 qemu-pci-vendor-ids
字号:
Index: ioemu/hw/cirrus_vga.c===================================================================--- ioemu.orig/hw/cirrus_vga.c 2007-05-10 15:04:56.000000000 +0100+++ ioemu/hw/cirrus_vga.c 2007-05-10 15:05:07.000000000 +0100@@ -3354,6 +3354,10 @@ pci_conf[0x0a] = PCI_CLASS_SUB_VGA; pci_conf[0x0b] = PCI_CLASS_BASE_DISPLAY; pci_conf[0x0e] = PCI_CLASS_HEADERTYPE_00h;+ pci_conf[0x2c] = 0x53; /* subsystem vendor: XenSource */+ pci_conf[0x2d] = 0x58;+ pci_conf[0x2e] = 0x01; /* subsystem device */+ pci_conf[0x2f] = 0x00; /* setup VGA */ s = &d->cirrus_vga;Index: ioemu/hw/rtl8139.c===================================================================--- ioemu.orig/hw/rtl8139.c 2007-05-10 15:05:06.000000000 +0100+++ ioemu/hw/rtl8139.c 2007-05-10 15:05:07.000000000 +0100@@ -3432,8 +3432,10 @@ pci_conf[0x0e] = 0x00; /* header_type */ pci_conf[0x3d] = 1; /* interrupt pin 0 */ pci_conf[0x34] = 0xdc;- pci_conf[0x2c] = pci_conf[0x00]; // same as Vendor ID- pci_conf[0x2d] = pci_conf[0x01];+ pci_conf[0x2c] = 0x53; /* subsystem vendor: XenSource */+ pci_conf[0x2d] = 0x58;+ pci_conf[0x2e] = 0x01; /* subsystem device */+ pci_conf[0x2f] = 0x00; s = &d->rtl8139; Index: ioemu/hw/ide.c===================================================================--- ioemu.orig/hw/ide.c 2007-05-10 15:05:02.000000000 +0100+++ ioemu/hw/ide.c 2007-05-10 15:05:07.000000000 +0100@@ -2750,6 +2750,10 @@ pci_conf[0x0a] = 0x01; // class_sub = PCI_IDE pci_conf[0x0b] = 0x01; // class_base = PCI_mass_storage pci_conf[0x0e] = 0x00; // header_type+ pci_conf[0x2c] = 0x53; /* subsystem vendor: XenSource */+ pci_conf[0x2d] = 0x58;+ pci_conf[0x2e] = 0x01; /* subsystem device */+ pci_conf[0x2f] = 0x00; piix3_reset(d);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -