Skip to content

Commit 917e3e6

Browse files
committed
xen-pcifront: Update warning comment to use 'e820_host' option.
With Xen changeset 23428 "libxl: Add 'e820_host' option to config file" the E820 as seen from the host can now be passed into the guest. This means that a PV guest can now: - Use the correct PCI I/O gap. Before these patches, Linux guest would boot up and would tell: [ 0.000000] Allocating PCI resources starting at 40000000 (gap: 40000000:c0000000) while in actuality the PCI I/O gap should have been: [ 0.000000] Allocating PCI resources starting at b0000000 (gap: b0000000:4c000000) - The PV domain with PCI devices was limited to 3GB. It now can be booted with 4GB, 8GB, or whatever number you want. The PCI devices will now _not_ conflict with System RAM. Meaning the drivers can load. CC: Jesse Barnes <[email protected]> CC: [email protected] CC: [email protected] [v2: Made the string less broken up. Suggested by Joe Perches] Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
1 parent 02f8c6a commit 917e3e6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

drivers/pci/xen-pcifront.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -400,9 +400,8 @@ static int pcifront_claim_resource(struct pci_dev *dev, void *data)
400400
dev_info(&pdev->xdev->dev, "claiming resource %s/%d\n",
401401
pci_name(dev), i);
402402
if (pci_claim_resource(dev, i)) {
403-
dev_err(&pdev->xdev->dev, "Could not claim "
404-
"resource %s/%d! Device offline. Try "
405-
"giving less than 4GB to domain.\n",
403+
dev_err(&pdev->xdev->dev, "Could not claim resource %s/%d! "
404+
"Device offline. Try using e820_host=1 in the guest config.\n",
406405
pci_name(dev), i);
407406
}
408407
}

0 commit comments

Comments
 (0)