summaryrefslogtreecommitdiff
path: root/sysutils/xen-tools/files/xsa139-qemuu-4.5.patch
diff options
context:
space:
mode:
authorRoger Pau Monné <royger@FreeBSD.org>2015-11-14 09:27:31 +0000
committerRoger Pau Monné <royger@FreeBSD.org>2015-11-14 09:27:31 +0000
commit9da11fae5635a37a9ddffaf4d748819929f75cfc (patch)
tree98cdd042aca2818e51c414d6af54d4b42d4875e5 /sysutils/xen-tools/files/xsa139-qemuu-4.5.patch
parent- Switch to options helpers (diff)
xen: update to 4.5.2
...and add XSA-156. Sponsored by: Citrix Systems R&D Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D4150
Notes
Notes: svn path=/head/; revision=401564
Diffstat (limited to 'sysutils/xen-tools/files/xsa139-qemuu-4.5.patch')
-rw-r--r--sysutils/xen-tools/files/xsa139-qemuu-4.5.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/sysutils/xen-tools/files/xsa139-qemuu-4.5.patch b/sysutils/xen-tools/files/xsa139-qemuu-4.5.patch
deleted file mode 100644
index 70ea0661d43a..000000000000
--- a/sysutils/xen-tools/files/xsa139-qemuu-4.5.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-pci_piix3_xen_ide_unplug should completely unhook the unplugged
-IDEDevice from the corresponding BlockBackend, otherwise the next call
-to release_drive will try to detach the drive again.
-
-Suggested-by: Kevin Wolf <kwolf@redhat.com>
-Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
----
- hw/ide/piix.c | 7 +++++++
- 1 file changed, 7 insertions(+)
-
-diff --git a/hw/ide/piix.c b/hw/ide/piix.c
-index 40757eb..0524dce 100644
---- a/hw/ide/piix.c
-+++ b/hw/ide/piix.c
-@@ -172,6 +172,7 @@ int pci_piix3_xen_ide_unplug(DeviceState *dev)
- PCIIDEState *pci_ide;
- DriveInfo *di;
- int i = 0;
-+ IDEDevice *idedev;
-
- pci_ide = PCI_IDE(dev);
-
-@@ -184,6 +185,12 @@ int pci_piix3_xen_ide_unplug(DeviceState *dev)
- }
- bdrv_close(di->bdrv);
- pci_ide->bus[di->bus].ifs[di->unit].bs = NULL;
-+ if (!(i % 2)) {
-+ idedev = pci_ide->bus[di->bus].master;
-+ } else {
-+ idedev = pci_ide->bus[di->bus].slave;
-+ }
-+ idedev->conf.bs = NULL;
- drive_put_ref(di);
- }
- }
---
-2.1.4
-