diff options
-rw-r--r-- | src/qemu/qemu_process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c index 2d92d66a0..ac9496156 100644 --- a/src/qemu/qemu_process.c +++ b/src/qemu/qemu_process.c @@ -193,7 +193,7 @@ qemuFindAgentConfig(virDomainDefPtr def) if (channel->targetType != VIR_DOMAIN_CHR_CHANNEL_TARGET_TYPE_VIRTIO) continue; - if (STREQ(channel->target.name, "org.qemu.guest_agent.0")) { + if (STREQ_NULLABLE(channel->target.name, "org.qemu.guest_agent.0")) { config = &channel->source; break; } |