Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP1:GA
libvirt.11425
dfc56964-remove-virQEMUCapsSetSEVCapabilities.p...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dfc56964-remove-virQEMUCapsSetSEVCapabilities.patch of Package libvirt.11425
commit dfc5696492b16d50675d78de28999e8c78832582 Author: Ján Tomko <jtomko@redhat.com> Date: Tue Jun 12 13:38:29 2018 +0200 remove virQEMUCapsSetSEVCapabilities It is only used in one place. Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Brijesh Singh <brijesh.singh@amd.com> Tested-by: Brijesh Singh <brijesh.singh@amd.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Index: libvirt-4.0.0/src/qemu/qemu_capabilities.c =================================================================== --- libvirt-4.0.0.orig/src/qemu/qemu_capabilities.c +++ libvirt-4.0.0/src/qemu/qemu_capabilities.c @@ -2808,16 +2808,6 @@ virQEMUCapsSetGICCapabilities(virQEMUCap } -void -virQEMUCapsSetSEVCapabilities(virQEMUCapsPtr qemuCaps, - virSEVCapability *capabilities) -{ - virSEVCapabilitiesFree(qemuCaps->sevCapabilities); - - qemuCaps->sevCapabilities = capabilities; -} - - virSEVCapabilityPtr virQEMUCapsGetSEVCapabilities(virQEMUCapsPtr qemuCaps) { @@ -3341,8 +3331,8 @@ virQEMUCapsProbeQMPSEVCapabilities(virQE if (qemuMonitorGetSEVCapabilities(mon, &caps) < 0) return -1; - virQEMUCapsSetSEVCapabilities(qemuCaps, caps); - + virSEVCapabilitiesFree(qemuCaps->sevCapabilities); + qemuCaps->sevCapabilities = caps; return 0; }
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