diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2024-09-17 18:00:49 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-10-17 12:30:21 +0200 |
commit | 7d7b9c7655a26e09c800ef40373078a80e90d9f3 (patch) | |
tree | d0892d79e8633f89372df05410a51105f904a233 /scripts | |
parent | bbf3810f2c4f97bd7a1982d3e0ff0f00295b8169 (diff) | |
download | qemu-7d7b9c7655a26e09c800ef40373078a80e90d9f3.zip qemu-7d7b9c7655a26e09c800ef40373078a80e90d9f3.tar.gz qemu-7d7b9c7655a26e09c800ef40373078a80e90d9f3.tar.bz2 |
target/i386: Exclude 'hv-syndbg' from 'hv-passthrough'
Windows with Hyper-V role enabled doesn't boot with 'hv-passthrough' when
no debugger is configured, this significantly limits the usefulness of the
feature as there's no support for subtracting Hyper-V features from CPU
flags at this moment (e.g. "-cpu host,hv-passthrough,-hv-syndbg" does not
work). While this is also theoretically fixable, 'hv-syndbg' is likely
very special and unneeded in the default set. Genuine Hyper-V doesn't seem
to enable it either.
Introduce 'skip_passthrough' flag to 'kvm_hyperv_properties' and use it as
one-off to skip 'hv-syndbg' when enabling features in 'hv-passthrough'
mode. Note, "-cpu host,hv-passthrough,hv-syndbg" can still be used if
needed.
As both 'hv-passthrough' and 'hv-syndbg' are debug features, the change
should not have any effect on production environments.
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Link: https://lore.kernel.org/r/20240917160051.2637594-3-vkuznets@redhat.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions