Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
libvirt.6841
8599aedd-libvirt-guests-dom0-filter.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 8599aedd-libvirt-guests-dom0-filter.patch of Package libvirt.6841
commit 8599aedd434a2843dca7fae37bd397f07a584c1a Author: Jim Fehlig <jfehlig@suse.com> Date: Fri Dec 15 15:28:49 2017 -0700 Improve filtering of Xen domain0 in libvirt-guests The list_guests function in libvirt-guests uses 'grep -v' to filter Xen domain0 from a list of guests. If domain0 is the only item in the list, 'grep -v' returns 1, causing the 'stop' operation to fail when action is 'suspend'. Improve the filtering by using sed to remove domain0 from the list of guests. Index: libvirt-2.0.0/tools/libvirt-guests.sh.in =================================================================== --- libvirt-2.0.0.orig/tools/libvirt-guests.sh.in +++ libvirt-2.0.0/tools/libvirt-guests.sh.in @@ -121,7 +121,7 @@ list_guests() { return 1 fi - echo "$list" | grep -v 00000000-0000-0000-0000-000000000000 + echo "$list" | sed "/00000000-0000-0000-0000-000000000000/d" } # guest_name URI UUID
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor