Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: a3fd781f653db4dc76635715207c9029208634bd https://github.com/qemu/qemu/commit/a3fd781f653db4dc76635715207c9029208634bd Author: Olaf Hering <o...@aepfle.de> Date: 2017-09-20 (Wed, 20 Sep 2017)
Changed paths: M hw/block/xen_disk.c Log Message: ----------- xen-disk: use g_new0 to fix build g_malloc0_n is available since glib-2.24. To allow build with older glib versions use the generic g_new0, which is already used in many other places in the code. Fixes commit 3284fad728 ("xen-disk: add support for multi-page shared rings") Signed-off-by: Olaf Hering <o...@aepfle.de> Reviewed-by: Stefano Stabellini <sstabell...@kernel.org> Signed-off-by: Stefano Stabellini <sstabell...@kernel.org> Commit: a8036336609d2e184fc3543a4c439c0ba7d7f3a2 https://github.com/qemu/qemu/commit/a8036336609d2e184fc3543a4c439c0ba7d7f3a2 Author: Roger Pau Monne <roger....@citrix.com> Date: 2017-09-20 (Wed, 20 Sep 2017) Changed paths: M hw/xen/xen_pt.h M hw/xen/xen_pt_config_init.c M hw/xen/xen_pt_msi.c Log Message: ----------- xen/pt: allow QEMU to request MSI unmasking at bind time When a MSI interrupt is bound to a guest using xc_domain_update_msi_irq (XEN_DOMCTL_bind_pt_irq) the interrupt is left masked by default. This causes problems with guests that first configure interrupts and clean the per-entry MSIX table mask bit and afterwards enable MSIX globally. In such scenario the Xen internal msixtbl handlers would not detect the unmasking of MSIX entries because vectors are not yet registered since MSIX is not enabled, and vectors would be left masked. Introduce a new flag in the gflags field to signal Xen whether a MSI interrupt should be unmasked after being bound. This also requires to track the mask register for MSI interrupts, so QEMU can also notify to Xen whether the MSI interrupt should be bound masked or unmasked Signed-off-by: Roger Pau Monné <roger....@citrix.com> Reviewed-by: Jan Beulich <jbeul...@suse.com> Reported-by: Andreas Kinzler <h...@posteo.de> Reviewed-by: Stefano Stabellini <sstabell...@kernel.org> Signed-off-by: Stefano Stabellini <sstabell...@kernel.org> Commit: 211ad3b412fe1b8edcb7db0bb97e766a39b2be14 https://github.com/qemu/qemu/commit/211ad3b412fe1b8edcb7db0bb97e766a39b2be14 Author: Peter Maydell <peter.mayd...@linaro.org> Date: 2017-09-21 (Thu, 21 Sep 2017) Changed paths: M hw/block/xen_disk.c M hw/xen/xen_pt.h M hw/xen/xen_pt_config_init.c M hw/xen/xen_pt_msi.c Log Message: ----------- Merge remote-tracking branch 'remotes/sstabellini/tags/xen-20170920-tag' into staging Xen 2017/09/20 # gpg: Signature made Thu 21 Sep 2017 03:20:02 BST # gpg: using RSA key 0x894F8F4870E1AE90 # gpg: Good signature from "Stefano Stabellini <stefano.stabell...@eu.citrix.com>" # gpg: aka "Stefano Stabellini <sstabell...@kernel.org>" # Primary key fingerprint: D04E 33AB A51F 67BA 07D3 0AEA 894F 8F48 70E1 AE90 * remotes/sstabellini/tags/xen-20170920-tag: xen/pt: allow QEMU to request MSI unmasking at bind time xen-disk: use g_new0 to fix build Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Compare: https://github.com/qemu/qemu/compare/b62b7ed0fc9c...211ad3b412fe