Skip to contentSkip to conversation

Added missing sigbus_reraise() to non-Linux platforms

PATCH In review Palle Lyckegaard 3 participants 3 messages Mar 13, 2011 – Mar 14, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Added missing sigbus_reraise() to non-Linux platforms

Hi,

File cpus.c seems to be missing sigbus_reraise() on non-Linux platforms. The following patch fixes building qemu on Solaris 11 Express (SPARC).

Regards
Palle

---
 cpus.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
cpus.c +5 -0
index 077729c..02ba1be 100644
@@ -250,6 +250,11 @@ static void qemu_init_sigbus(void)
 static void qemu_init_sigbus(void)
 {
 }
+
+static void sigbus_reraise(void)
+{
+}
+
 #endif /* !CONFIG_LINUX */
 
 #ifndef _WIN32
Signature · 1 line
1.5.6.5
Reviewed-by on v1 1/1
#1 lore raw
Quoted 11 lines · Palle Lyckegaard

Hi,

File cpus.c seems to be missing sigbus_reraise() on non-Linux platforms. The following patch fixes building qemu on Solaris 11 Express (SPARC).

Regards
Palle

Quoted 4 lines

---
 cpus.c |    5 +++++

 1 files changed, 5 insertions(+), 0 deletions(-)

Great to see your SPARC Solaris 11 buildslave already catching build breakages. Thanks for the patch!

#2 lore raw
Quoted 17 lines · Stefan Hajnoczi
Quoted 11 lines · Palle Lyckegaard

Hi,

File cpus.c seems to be missing sigbus_reraise() on non-Linux platforms. The following patch fixes building qemu on Solaris 11 Express (SPARC).

Regards
Palle

Quoted 4 lines
---
 cpus.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
Quoted 4 lines

Great to see your SPARC Solaris 11 buildslave already catching build breakages. Thanks for the patch!

There is already an (implicit) fix [1] on the way. Will come via uq/master unless someone applies it earlier directly.

Jan

[1] http://permalink.gmane.org/gmane.comp.emulators.kvm.devel/68818