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

[Xen-devel] [PATCH] PCI device emulation for QEMU


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Shinji Matsumoto" <smatsumoto@xxxxxxxxxxxxxxxxxxxxxxxx>
  • Date: Wed, 18 Jun 2008 03:02:45 -0400
  • Delivery-date: Wed, 18 Jun 2008 00:03:08 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcjREU9ztPrJA+LUQNmctvB/zM9xLg==
  • Thread-topic: [PATCH] PCI device emulation for QEMU

Hi all,

This patch is an extension for qemu-dm to enable emulation of generic 
PCI devices. The information for the PCI devices can be passed by 
command line parameter.

The command line parameter is "-pciemulation" followed by the
information which contains a label and hex value of the configuration
registers separated by ":".

The configuration registers for each PCI device are below.
vendorid
deviceid
command
status
revision
classcode
headertype
subvendorid
subsystemid
interruputline
interruptpin

This is an example of command line parameter.

 -pciemulation hba1:1240:0780:0002:0:0:010000:0:10b5:0777:05:1

Signed-off-by: Shinji Matsumoto <smatsumoto@xxxxxxxxxxxxxxxxxxxxxxxx>

Attachment: qemu_pci_emulation.patch
Description: qemu_pci_emulation.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.