diff --git a/lib/device/device_id.c b/lib/device/device_id.c index ffeac3064..87a46a73a 100644 --- a/lib/device/device_id.c +++ b/lib/device/device_id.c @@ -312,6 +312,10 @@ const char *device_id_system_read(struct cmd_context *cmd, struct device *dev, u /* scsi_debug wwid begins "t10.Linux scsi_debug ..." */ if (strstr(sysbuf, "scsi_debug")) sysbuf[0] = '\0'; + + /* qemu wwid begins "t10.ATA QEMU HARDDISK ..." */ + if (strstr(sysbuf, "QEMU HARDDISK")) + sysbuf[0] = '\0'; } else if (idtype == DEV_ID_TYPE_SYS_SERIAL)