[PATCH v1 03/10] qemu_driver.c: use g_autoptr() with virDomainDeviceDefPtr