]> git.proxmox.com Git - qemu.git/blobdiff - hw/ide/core.c
Allow machines to configure the QEMU_VERSION that's exposed via hardware
[qemu.git] / hw / ide / core.c
index f28229a19378cf1307519159f39f9aa7ed215647..71d4d7732a9b7f12679023fcb9ecbc37359141ef 100644 (file)
@@ -1995,7 +1995,7 @@ int ide_init_drive(IDEState *s, BlockDriverState *bs, IDEDriveKind kind,
     if (version) {
         pstrcpy(s->version, sizeof(s->version), version);
     } else {
-        pstrcpy(s->version, sizeof(s->version), QEMU_VERSION);
+        pstrcpy(s->version, sizeof(s->version), qemu_get_version());
     }
 
     ide_reset(s);