[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/7] hw/boards: Introduce 'kvm_supported' field to MachineCla
From: |
Daniel P . Berrangé |
Subject: |
Re: [PATCH 2/7] hw/boards: Introduce 'kvm_supported' field to MachineClass |
Date: |
Fri, 19 Feb 2021 11:57:57 +0000 |
User-agent: |
Mutt/2.0.5 (2021-01-21) |
On Fri, Feb 19, 2021 at 12:44:23PM +0100, Philippe Mathieu-Daudé wrote:
> Introduce the 'kvm_supported' field to express whether
> a machine supports KVM acceleration or not.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
> include/hw/boards.h | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/include/hw/boards.h b/include/hw/boards.h
> index 68d3d10f6b0..0959aa743ee 100644
> --- a/include/hw/boards.h
> +++ b/include/hw/boards.h
> @@ -129,6 +129,8 @@ typedef struct {
> * Return the type of KVM corresponding to the kvm-type string option or
> * computed based on other criteria such as the host kernel capabilities
> * (which can't be negative), or -1 on error.
> + * @kvm_supported:
> + * true if '-enable-kvm' option is supported and false otherwise.
Is the behaviour reported really related to KVM specifically, as opposed
to all hardware based virt backends ?
eg is it actually a case of some machine types being "tcg_only" ?
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
- [PATCH 0/7] hw/kvm: Exit gracefully when KVM is not supported, Philippe Mathieu-Daudé, 2021/02/19
- [PATCH 3/7] hw/arm: Set kvm_supported for KVM-compatible machines, Philippe Mathieu-Daudé, 2021/02/19
- [PATCH 4/7] hw/mips: Set kvm_supported for KVM-compatible machines, Philippe Mathieu-Daudé, 2021/02/19
- [RFC PATCH 5/7] hw/ppc: Set kvm_supported for KVM-compatible machines, Philippe Mathieu-Daudé, 2021/02/19
- [PATCH 6/7] hw/s390x: Set kvm_supported to s390-ccw-virtio machines, Philippe Mathieu-Daudé, 2021/02/19
- [PATCH 7/7] accel/kvm: Exit gracefully when KVM is not supported, Philippe Mathieu-Daudé, 2021/02/19
- Re: [PATCH 0/7] hw/kvm: Exit gracefully when KVM is not supported, Peter Maydell, 2021/02/19