pm-utils: Fix handling of HVM domains
`xl list` reports the PCI devies for the stub domain. But we want to call qubes.SuspendPre inside the domain itself.
This commit is contained in:
parent
d67af4bfd9
commit
e7f4fa9a5d
@ -6,7 +6,7 @@ get_running_netvms() {
|
|||||||
RUNNING_NETVMS=""
|
RUNNING_NETVMS=""
|
||||||
for VM in $RUNNING_VMS; do
|
for VM in $RUNNING_VMS; do
|
||||||
if [ -n "`xl pci-list $VM|tail -n +2`" ]; then
|
if [ -n "`xl pci-list $VM|tail -n +2`" ]; then
|
||||||
echo "$VM"
|
echo "${VM%-dm}"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user