From eaab4d60d3ad908936564492862e8a84f5fa59b2 Mon Sep 17 00:00:00 2001 From: Allen Kay Date: Thu, 21 Jun 2012 15:40:09 +0000 Subject: Introduce Xen PCI Passthrough, qdevice A more complete history can be found here: git://xenbits.xensource.com/qemu-xen-unstable.git Signed-off-by: Allen Kay Signed-off-by: Guy Zana Signed-off-by: Anthony PERARD Acked-by: Stefano Stabellini --- xen-all.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'xen-all.c') diff --git a/xen-all.c b/xen-all.c index b5220cc6a3..59f232395e 100644 --- a/xen-all.c +++ b/xen-all.c @@ -1191,3 +1191,15 @@ void xen_register_framebuffer(MemoryRegion *mr) { framebuffer = mr; } + +void xen_shutdown_fatal_error(const char *fmt, ...) +{ + va_list ap; + + va_start(ap, fmt); + vfprintf(stderr, fmt, ap); + va_end(ap); + fprintf(stderr, "Will destroy the domain.\n"); + /* destroy the domain */ + qemu_system_shutdown_request(); +} -- cgit v1.2.1