[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH RESEND 1/3] xen: Add the Xen platform pci device
From: |
Michael S. Tsirkin |
Subject: |
Re: [Qemu-devel] [PATCH RESEND 1/3] xen: Add the Xen platform pci device |
Date: |
Sun, 26 Jun 2011 16:14:16 +0300 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, Jun 16, 2011 at 05:05:17PM +0100, address@hidden wrote:
> diff --git a/hw/pci_ids.h b/hw/pci_ids.h
> index d9457ed..d94578c 100644
> --- a/hw/pci_ids.h
> +++ b/hw/pci_ids.h
> @@ -109,3 +109,5 @@
> #define PCI_DEVICE_ID_INTEL_82371AB 0x7111
> #define PCI_DEVICE_ID_INTEL_82371AB_2 0x7112
> #define PCI_DEVICE_ID_INTEL_82371AB_3 0x7113
> +
> +#define PCI_VENDOR_ID_XENSOURCE 0x5853
Please stick to names in include/linux/pci_ids.h
in the linux tree.
$ grep XEN /scm/linux-2.6/include/linux/pci_ids.h
#define PCI_VENDOR_ID_NETXEN 0x4040
#define PCI_VENDOR_ID_XEN 0x5853
#define PCI_DEVICE_ID_XEN_PLATFORM 0x0001
> diff --git a/hw/xen_platform.c b/hw/xen_platform.c
> new file mode 100644
> index 0000000..b167eee
...
> +
> + pci_config_set_vendor_id(pci_conf, PCI_VENDOR_ID_XENSOURCE);
> + pci_config_set_device_id(pci_conf, 0x0001);
PCI_DEVICE_ID_XEN_PLATFORM
> + pci_set_word(pci_conf + PCI_SUBSYSTEM_VENDOR_ID,
> PCI_VENDOR_ID_XENSOURCE);
> + pci_set_word(pci_conf + PCI_SUBSYSTEM_ID, 0x0001);
Same.
- Re: [Qemu-devel] [Xen-devel] [PATCH 3/3] xen: implement unplug protocol in xen_platform, (continued)
- Re: [Qemu-devel] [Xen-devel] [PATCH 3/3] xen: implement unplug protocol in xen_platform, Anthony PERARD, 2011/06/17
- Re: [Qemu-devel] [PATCH 3/3] xen: implement unplug protocol in xen_platform, Michael S. Tsirkin, 2011/06/20
- Message not available
- Re: [Qemu-devel] [PATCH 3/3] xen: implement unplug protocol in xen_platform, Kevin Wolf, 2011/06/20
- Re: [Qemu-devel] [PATCH 3/3] xen: implement unplug protocol in xen_platform, Stefano Stabellini, 2011/06/23
- Re: [Qemu-devel] [PATCH 3/3] xen: implement unplug protocol in xen_platform, Kevin Wolf, 2011/06/27
- Re: [Qemu-devel] [PATCH 3/3] xen: implement unplug protocol in xen_platform, Stefano Stabellini, 2011/06/27
- Re: [Qemu-devel] [PATCH 3/3] xen: implement unplug protocol in xen_platform, Kevin Wolf, 2011/06/27
- Re: [Qemu-devel] [PATCH 3/3] xen: implement unplug protocol in xen_platform, Stefano Stabellini, 2011/06/28
[Qemu-devel] [PATCH RESEND 1/3] xen: Add the Xen platform pci device, stefano.stabellini, 2011/06/16
- Re: [Qemu-devel] [PATCH RESEND 1/3] xen: Add the Xen platform pci device,
Michael S. Tsirkin <=
[Qemu-devel] [PATCH 2/3] pci: export pci_unplug_device, stefano.stabellini, 2011/06/16