Limit Dispvm to 1 vcpu
Because a restored domain with multiple cpus, ehrrm, hardly works, at least with current Xen+kernel combination.
This commit is contained in:
parent
68ebe12cb1
commit
4401c5a2cb
@ -30,7 +30,9 @@ fi
|
||||
DVMTMPL="$TEMPLATENAME"-dvm
|
||||
DVMTMPLDIR="/var/lib/qubes/appvms/$DVMTMPL"
|
||||
if ! [ -d "$DVMTMPLDIR" ] ; then
|
||||
if ! qvm-create -t "$TEMPLATENAME" -l gray "$DVMTMPL" ; then exit 1 ; fi
|
||||
# unfortunately, currently there are reliability issues with save of a domain
|
||||
# with multiple CPUs
|
||||
if ! qvm-create --vcpus=1 -t "$TEMPLATENAME" -l gray "$DVMTMPL" ; then exit 1 ; fi
|
||||
fi
|
||||
if ! /usr/lib/qubes/qubes_prepare_saved_domain.sh \
|
||||
"$DVMTMPL" "/var/lib/qubes/appvms/$DVMTMPL/dvm-savefile" $SCRIPTNAME ; then
|
||||
|
Loading…
Reference in New Issue
Block a user