From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Stabellini Subject: [PATCH v3 0/6] libxl: xs_restrict QEMU Date: Wed, 10 Jun 2015 11:07:59 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xensource.com Cc: Wei Liu , Ian Jackson , Ian Campbell , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org Hi all, this patch series changes libxl to start QEMU as device model with the new xsrestrict option (http://marc.info/?l=xen-devel&m=143341692707358). It also starts a second QEMU to provide PV backends in userspace (qdisk) to HVM guests. Changes in v3: - use LIBXL_TOOLSTACK_DOMID instead of 0 in the commit message - update commit message with more info on why it is safe - add a limit on the number of physmap entries to save and restore - add emulator_ids - mark patch #3 as WIP - use LIBXL_TOOLSTACK_DOMID instead of 0 in the commit message - change xs path to include the emulator_id - change qdisk-backend-pid path on xenstore - use dcs->dmss.pvqemu to spawn the second QEMU - keep track of the rc of both QEMUs before proceeding Stefano Stabellini (6): libxl: allow /local/domain/$LIBXL_TOOLSTACK_DOMID/device-model/$DOMID to be written by $DOMID libxl: do not add a vkb backend to hvm guests [WIP] libxl: xsrestrict QEMU libxl: change xs path for QEMU libxl: change qdisk-backend-pid path on xenstore libxl: spawns two QEMUs for HVM guests tools/libxl/libxl.c | 2 +- tools/libxl/libxl_create.c | 58 ++++++++++++++------- tools/libxl/libxl_device.c | 2 +- tools/libxl/libxl_dm.c | 114 +++++++++++++++++++++++++++++++++++++----- tools/libxl/libxl_dom.c | 17 ++++--- tools/libxl/libxl_internal.c | 19 +++++-- tools/libxl/libxl_internal.h | 15 ++++-- tools/libxl/libxl_pci.c | 14 +++--- tools/libxl/libxl_utils.c | 10 ++++ 9 files changed, 198 insertions(+), 53 deletions(-) Cheers, Stefano