[PATCH] vhost-user: Correct a reference of TARGET_AARCH64

Akihiko Odaki posted 1 patch 1 year, 4 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230109063130.81296-1-akihiko.odaki@daynix.com
Maintainers: "Michael S. Tsirkin" <mst@redhat.com>
hw/virtio/vhost-user.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] vhost-user: Correct a reference of TARGET_AARCH64
Posted by Akihiko Odaki 1 year, 4 months ago
Presumably TARGET_ARM_64 should be a mistake of TARGET_AARCH64.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
---
 hw/virtio/vhost-user.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/virtio/vhost-user.c b/hw/virtio/vhost-user.c
index d9ce0501b2..6c79da953b 100644
--- a/hw/virtio/vhost-user.c
+++ b/hw/virtio/vhost-user.c
@@ -48,7 +48,7 @@
  * hardware plaform.
  */
 #if defined(TARGET_X86) || defined(TARGET_X86_64) || \
-    defined(TARGET_ARM) || defined(TARGET_ARM_64)
+    defined(TARGET_ARM) || defined(TARGET_AARCH64)
 #include "hw/acpi/acpi.h"
 #define VHOST_USER_MAX_RAM_SLOTS ACPI_MAX_RAM_SLOTS
 
-- 
2.39.0
Re: [PATCH] vhost-user: Correct a reference of TARGET_AARCH64
Posted by Alex Bennée 1 year, 4 months ago
Akihiko Odaki <akihiko.odaki@daynix.com> writes:

> Presumably TARGET_ARM_64 should be a mistake of TARGET_AARCH64.
>
> Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro
Re: [PATCH] vhost-user: Correct a reference of TARGET_AARCH64
Posted by Philippe Mathieu-Daudé 1 year, 4 months ago
On 9/1/23 07:31, Akihiko Odaki wrote:
> Presumably TARGET_ARM_64 should be a mistake of TARGET_AARCH64.
> 

Fixes: 27598393a2 ("Lift max memory slots limit imposed by vhost-user")

> Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>

> ---
>   hw/virtio/vhost-user.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hw/virtio/vhost-user.c b/hw/virtio/vhost-user.c
> index d9ce0501b2..6c79da953b 100644
> --- a/hw/virtio/vhost-user.c
> +++ b/hw/virtio/vhost-user.c
> @@ -48,7 +48,7 @@
>    * hardware plaform.
>    */
>   #if defined(TARGET_X86) || defined(TARGET_X86_64) || \
> -    defined(TARGET_ARM) || defined(TARGET_ARM_64)
> +    defined(TARGET_ARM) || defined(TARGET_AARCH64)
>   #include "hw/acpi/acpi.h"
>   #define VHOST_USER_MAX_RAM_SLOTS ACPI_MAX_RAM_SLOTS
>