- 22 Dec, 2011 1 commit
-
-
Paolo Bonzini authored
Using the main loop code from QEMU enables tools to operate fully asynchronously. Advantages include better Windows portability (for some definition of portability) over glib's. Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
-
- 11 Nov, 2011 1 commit
-
-
Markus Armbruster authored
Spotted by Coverity. Signed-off-by:
Markus Armbruster <armbru@redhat.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
- 20 Aug, 2011 1 commit
-
-
Anthony Liguori authored
qemu_malloc/qemu_free no longer exist after this commit. Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
- 12 Jul, 2011 1 commit
-
-
Stefan Hajnoczi authored
Andrew Griffiths reports that -runas does not set supplementary group IDs. This means that gid 0 (root) is not dropped when switching to an unprivileged user. Add an initgroups(3) call to use the -runas user's /etc/groups membership to update the supplementary group IDs. Signed-off-by:
Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Acked-by:
Chris Wright <chrisw@sous-sol.org> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
- 15 Jun, 2011 1 commit
-
-
Andreas Färber authored
BeOS and Haiku on i386 use long for 32-bit types, including pid_t. Using %d with pid_t therefore results in a warning. Unfortunately POSIX:2008 does not define a PRId* string for pid_t. In some places pid_t was previously casted to long and %ld hardcoded. The predecessor of this patch added another upcast for the simpletrace filename but was not applied to date. Since new uses of pid_t with %d keep creeping in, let's instead define an OS-dependent format string and use that consistently. Cc: Stefan Hajnoczi <stefanha@gmail.com> Cc: Blue Swirl <blauwirbel@gmail.com> Cc: Ingo Weinhold <ingo_weinhold@gmx.de> Cc: Gleb Natapov <gleb@redhat.com> Signed-off-by:
Andreas Färber <andreas.faerber@web.de> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
- 29 Mar, 2011 1 commit
-
-
Paolo Bonzini authored
SLIRP -smb support wants to fork a process and forget about reaping it. To please it, add a generic service to register a process id and let QEMU reap it. In the future it could be enhanced to pass a status, but this would be unused. With this in place, the SIGCHLD signal handler would not stomp on pclose anymore. Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
- 26 Mar, 2011 1 commit
-
-
Gleb Natapov authored
Currently when rogue script kills QEMU process (using TERM/INT/HUP signal) it looks indistinguishable from system shutdown. Lets report that QEMU was killed and leave some clues about the killer identity. Signed-off-by:
Gleb Natapov <gleb@redhat.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
- 16 Mar, 2011 1 commit
-
-
Jan Kiszka authored
Based on patch by Glauber Costa: To allow management applications like libvirt to apply CPU affinities to the VCPU threads, expose their ID via info cpus. This patch provides the pre-existing and used interface from qemu-kvm. Signed-off-by:
Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by:
Marcelo Tosatti <mtosatti@redhat.com>
-
- 30 Oct, 2010 2 commits
-
-
Jes Sorensen authored
Signed-off-by:
Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Jes Sorensen authored
Signed-off-by:
Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
- 20 Aug, 2010 1 commit
-
-
Blue Swirl authored
Replace array size calculations with ARRAY_SIZE macro. Implemented with this Coccinelle semantic patch, adapted from Linux kernel: @@ type T; T[] E; @@ - (sizeof(E)/sizeof(*E)) + ARRAY_SIZE(E) @@ type T; T[] E; @@ - (sizeof(E)/sizeof(E[...])) + ARRAY_SIZE(E) @@ type T; T[] E; @@ - (sizeof(E)/sizeof(T)) + ARRAY_SIZE(E) Some files (*-dis.c, tests/*) had to be filtered out. Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
- 06 Jul, 2010 1 commit
-
-
Jes Sorensen authored
The result of parsing qemu-options.def depends on whehter or not MAP_POPULATE is defined, so make sure to include sys/mman.h before including qemu-options.h. Reported by Frank Arnold. Signed-off-by:
Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
- 11 Jun, 2010 12 commits
-
-
Jes Sorensen authored
Move handling to change process name to POSIX specific files plus add a better error message to cover the case where the feature isn't supported. Signed-off-by:
Jes Sorensen <Jes.Sorensen@redhat.com> Acked-by:
Juan Quintela <quintela@redhat.com> Acked-by:
Richard Henderson <rth@redhat.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Jes Sorensen authored
Move line-buffering setup to OS specific files. Signed-off-by:
Jes Sorensen <Jes.Sorensen@redhat.com> Acked-by:
Juan Quintela <quintela@redhat.com> Acked-by:
Richard Henderson <rth@redhat.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Jes Sorensen authored
os_change_process_uid() and os_change_root() are now only called from os-posix.c, so no need to keep win32 stubs for them. Signed-off-by:
Jes Sorensen <Jes.Sorensen@redhat.com> Acked-by:
Juan Quintela <quintela@redhat.com> Acked-by:
Richard Henderson <rth@redhat.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Jes Sorensen authored
Move daemonize handling from vl.c to OS specific files. Provide dummy stubs for Win32. Signed-off-by:
Jes Sorensen <Jes.Sorensen@redhat.com> Acked-by:
Juan Quintela <quintela@redhat.com> Acked-by:
Richard Henderson <rth@redhat.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Jes Sorensen authored
Move chroot handling to OS specific files. Signed-off-by:
Jes Sorensen <Jes.Sorensen@redhat.com> Acked-by:
Juan Quintela <quintela@redhat.com> Acked-by:
Richard Henderson <rth@redhat.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Jes Sorensen authored
Move code to handle runas, ie. change of user id of QEMU process to OS specific files and provide dummy stub for Win32. Signed-off-by:
Jes Sorensen <Jes.Sorensen@redhat.com> Acked-by:
Juan Quintela <quintela@redhat.com> Acked-by:
Richard Henderson <rth@redhat.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Jes Sorensen authored
Introduce OS specific cmdline argument handling by calling os_parse_cmd_args() at the end of switch() statement. Move option enum to qemu-options.h and have it included from os-posix.c and os-win32.c in addition to vl.c. In addition move SMB argument to os-posix.c Signed-off-by:
Jes Sorensen <Jes.Sorensen@redhat.com> Acked-by:
Juan Quintela <quintela@redhat.com> Acked-by:
Richard Henderson <rth@redhat.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Jes Sorensen authored
This moves the win32 and POSIX versions of find_datadir() to OS specific files, and removes some #ifdef clutter from vl.c Signed-off-by:
Jes Sorensen <Jes.Sorensen@redhat.com> Acked-by:
Juan Quintela <quintela@redhat.com> Acked-by:
Richard Henderson <rth@redhat.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Jes Sorensen authored
Move main signal handler setup to os specific files. Signed-off-by:
Jes Sorensen <Jes.Sorensen@redhat.com> Acked-by:
Juan Quintela <quintela@redhat.com> Acked-by:
Richard Henderson <rth@redhat.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Jes Sorensen authored
Rename os_setup_signal_handling() to os_setup_early_signal_handling() Signed-off-by:
Jes Sorensen <Jes.Sorensen@redhat.com> Acked-by:
Juan Quintela <quintela@redhat.com> Acked-by:
Richard Henderson <rth@redhat.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Jes Sorensen authored
Introcuce os-posix.c and move posix specific signal handling there. Signed-off-by:
Jes Sorensen <Jes.Sorensen@redhat.com> Acked-by:
Juan Quintela <quintela@redhat.com> Acked-by:
Richard Henderson <rth@redhat.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Jes Sorensen authored
Move host_main_loop_wait() to OS specific files. Create qemu-os-posix.h and provide empty inline for the POSIX case. Signed-off-by:
Jes Sorensen <Jes.Sorensen@redhat.com> Acked-by:
Juan Quintela <quintela@redhat.com> Acked-by:
Richard Henderson <rth@redhat.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
- 03 Dec, 2009 4 commits
-
-
Mark McLoughlin authored
Signed-off-by:
Mark McLoughlin <markmc@redhat.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Mark McLoughlin authored
Signed-off-by:
Mark McLoughlin <markmc@redhat.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Mark McLoughlin authored
Signed-off-by:
Mark McLoughlin <markmc@redhat.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
Mark McLoughlin authored
Signed-off-by:
Mark McLoughlin <markmc@redhat.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
- 03 Mar, 2009 1 commit
-
-
aliguori authored
This patch corrects SDL support on X11 hosts using evdev. It's losely based on the previous patch by Dustin Kirkland and the evdev support code in gtk-vnc written by Daniel Berrange. Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6678 c046a42c-6fe2-441c-8c8c-71466251a162
-
- 08 Apr, 2008 1 commit
-
-
aurel32 authored
(Samuel Thibault) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4173 c046a42c-6fe2-441c-8c8c-71466251a162
-
- 01 Feb, 2008 1 commit
-
-
bellard authored
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3943 c046a42c-6fe2-441c-8c8c-71466251a162
-
- 07 Oct, 2007 1 commit
-
-
j_mayer authored
(mostly CPU registration and UIC, for now). git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3340 c046a42c-6fe2-441c-8c8c-71466251a162
-
- 16 Sep, 2007 1 commit
-
-
ths authored
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3173 c046a42c-6fe2-441c-8c8c-71466251a162
-
- 07 Apr, 2007 1 commit
-
-
pbrook authored
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2635 c046a42c-6fe2-441c-8c8c-71466251a162
-
- 01 Feb, 2007 1 commit
-
-
ths authored
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2379 c046a42c-6fe2-441c-8c8c-71466251a162
-
- 30 Oct, 2005 1 commit
-
-
bellard authored
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1584 c046a42c-6fe2-441c-8c8c-71466251a162
-
- 07 Nov, 2004 1 commit
-
-
bellard authored
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1125 c046a42c-6fe2-441c-8c8c-71466251a162
-