summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Bruning <max@joyent.com>2011-08-11 02:23:38 -0700
committerMax Bruning <max@joyent.com>2011-08-11 02:23:38 -0700
commit9f54119bdf8b68482bc8f7437edd04e58ba6be44 (patch)
tree7e66afe3647881be3bfb4ada09a5fafbc426d301
parent28e4f7d030d01bbe557f70efc89c78bae827822a (diff)
downloadillumos-kvm-9f54119bdf8b68482bc8f7437edd04e58ba6be44.tar.gz
HVM-553 Qemu isn't cleaning up properly on kvm_run failure with errno 22 (EINVAL)
-rw-r--r--kvm.c2
1 files changed, 1 insertions, 1 deletions
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