From 28e4f7d030d01bbe557f70efc89c78bae827822a Mon Sep 17 00:00:00 2001 From: Max Bruning Date: Wed, 10 Aug 2011 07:05:46 -0700 Subject: HVM-553 Qemu isn't cleaning up properly on kvm_run failure with errno 22 (EINVAL) --- kvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kvm.c b/kvm.c index 5fc7599..b963eb0 100644 --- a/kvm.c +++ b/kvm.c @@ -991,7 +991,7 @@ kvm_disable_largepages(void) int is_error_pfn(pfn_t pfn) { - return (pfn == bad_pfn); + return (pfn == bad_pfn || pfn == 0xffffffffffffffff); } static unsigned long -- cgit v1.2.3