All of lore.kernel.org
 help / color / mirror / Atom feed
* [Q] why is DIRECT_PCI_STR_LEN 160?
@ 2008-10-10  9:15 Akio Takebe
  0 siblings, 0 replies; only message in thread
From: Akio Takebe @ 2008-10-10  9:15 UTC (permalink / raw)
  To: xen-devel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-10  9:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-10  9:15 [Q] why is DIRECT_PCI_STR_LEN 160? Akio Takebe

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.