mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-23 21:15:20 +00:00
qemu_process: sev: Drop an unused variable
Signed-off-by: Erik Skultety <eskultet@redhat.com> Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
This commit is contained in:
parent
da20178709
commit
649f720a9a
@ -6394,9 +6394,8 @@ static int
|
|||||||
qemuProcessPrepareSEVGuestInput(virDomainObjPtr vm)
|
qemuProcessPrepareSEVGuestInput(virDomainObjPtr vm)
|
||||||
{
|
{
|
||||||
qemuDomainObjPrivatePtr priv = vm->privateData;
|
qemuDomainObjPrivatePtr priv = vm->privateData;
|
||||||
virDomainDefPtr def = vm->def;
|
|
||||||
virQEMUCapsPtr qemuCaps = priv->qemuCaps;
|
virQEMUCapsPtr qemuCaps = priv->qemuCaps;
|
||||||
virDomainSEVDefPtr sev = def->sev;
|
virDomainSEVDefPtr sev = vm->def->sev;
|
||||||
|
|
||||||
if (!sev)
|
if (!sev)
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user