qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] nseries: Don't use qemu_hw_version()
@ 2015-11-11 21:42 Eduardo Habkost
  2015-11-12 11:39 ` Michael S. Tsirkin
  0 siblings, 1 reply; 4+ messages in thread
From: Eduardo Habkost @ 2015-11-11 21:42 UTC (permalink / raw)
  To: balrogg
  Cc: peter.maydell, Michael S. Tsirkin, qemu-devel, qemu-arm,
	Paolo Bonzini

nseries doesn't use qemu_set_hw_version() and doesn't need the
compatibility magic of qemu_hw_version(). Use QEMU_VERSION
directly.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
 hw/arm/nseries.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/arm/nseries.c b/hw/arm/nseries.c
index 2a8835e..f1eab73 100644
--- a/hw/arm/nseries.c
+++ b/hw/arm/nseries.c
@@ -1275,7 +1275,7 @@ static int n8x0_atag_setup(void *p, int model)
     strcpy((void *) w, "hw-build");		/* char component[12] */
     w += 6;
     strcpy((void *) w, "QEMU ");
-    pstrcat((void *) w, 12, qemu_hw_version()); /* char version[12] */
+    pstrcat((void *) w, 12, QEMU_VERSION); /* char version[12] */
     w += 6;
 
     tag = (model == 810) ? "1.1.10-qemu" : "1.1.6-qemu";
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-11-20 16:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-11 21:42 [Qemu-devel] [PATCH] nseries: Don't use qemu_hw_version() Eduardo Habkost
2015-11-12 11:39 ` Michael S. Tsirkin
2015-11-12 15:04   ` Eduardo Habkost
2015-11-20 16:26     ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).