qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

vl.c: error out if -mem-path is used together with -M memory-backend

the former is not actually used by explicit backend, so instead of
silently ignoring the option in non valid context, exit with error.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20200409134133.11339-1-imammedo@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

authored by

Igor Mammedov and committed by
Paolo Bonzini
1148e4f4 fb8a9677

+5
+5
softmmu/vl.c
··· 4315 4315 "explicitly specified 'memory-backend' property"); 4316 4316 exit(EXIT_FAILURE); 4317 4317 } 4318 + if (mem_path) { 4319 + error_report("'-mem-path' can't be used together with" 4320 + "'-machine memory-backend'"); 4321 + exit(EXIT_FAILURE); 4322 + } 4318 4323 ram_size = backend_size; 4319 4324 } 4320 4325