From: Stefano Stabellini Subject: [PATCH 0/2] restrict the privilege of the xenstore connection Date: Mon, 1 Jun 2015 16:46:37 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org To: qemu-devel@nongnu.org Cc: xen-devel@lists.xensource.com, Ian Jackson , Ian Campbell , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org Hi all, this patch series introduces a new command line option to restrict the privilege of the xenstore connection. Used together with -runas, can help secure the execution of QEMU in Dom0. Stefano Stabellini (2): xen: separate the xenstore_record_dm_state calls for pv and hvm machines xen: introduce xsrestrict hw/xenpv/xen_machine_pv.c | 11 +++++++++++ include/hw/xen/xen.h | 4 ++++ qemu-options.hx | 15 +++++++++++++++ vl.c | 8 ++++++++ xen-common-stub.c | 6 ++++++ xen-common.c | 15 +-------------- xen-hvm.c | 38 ++++++++++++++++++++++++++++++-------- 7 files changed, 75 insertions(+), 22 deletions(-) Cheers, Stefano