]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - hw/ide/core.c
Improve vm_stop reason declarations
[thirdparty/qemu.git] / hw / ide / core.c
index dd63664c0defd4ef413be4a9a1356075fb94dd5b..9c91a497678c4a7c8b54b6dcadbbd8852bfbd075 100644 (file)
@@ -465,7 +465,7 @@ static int ide_handle_rw_error(IDEState *s, int error, int op)
         s->bus->dma->ops->set_unit(s->bus->dma, s->unit);
         s->bus->dma->ops->add_status(s->bus->dma, op);
         bdrv_mon_event(s->bs, BDRV_ACTION_STOP, is_read);
-        vm_stop(0);
+        vm_stop(VMSTOP_DISKFULL);
     } else {
         if (op & BM_STATUS_DMA_RETRY) {
             dma_buf_commit(s, 0);