All of lore.kernel.org
 help / color / mirror / Atom feed
* (no subject)
@ 2020-06-21  7:31 Antonio Raffaele
  2020-06-23 15:02 ` Overriding PCI Vendor/Device IDs Stefan Hajnoczi
  0 siblings, 1 reply; 2+ messages in thread
From: Antonio Raffaele @ 2020-06-21  7:31 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 702 bytes --]

Hi I'm trying to create a qemu virtual machine that runs windows 10. I
would like to try to make it almost indistinguishable from a real computer
(I know it's impossible, but at least I get close). I have already changed
any suspicious identifiers (smbios, hard disk, card network and so on,
host-passthroug cpu etc.) But now checking the various components that the
guest computer recognizes, I realized (through the hwinfo64 program) that
in the bus section, then pcibus there are devices called "Red Hat , Device
ID "and with the same devicename, as device class have:" PCI-to-PCI Bridge
". Is there a way to change the devicename of these virtual compontents
(maybe even changing the qemu source)?

[-- Attachment #2: Type: text/html, Size: 909 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Overriding PCI Vendor/Device IDs
  2020-06-21  7:31 Antonio Raffaele
@ 2020-06-23 15:02 ` Stefan Hajnoczi
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Hajnoczi @ 2020-06-23 15:02 UTC (permalink / raw)
  To: Antonio Raffaele; +Cc: Julia Suvorova, qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1111 bytes --]

On Sun, Jun 21, 2020 at 09:31:30AM +0200, Antonio Raffaele wrote:
> Hi I'm trying to create a qemu virtual machine that runs windows 10. I
> would like to try to make it almost indistinguishable from a real computer
> (I know it's impossible, but at least I get close). I have already changed
> any suspicious identifiers (smbios, hard disk, card network and so on,
> host-passthroug cpu etc.) But now checking the various components that the
> guest computer recognizes, I realized (through the hwinfo64 program) that
> in the bus section, then pcibus there are devices called "Red Hat , Device
> ID "and with the same devicename, as device class have:" PCI-to-PCI Bridge
> ". Is there a way to change the devicename of these virtual compontents
> (maybe even changing the qemu source)?

As far as I know there is no command-line parameter for overriding PCI
Vendor/Device IDs.

If you are able to modify the QEMU source code you can change the
PCIDeviceClass fields. For example, in hw/pci-bridge/pci_bridge_dev.c:

  k->vendor_id = PCI_VENDOR_ID_REDHAT;
  k->device_id = PCI_DEVICE_ID_REDHAT_BRIDGE;

Stefan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-23 15:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-21  7:31 Antonio Raffaele
2020-06-23 15:02 ` Overriding PCI Vendor/Device IDs Stefan Hajnoczi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.