[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH 9/9] vpci/header: Use pdev's domain instead of vCPU
From: Rahul Singh <rahul.singh@xxxxxxx> Fixes: 9c244fdef7e7 ("vpci: add header handlers") Signed-off-by: Rahul Singh <rahul.singh@xxxxxxx> Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@xxxxxxxx> --- xen/drivers/vpci/header.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/drivers/vpci/header.c b/xen/drivers/vpci/header.c index dac973368b1e..688c69acbc23 100644 --- a/xen/drivers/vpci/header.c +++ b/xen/drivers/vpci/header.c @@ -157,7 +157,7 @@ bool vpci_process_pending(struct vcpu *v) if ( v->vpci.num_mem_ranges ) { struct map_data data = { - .d = v->domain, + .d = v->vpci.pdev->domain, .map = v->vpci.cmd & PCI_COMMAND_MEMORY, }; struct pci_dev *pdev = v->vpci.pdev; -- 2.25.1
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |