[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v12 06/10] hvf: arm: Implement -cpu host
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v12 06/10] hvf: arm: Implement -cpu host |
Date: |
Thu, 16 Sep 2021 18:08:44 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
On 9/16/21 5:54 PM, Alexander Graf wrote:
> Now that we have working system register sync, we push more target CPU
> properties into the virtual machine. That might be useful in some
> situations, but is not the typical case that users want.
>
> So let's add a -cpu host option that allows them to explicitly pass all
> CPU capabilities of their host CPU into the guest.
>
> Signed-off-by: Alexander Graf <agraf@csgraf.de>
> Acked-by: Roman Bolshakov <r.bolshakov@yadro.com>
> Reviewed-by: Sergio Lopez <slp@redhat.com>
> Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
>
> ---
> diff --git a/target/arm/hvf_arm.h b/target/arm/hvf_arm.h
> new file mode 100644
> index 0000000000..603074a331
> --- /dev/null
> +++ b/target/arm/hvf_arm.h
> @@ -0,0 +1,19 @@
> +/*
> + * QEMU Hypervisor.framework (HVF) support -- ARM specifics
> + *
> + * Copyright (c) 2021 Alexander Graf
> + *
> + * This work is licensed under the terms of the GNU GPL, version 2 or later.
> + * See the COPYING file in the top-level directory.
> + *
> + */
> +
> +#ifndef QEMU_HVF_ARM_H
> +#define QEMU_HVF_ARM_H
> +
> +#include "qemu/accel.h"
This include shouldn't be necessary.
> +#include "cpu.h"
> +
> +void hvf_arm_set_cpu_features_from_host(struct ARMCPU *cpu);
> +
> +#endif
- [PATCH v12 08/10] arm: Add Hypervisor.framework build target, (continued)
- [PATCH v12 08/10] arm: Add Hypervisor.framework build target, Alexander Graf, 2021/09/16
- [PATCH v12 03/10] hvf: Introduce hvf_arch_init() callback, Alexander Graf, 2021/09/16
- [PATCH v12 01/10] arm: Move PMC register definitions to internals.h, Alexander Graf, 2021/09/16
- [PATCH v12 04/10] hvf: Add Apple Silicon support, Alexander Graf, 2021/09/16
- [PATCH v12 05/10] arm/hvf: Add a WFI handler, Alexander Graf, 2021/09/16
- [PATCH v12 07/10] hvf: arm: Implement PSCI handling, Alexander Graf, 2021/09/16
- [PATCH v12 10/10] arm: tcg: Adhere to SMCCC 1.3 section 5.2, Alexander Graf, 2021/09/16
- [PATCH v12 06/10] hvf: arm: Implement -cpu host, Alexander Graf, 2021/09/16
- Re: [PATCH v12 06/10] hvf: arm: Implement -cpu host,
Philippe Mathieu-Daudé <=
- [PATCH v12 09/10] hvf: arm: Add rudimentary PMC support, Alexander Graf, 2021/09/16
- Re: [PATCH v12 00/10] hvf: Implement Apple Silicon Support, Peter Maydell, 2021/09/20
- Re: [PATCH v12 00/10] hvf: Implement Apple Silicon Support, Peter Maydell, 2021/09/20
- Re: [PATCH v12 00/10] hvf: Implement Apple Silicon Support, Philippe Mathieu-Daudé, 2021/09/20
- Re: [PATCH v12 00/10] hvf: Implement Apple Silicon Support, Alexander Graf, 2021/09/20
- Re: [PATCH v12 00/10] hvf: Implement Apple Silicon Support, Philippe Mathieu-Daudé, 2021/09/21
- Re: [PATCH v12 00/10] hvf: Implement Apple Silicon Support, Alexander Graf, 2021/09/21
- Re: [PATCH v12 00/10] hvf: Implement Apple Silicon Support, Philippe Mathieu-Daudé, 2021/09/25
- Re: [PATCH v12 00/10] hvf: Implement Apple Silicon Support, Peter Maydell, 2021/09/25