vhost-user: Use correct macro name TARGET_PPC64
PATCH 1/1 vhost-user: Use correct macro name TARGET_PPC64
The correct name of the macro is TARGET_PPC64.
Fixes 27598393a232 ("Lift max memory slots limit imposed by vhost-user")
Reported-by Fabiano Rosas <[email protected]>
Signed-off-by Murilo Opsfelder Araujo <[email protected]>
Cc Raphael Norwitz <[email protected]>
Cc Peter Turschmid <[email protected]>
--- hw/virtio/vhost-user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/virtio/vhost-user.c +1 -1
@@ -51,7 +51,7 @@#include "hw/acpi/acpi.h" #define VHOST_USER_MAX_RAM_SLOTS ACPI_MAX_RAM_SLOTS -#elif defined(TARGET_PPC ) || defined(TARGET_PPC_64 ) +#elif defined(TARGET_PPC ) || defined(TARGET_PPC64 )#include "hw/ppc/spapr.h" #define VHOST_USER_MAX_RAM_SLOTS SPAPR_MAX_RAM_SLOTS
Signature · 1 line
2.35.1
Quoted 8 lines · Murilo Opsfelder Araujo
The correct name of the macro is
TARGET_PPC64.Fixes 27598393a232 ("Lift max memory slots limit imposed by vhost-user")Reported-by Fabiano Rosas <[email protected]>Signed-off-by Murilo Opsfelder Araujo <[email protected]>Cc Raphael Norwitz <[email protected]>Cc Peter Turschmid <[email protected]>---
Reviewed-by Daniel Henrique Barboza <[email protected]>
Quoted 16 lines
hw/virtio/vhost-user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/virtio/vhost-user.c +1
-1@@ -51,7 +51,7 @@#include "hw/acpi/acpi.h" #define VHOST_USER_MAX_RAM_SLOTS ACPI_MAX_RAM_SLOTS -#elif defined(TARGET_PPC ) || defined(TARGET_PPC_64 ) +#elif defined(TARGET_PPC ) || defined(TARGET_PPC64 )#include "hw/ppc/spapr.h" #define VHOST_USER_MAX_RAM_SLOTS SPAPR_MAX_RAM_SLOTS
Michael,
I'll send a PR in the next few days. This change seems trivial enough to me to push via the PPC64 tree.
Let me know if you're ok with that or if you want to pick it via the vhost tree.
Thanks,
Daniel
Quoted 24 lines · Murilo Opsfelder Araujo
The correct name of the macro is
TARGET_PPC64.Fixes 27598393a232 ("Lift max memory slots limit imposed by vhost-user")Reported-by Fabiano Rosas <[email protected]>Signed-off-by Murilo Opsfelder Araujo <[email protected]>Cc Raphael Norwitz <[email protected]>Cc Peter Turschmid <[email protected]>--- hw/virtio/vhost-user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/virtio/vhost-user.c +1
-1@@ -51,7 +51,7 @@#include "hw/acpi/acpi.h" #define VHOST_USER_MAX_RAM_SLOTS ACPI_MAX_RAM_SLOTS -#elif defined(TARGET_PPC ) || defined(TARGET_PPC_64 ) +#elif defined(TARGET_PPC ) || defined(TARGET_PPC64 )#include "hw/ppc/spapr.h" #define VHOST_USER_MAX_RAM_SLOTS SPAPR_MAX_RAM_SLOTS
Quoted 7 lines · Murilo Opsfelder Araujo
The correct name of the macro is
TARGET_PPC64.Fixes 27598393a232 ("Lift max memory slots limit imposed by vhost-user")Reported-by Fabiano Rosas <[email protected]>Signed-off-by Murilo Opsfelder Araujo <[email protected]>Cc Raphael Norwitz <[email protected]>Cc Peter Turschmid <[email protected]>
Reviewed-by Michael S. Tsirkin <[email protected]>
ok to merge through the ppc tree
Quoted 19 lines
--- hw/virtio/vhost-user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/virtio/vhost-user.c +1
-1@@ -51,7 +51,7 @@#include "hw/acpi/acpi.h" #define VHOST_USER_MAX_RAM_SLOTS ACPI_MAX_RAM_SLOTS -#elif defined(TARGET_PPC ) || defined(TARGET_PPC_64 ) +#elif defined(TARGET_PPC ) || defined(TARGET_PPC64 )#include "hw/ppc/spapr.h" #define VHOST_USER_MAX_RAM_SLOTS SPAPR_MAX_RAM_SLOTSSignature · 1 line
2.35.1
Quoted 9 lines · Michael S. Tsirkin
Quoted 7 lines · Murilo Opsfelder Araujo
The correct name of the macro is
TARGET_PPC64.Fixes 27598393a232 ("Lift max memory slots limit imposed by vhost-user")Reported-by Fabiano Rosas <[email protected]>Signed-off-by Murilo Opsfelder Araujo <[email protected]>Cc Raphael Norwitz <[email protected]>Cc Peter Turschmid <[email protected]>
Quoted 3 lines
Reviewed-by Michael S. Tsirkin <[email protected]>ok to merge through the ppc tree
Thanks for the r-b. Queued in gitlab.com/danielhb/qemu/tree/ppc-next.
Daniel
Quoted 22 lines
Quoted 20 lines
--- hw/virtio/vhost-user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/virtio/vhost-user.c +1
-1@@ -51,7 +51,7 @@#include "hw/acpi/acpi.h" #define VHOST_USER_MAX_RAM_SLOTS ACPI_MAX_RAM_SLOTS -#elif defined(TARGET_PPC ) || defined(TARGET_PPC_64 ) +#elif defined(TARGET_PPC ) || defined(TARGET_PPC64 )#include "hw/ppc/spapr.h" #define VHOST_USER_MAX_RAM_SLOTS SPAPR_MAX_RAM_SLOTSSignature · 1 line
2.35.1
Re: [PATCH] vhost-user: Use correct macro name TARGET_PPC64g
In reply to Murilo Opsfelder AraujoQuoted 7 lines · Murilo Opsfelder Araujo
The correct name of the macro is
TARGET_PPC64.Fixes 27598393a232 ("Lift max memory slots limit imposed by vhost-user")Reported-by Fabiano Rosas <[email protected]>Signed-off-by Murilo Opsfelder Araujo <[email protected]>Cc Raphael Norwitz <[email protected]>Cc Peter Turschmid <[email protected]>
Reviewed-by Raphael Norwitz <[email protected]>
Quoted 20 lines
--- hw/virtio/vhost-user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/virtio/vhost-user.c +1
-1@@ -51,7 +51,7 @@#include "hw/acpi/acpi.h" #define VHOST_USER_MAX_RAM_SLOTS ACPI_MAX_RAM_SLOTS -#elif defined(TARGET_PPC ) || defined(TARGET_PPC_64 ) +#elif defined(TARGET_PPC ) || defined(TARGET_PPC64 )#include "hw/ppc/spapr.h" #define VHOST_USER_MAX_RAM_SLOTS SPAPR_MAX_RAM_SLOTSSignature · 1 line
2.35.1