On Mon, Jun 18, 2018 at 09:20 AM +0200, Erik Skultety <eskul...@redhat.com> wrote: > Since it's being called with QEMU_ASYNC_JOB_NONE which is what > qemuDomainObjEnterMonitor is going to use with the internal helper, > let's use that one instead. > > Signed-off-by: Erik Skultety <eskul...@redhat.com> > --- > src/qemu/qemu_driver.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c > index 42069ee617..fd25eb1b0b 100644 > --- a/src/qemu/qemu_driver.c > +++ b/src/qemu/qemu_driver.c > @@ -21511,9 +21511,7 @@ qemuDomainGetSEVMeasurement(virQEMUDriverPtr driver, > if (qemuDomainObjBeginJob(driver, vm, QEMU_JOB_QUERY) < 0) > return -1; > > - if (qemuDomainObjEnterMonitorAsync(driver, vm, QEMU_ASYNC_JOB_NONE) < 0) > - goto endjob; > - > + qemuDomainObjEnterMonitor(driver, vm); > tmp = qemuMonitorGetSEVMeasurement(QEMU_DOMAIN_PRIVATE(vm)->mon); > if (tmp == NULL) > goto endjob; > -- > 2.14.4 > > -- > libvir-list mailing list > libvir-list@redhat.com > https://www.redhat.com/mailman/listinfo/libvir-list >
Reviewed-by: Marc Hartmayer <mhart...@linux.ibm.com> -- Beste Grüße / Kind regards Marc Hartmayer IBM Deutschland Research & Development GmbH Vorsitzende des Aufsichtsrats: Martina Koederitz Geschäftsführung: Dirk Wittkopp Sitz der Gesellschaft: Böblingen Registergericht: Amtsgericht Stuttgart, HRB 243294 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list