projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50df6f7
)
common/domain: do not rely on the assumption that guest_type_pv has the value 0
author
Andrew Cooper
<andrew.cooper3@citrix.com>
Wed, 28 May 2014 07:51:46 +0000
(09:51 +0200)
committer
Jan Beulich
<jbeulich@suse.com>
Wed, 28 May 2014 07:51:46 +0000
(09:51 +0200)
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/common/domain.c
patch
|
blob
|
history
diff --git
a/xen/common/domain.c
b/xen/common/domain.c
index dc1813915d298fe27b3519f598dee4311f665df8..bc57174ba19fde7ad5aa13ddb660a6ac8e07fab0 100644
(file)
--- a/
xen/common/domain.c
+++ b/
xen/common/domain.c
@@
-286,6
+286,8
@@
struct domain *domain_create(
d->guest_type = guest_type_hvm;
else if ( domcr_flags & DOMCRF_pvh )
d->guest_type = guest_type_pvh;
+ else
+ d->guest_type = guest_type_pv;
if ( domid == 0 || domid == hardware_domid )
{