diff --git a/hw/ide.c b/hw/ide.c index 8a1957831d08a9ecc5602ee4053fe1e4db8a887b..9f217cc574df60d9e570fb4698cd60c71c8a1be6 100644 --- a/hw/ide.c +++ b/hw/ide.c @@ -1603,7 +1603,9 @@ static void ide_atapi_cmd(IDEState *s) buf[10] = 0x00; buf[11] = 0x00; - buf[12] = 0x70; + /* Claim PLAY_AUDIO capability (0x01) since some Linux + code checks for this to automount media. */ + buf[12] = 0x71; buf[13] = 3 << 5; buf[14] = (1 << 0) | (1 << 3) | (1 << 5); if (bdrv_is_locked(s->bs))