From 9f54119bdf8b68482bc8f7437edd04e58ba6be44 Mon Sep 17 00:00:00 2001 From: Max Bruning Date: Thu, 11 Aug 2011 02:23:38 -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 b963eb0..b223119 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 || pfn == 0xffffffffffffffff); + return (pfn == bad_pfn || pfn == PFN_INVALID); } static unsigned long -- cgit v1.2.3