- bnc#636231 - XEN: Unable to disconnect/remove CDROM drive from VM
xend-devid-or-name.patch - Upstream patches from Jan 22019-x86-cpuidle-online-check.patch 22051-x86-forced-EOI.patch 22067-x86-irq-domain.patch 22068-vtd-irte-RH-bit.patch 22071-ept-get-entry-lock.patch 22084-x86-xsave-off.patch - bnc#638465 - hypervisor panic in memory handling heaplock.patch - Update to Xen 4.0.1. This is a bug fix release. OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=73
This commit is contained in:
committed by
Git OBS Bridge
parent
54d3fda8bf
commit
eeeeaf88a6
10
block-dmmd
10
block-dmmd
@@ -98,9 +98,9 @@ function activate_lvm ()
|
||||
{
|
||||
# First scan for PVs and VGs; we may then have to activate the VG
|
||||
# first, but can ignore errors:
|
||||
/sbin/pvscan || :
|
||||
/sbin/vgscan --mknodes || :
|
||||
/sbin/vgchange -ay ${1%/*} || :
|
||||
# /sbin/pvscan || :
|
||||
# /sbin/vgscan --mknodes || :
|
||||
# /sbin/vgchange -ay ${1%/*} || :
|
||||
/sbin/lvchange -ay $1
|
||||
return $?
|
||||
}
|
||||
@@ -110,9 +110,9 @@ function deactivate_lvm ()
|
||||
/sbin/lvchange -an $1
|
||||
if [ $? -eq 0 ]; then
|
||||
# We may have to deactivate the VG now, but can ignore errors:
|
||||
/sbin/vgchange -an ${1%/*} || :
|
||||
# /sbin/vgchange -an ${1%/*} || :
|
||||
# Maybe we need to cleanup the LVM cache:
|
||||
/sbin/vgscan --mknodes || :
|
||||
# /sbin/vgscan --mknodes || :
|
||||
return 0
|
||||
fi
|
||||
return 1
|
||||
|
Reference in New Issue
Block a user