and affects the release of related objects.
So, memory_region_ref/unref() is moved f
rom xen_pt_region_add/del to xen_pt_region_update.
Signed-off-by: Jianzhong,Chang
---
hw/xen/xen_pt.c | 16 +++-
1 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/hw/xen/xen_pt.c b/hw/xen/xen
ase of related objects.
So, memory_region_ref/unref() is moved from
xen_pt_region_add/del to xen_pt_region_update.
Signed-off-by: Jianzhong,Chang
---
hw/xen/xen_pt.c | 13 -
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/hw/xen/xen_pt.c b/hw/xen/xen
n_update() checks it but memory_region_ref/unref() does not.
This case causes obj->ref issue and affects the release of related objects.
So, memory_region_ref/unref() is moved from
xen_pt_region_add/del inside xen_pt_region_update.
Signed-off-by: Jianzhong,Chang
---
hw/xen/xen_pt.c | 10
From: jianzhong,Chang
Add pci = [ '$VF_BDF', '$VF_BDF', '$VF_BDF'] in
hvm guest configuration file. After the guest boot up,
detach the VFs in sequence by "xl pci-detach $DOMID $VF_BDF",
reattach the VFs by "xl pci-attach $VF_BDF" in sequence.
A