WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [Q] why is DIRECT_PCI_STR_LEN 160?

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [Q] why is DIRECT_PCI_STR_LEN 160?
From: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Date: Fri, 10 Oct 2008 18:15:17 +0900
Delivery-date: Fri, 10 Oct 2008 02:15:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.16 (X11/20080723)
Hi,

Why is DIRECT_PCI_STR_LEN 160?
I'd like to know why the qemu says at the following point
"qemu: too many pci pass-through devices".


  #define DIRECT_PCI_STR_LEN 160
  char direct_pci_str[DIRECT_PCI_STR_LEN];
  void xenstore_parse_domain_config(int hvm_domid)
  {
[... snip ...]
              if ( strlen(dev) + strlen(direct_pci_str) > DIRECT_PCI_STR_LEN ) {
                  fprintf(stderr, "qemu: too many pci pass-through devices\n");
                  memset(direct_pci_str, 0, DIRECT_PCI_STR_LEN);
                  goto out;
              }

Best Regards,

Akio Takebe

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [Q] why is DIRECT_PCI_STR_LEN 160?, Akio Takebe <=