thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 5 months ago
Clone

Blame SOURCES/kvm-milkymist-minimac2-Fix-minimac2_read-_write-tracepoi.patch

0a122b
From 52f4da1d90ef6a6c56d7e6016539c0054066c458 Mon Sep 17 00:00:00 2001
0a122b
Message-Id: <52f4da1d90ef6a6c56d7e6016539c0054066c458.1387276076.git.minovotn@redhat.com>
0a122b
In-Reply-To: <e610718166120379517e80d1a7aa12d60294209b.1387276076.git.minovotn@redhat.com>
0a122b
References: <e610718166120379517e80d1a7aa12d60294209b.1387276076.git.minovotn@redhat.com>
0a122b
From: Markus Armbruster <armbru@redhat.com>
0a122b
Date: Tue, 10 Dec 2013 15:12:52 +0100
0a122b
Subject: [PATCH 11/16] milkymist-minimac2: Fix minimac2_read/_write
0a122b
 tracepoints
0a122b
0a122b
RH-Author: Markus Armbruster <armbru@redhat.com>
0a122b
Message-id: <1386688376-29521-4-git-send-email-armbru@redhat.com>
0a122b
Patchwork-id: 56111
0a122b
O-Subject: [PATCH 7.0 qemu-kvm 3/7] milkymist-minimac2: Fix minimac2_read/_write tracepoints
0a122b
Bugzilla: 997832
0a122b
RH-Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
0a122b
RH-Acked-by: Eduardo Habkost <ehabkost@redhat.com>
0a122b
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
0a122b
0a122b
From: Markus Armbruster <armbru@redhat.com>
0a122b
0a122b
Broken in milkymist-minimac.c from the start (commit 0742454),
0a122b
faithfully moved to milkymist-minimac2.c (commit 57aa265).
0a122b
0a122b
Signed-off-by: Markus Armbruster <armbru@redhat.com>
0a122b
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
0a122b
(cherry picked from commit 0ece9671fd22e3ea518aa30f941e8794116985e7)
0a122b
---
0a122b
 hw/net/milkymist-minimac2.c | 2 +-
0a122b
 1 file changed, 1 insertion(+), 1 deletion(-)
0a122b
0a122b
Signed-off-by: Michal Novotny <minovotn@redhat.com>
0a122b
---
0a122b
 hw/net/milkymist-minimac2.c | 2 +-
0a122b
 1 file changed, 1 insertion(+), 1 deletion(-)
0a122b
0a122b
diff --git a/hw/net/milkymist-minimac2.c b/hw/net/milkymist-minimac2.c
0a122b
index 4ef6318..7448777 100644
0a122b
--- a/hw/net/milkymist-minimac2.c
0a122b
+++ b/hw/net/milkymist-minimac2.c
0a122b
@@ -355,7 +355,7 @@ minimac2_write(void *opaque, hwaddr addr, uint64_t value,
0a122b
 {
0a122b
     MilkymistMinimac2State *s = opaque;
0a122b
 
0a122b
-    trace_milkymist_minimac2_memory_read(addr, value);
0a122b
+    trace_milkymist_minimac2_memory_write(addr, value);
0a122b
 
0a122b
     addr >>= 2;
0a122b
     switch (addr) {
0a122b
-- 
0a122b
1.7.11.7
0a122b