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

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



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


 


Rackspace

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