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

Remove deprecated -enable-hax option

Our command line interface is really quite overcrowded, we should avoid
duplicated options that do the same thing in just a slightly different
way. "-accel hax" is shorter and more generic that "-enable-hax", so
there is really no real usage for the latter option. "-enable-hax" has
been deprecated since two releases, and nobody complained so far, so
it's time to remove this now.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1544790073-23049-1-git-send-email-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

authored by

Thomas Huth and committed by
Paolo Bonzini
292fa230 e909ff93

-21
-5
qemu-deprecated.texi
··· 53 53 The @code{-clock} option is ignored since QEMU version 1.7.0. There is no 54 54 replacement since it is not needed anymore. 55 55 56 - @subsection -enable-hax (since 3.0.0) 57 - 58 - The @option{-enable-hax} option has been replaced by @option{-accel hax}. 59 - Both options have been introduced in QEMU version 2.9.0. 60 - 61 56 @subsection -drive file=json:@{...@{'driver':'file'@}@} (since 3.0) 62 57 63 58 The 'file' driver for drives is no longer appropriate for character or host
-11
qemu-options.hx
··· 3381 3381 if KVM support is enabled when compiling. 3382 3382 ETEXI 3383 3383 3384 - DEF("enable-hax", 0, QEMU_OPTION_enable_hax, \ 3385 - "-enable-hax enable HAX virtualization support\n", QEMU_ARCH_I386) 3386 - STEXI 3387 - @item -enable-hax 3388 - @findex -enable-hax 3389 - Enable HAX (Hardware-based Acceleration eXecution) support. This option 3390 - is only available if HAX support is enabled when compiling. HAX is only 3391 - applicable to MAC and Windows platform, and thus does not conflict with 3392 - KVM. This option is deprecated, use @option{-accel hax} instead. 3393 - ETEXI 3394 - 3395 3384 DEF("xen-domid", HAS_ARG, QEMU_OPTION_xen_domid, 3396 3385 "-xen-domid id specify xen guest domain id\n", QEMU_ARCH_ALL) 3397 3386 DEF("xen-attach", 0, QEMU_OPTION_xen_attach,
-5
vl.c
··· 3655 3655 olist = qemu_find_opts("machine"); 3656 3656 qemu_opts_parse_noisily(olist, "accel=kvm", false); 3657 3657 break; 3658 - case QEMU_OPTION_enable_hax: 3659 - warn_report("Option is deprecated, use '-accel hax' instead"); 3660 - olist = qemu_find_opts("machine"); 3661 - qemu_opts_parse_noisily(olist, "accel=hax", false); 3662 - break; 3663 3658 case QEMU_OPTION_M: 3664 3659 case QEMU_OPTION_machine: 3665 3660 olist = qemu_find_opts("machine");