aboutsummaryrefslogtreecommitdiff
path: root/hw/scsi/mpi.h
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2023-12-01 15:25:19 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2023-12-22 22:25:21 +0300
commit64537ff11f0078bc3d2e63ea36f4a17adb124286 (patch)
tree8f4bb6f1dcfb9cf8cef3bd3a0e1b8cf9fdbf3aec /hw/scsi/mpi.h
parente2e01b3a771faded6fbc87d0eeca9612d3f0447b (diff)
vl: Improve error message for conflicting -incoming and -loadvm
Currently, the conflict between -incoming and -loadvm is only detected when loading the snapshot fails because the image is still inactive for the incoming migration. This results in a suboptimal error message: $ ./qemu-system-x86_64 -hda /tmp/test.qcow2 -loadvm foo -incoming defer qemu-system-x86_64: Device 'ide0-hd0' is writable but does not support snapshots Catch the situation already in qemu_validate_options() to improve the message: $ ./qemu-system-x86_64 -hda /tmp/test.qcow2 -loadvm foo -incoming defer qemu-system-x86_64: 'incoming' and 'loadvm' options are mutually exclusive Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-ID: <20231201142520.32255-3-kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com> (cherry picked from commit 5a7f21efaf99c60614fe1967be1c0f9aa46c526e) Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/scsi/mpi.h')
0 files changed, 0 insertions, 0 deletions