[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] common/domain: do not rely on the assumption that guest_type_pv has the value 0
commit 84c4a1f62b0505026e9846bf707ba3de15109834 Author: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> AuthorDate: Wed May 28 09:51:46 2014 +0200 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Wed May 28 09:51:46 2014 +0200 common/domain: do not rely on the assumption that guest_type_pv has the value 0 Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> --- xen/common/domain.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/xen/common/domain.c b/xen/common/domain.c index dc18139..bc57174 100644 --- 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 ) { -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |