qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] fix no-sdl builds
@ 2013-06-16 22:48 Mike Frysinger
  2013-06-17  0:52 ` Andreas Färber
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Frysinger @ 2013-06-16 22:48 UTC (permalink / raw)
  To: qemu-devel

The no_frame var is only defined when SDL support is enabled.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 vl.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/vl.c b/vl.c
index 9f8fd6e..aaa14bb 100644
--- a/vl.c
+++ b/vl.c
@@ -3524,9 +3524,6 @@ int main(int argc, char **argv, char **envp)
             case QEMU_OPTION_full_screen:
                 full_screen = 1;
                 break;
-            case QEMU_OPTION_no_frame:
-                no_frame = 1;
-                break;
             case QEMU_OPTION_alt_grab:
                 alt_grab = 1;
                 break;
@@ -3537,10 +3534,14 @@ int main(int argc, char **argv, char **envp)
                 no_quit = 1;
                 break;
 #ifdef CONFIG_SDL
+            case QEMU_OPTION_no_frame:
+                no_frame = 1;
+                break;
             case QEMU_OPTION_sdl:
                 display_type = DT_SDL;
                 break;
 #else
+            case QEMU_OPTION_no_frame:
             case QEMU_OPTION_sdl:
                 fprintf(stderr, "SDL support is disabled\n");
                 exit(1);
@@ -4081,10 +4082,12 @@ int main(int argc, char **argv, char **envp)
 #endif
     }
 
+#ifdef CONFIG_SDL
     if ((no_frame || alt_grab || ctrl_grab) && display_type != DT_SDL) {
         fprintf(stderr, "-no-frame, -alt-grab and -ctrl-grab are only valid "
                         "for SDL, ignoring option\n");
     }
+#endif
     if (no_quit && (display_type != DT_GTK && display_type != DT_SDL)) {
         fprintf(stderr, "-no-quit is only valid for GTK and SDL, "
                         "ignoring option\n");
-- 
1.8.2.1

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

* Re: [Qemu-devel] [PATCH] fix no-sdl builds
  2013-06-16 22:48 [Qemu-devel] [PATCH] fix no-sdl builds Mike Frysinger
@ 2013-06-17  0:52 ` Andreas Färber
  2013-06-17  1:26   ` Mike Frysinger
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Färber @ 2013-06-17  0:52 UTC (permalink / raw)
  To: Mike Frysinger; +Cc: Michael Tokarev, qemu-devel

Hi,

Am 17.06.2013 00:48, schrieb Mike Frysinger:
> The no_frame var is only defined when SDL support is enabled.
> 
> Signed-off-by: Mike Frysinger <vapier@gentoo.org>

There was already a different patch to the same effect on the list:
http://patchwork.ozlabs.org/patch/251621/

Any update on your Blackfin emulation? :)

Cheers,
Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

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

* Re: [Qemu-devel] [PATCH] fix no-sdl builds
  2013-06-17  0:52 ` Andreas Färber
@ 2013-06-17  1:26   ` Mike Frysinger
  0 siblings, 0 replies; 3+ messages in thread
From: Mike Frysinger @ 2013-06-17  1:26 UTC (permalink / raw)
  To: Andreas Färber; +Cc: Michael Tokarev, qemu-devel

[-- Attachment #1: Type: Text/Plain, Size: 706 bytes --]

On Sunday 16 June 2013 20:52:18 Andreas Färber wrote:
> Am 17.06.2013 00:48, schrieb Mike Frysinger:
> > The no_frame var is only defined when SDL support is enabled.
> > 
> > Signed-off-by: Mike Frysinger <vapier@gentoo.org>
> 
> There was already a different patch to the same effect on the list:
> http://patchwork.ozlabs.org/patch/251621/

np.  i wrote the patch on an airplane (hard to check the net there), and just 
checked the master branch when i got back.

> Any update on your Blackfin emulation? :)

i updated it to work on 1.5.0 & master this last week actually while flying.  i 
could probably post it again (sans the half baked hardware stuff for system 
emulation).
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

end of thread, other threads:[~2013-06-17  1:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-16 22:48 [Qemu-devel] [PATCH] fix no-sdl builds Mike Frysinger
2013-06-17  0:52 ` Andreas Färber
2013-06-17  1:26   ` Mike Frysinger

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).