- 22 9月, 2010 3 次提交
-
-
由 Gerd Hoffmann 提交于
Add -spice command line switch. Has support setting passwd and port for now. With this patch applied the spice client can successfully connect to qemu. You can't do anything useful yet though.
-
由 Gerd Hoffmann 提交于
-
由 Gerd Hoffmann 提交于
This patch drops DT_VNC. The display types are only used to select select the local display (i.e. curses, sdl, coca, ...). Remote displays (for now only vnc, spice will follow) can be enabled independently.
-
- 10 9月, 2010 1 次提交
-
-
由 Prerna Saxena 提交于
This patch adds an optional command line switch '-trace' to specify the filename to write traces to, when qemu starts. Eg, If compiled with the 'simple' trace backend, [temp@system]$ qemu -trace FILENAME IMAGE Allows the binary traces to be written to FILENAME instead of the option set at config-time. Signed-off-by: NPrerna Saxena <prerna@linux.vnet.ibm.com> Signed-off-by: NStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
-
- 09 9月, 2010 1 次提交
-
-
由 Aneesh Kumar K.V 提交于
This is equivalent to SM_PASSTHROUGH security model. The only exception is, failure of privilige operation like chown are ignored. This makes a passthrough like security model usable for people who runs kvm as non root Signed-off-by: NAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
-
- 04 9月, 2010 1 次提交
-
-
由 Aneesh Kumar K.V 提交于
When making copy of arguments we were doing partial copy Signed-off-by: NAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
- 01 9月, 2010 1 次提交
-
-
由 Blue Swirl 提交于
Fix a warning from OpenBSD linker: ../libhw32/vl.o(.text+0x5c3c): In function `main': /src/qemu/vl.c:2335: warning: sprintf() is often misused, please use snprintf() Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
- 23 8月, 2010 2 次提交
-
-
由 Gerd Hoffmann 提交于
Signed-off-by: NGerd Hoffmann <kraxel@redhat.com> Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
-
由 Gerd Hoffmann 提交于
Switch tree to lookup-by-name using qemu_find_opts(). Also hook up virtfs options so qemu_find_opts works for them too. Signed-off-by: NGerd Hoffmann <kraxel@redhat.com> Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
-
- 20 8月, 2010 1 次提交
-
-
由 Blue Swirl 提交于
Found with this Coccinelle semantic patch: @@ expression E; identifier ptr; identifier fn ~= "qemu_mallocz*"; @@ -ptr = fn(E); -if (ptr == NULL) { ... } - +ptr = fn(E); Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
- 31 7月, 2010 2 次提交
-
-
由 Amit Shah 提交于
When a 'cont' is issued on a VM that's just waiting for an incoming migration, the VM reboots and boots into the guest, possibly corrupting its storage since it could be shared with another VM running elsewhere. Ensure that a VM started with '-incoming' is only run when an incoming migration successfully completes. A new qerror, QERR_MIGRATION_EXPECTED, is added to signal that 'cont' failed due to no incoming migration has been attempted yet. Reported-by: NLaine Stump <laine@redhat.com> Signed-off-by: NAmit Shah <amit.shah@redhat.com> Reviewed-by: NLuiz Capitulino <lcapitulino@redhat.com> Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
-
由 Joel Schopp 提交于
We already set sockets to nonzero in the code above. So this if statement always evaluates true. Remove it. Signed-off-by: NJoel Schopp <jschopp@austin.ibm.com> Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
-
- 22 7月, 2010 1 次提交
-
-
由 Jan Kiszka 提交于
These functions are also used for kvm under !CONFIG_IOTHREAD, having 'tcg' in their name is just misleading. Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com> Acked-by: NPaolo Bonzini <pbonzini@redhat.com> Reviewed-by: NMarcelo Tosatti <mtosatti@redhat.com> Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
-
- 06 7月, 2010 2 次提交
-
-
由 Alex Williamson 提交于
Synchronize RAM blocks with the target and migrate using name/offset pairs. This ensures both source and target have the same view of RAM and that we get the right bits into the right slot. Signed-off-by: NAlex Williamson <alex.williamson@redhat.com> Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
-
由 Alex Williamson 提交于
When available, we'd like to be able to access the DeviceState when registering a savevm. For buses with a get_dev_path() function, this will allow us to create more unique savevm id strings. Signed-off-by: NAlex Williamson <alex.williamson@redhat.com> Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
-
- 23 6月, 2010 3 次提交
-
-
由 Juan Quintela 提交于
Signed-off-by: NJuan Quintela <quintela@redhat.com> Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
-
This patch adds required infrastructure for the new security model. - A new configure option for attr/xattr. - if CONFIG_VIRTFS will be defined if both CONFIG_LINUX and CONFIG_ATTR defined. - Defines routines related to both security models. Signed-off-by: NVenkateswararao Jujjuri <jvrao@linux.vnet.ibm.com> Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
-
The new option is: -fsdev fstype,id=myid,path=/share_path/,security_model=[mapped|passthrough] -virtfs fstype,path=/share_path/,security_model=[mapped|passthrough],mnt_tag=tag In the case of mapped security model, files are created with QEMU user credentials and the client-user's credentials are saved in extended attributes. Whereas in the case of passthrough security model, files on the filesystem are directly created with client-user's credentials. Signed-off-by: NVenkateswararao Jujjuri <jvrao@linux.vnet.ibm.com> Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
-
- 15 6月, 2010 1 次提交
-
-
由 Gerd Hoffmann 提交于
Hook up any cleanup work which needs to be done here. Advantages over using atexit(3): (1) You get passed in a pointer to the notifier. If you embed that into your state struct you can use container_of() to get get your state info. (2) You can unregister, say when un-plugging a device. [ v2: move code out of #ifndef _WIN32 ] Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
-
- 12 6月, 2010 15 次提交
-
-
由 Jes Sorensen 提交于
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: NJes Sorensen <Jes.Sorensen@redhat.com> Acked-by: NJuan Quintela <quintela@redhat.com> Acked-by: NRichard Henderson <rth@redhat.com> Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
由 Jes Sorensen 提交于
Move line-buffering setup to OS specific files. Signed-off-by: NJes Sorensen <Jes.Sorensen@redhat.com> Acked-by: NJuan Quintela <quintela@redhat.com> Acked-by: NRichard Henderson <rth@redhat.com> Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
由 Jes Sorensen 提交于
Move daemonize handling from vl.c to OS specific files. Provide dummy stubs for Win32. Signed-off-by: NJes Sorensen <Jes.Sorensen@redhat.com> Acked-by: NJuan Quintela <quintela@redhat.com> Acked-by: NRichard Henderson <rth@redhat.com> Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
由 Jes Sorensen 提交于
Move chroot handling to OS specific files. Signed-off-by: NJes Sorensen <Jes.Sorensen@redhat.com> Acked-by: NJuan Quintela <quintela@redhat.com> Acked-by: NRichard Henderson <rth@redhat.com> Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
由 Jes Sorensen 提交于
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: NJes Sorensen <Jes.Sorensen@redhat.com> Acked-by: NJuan Quintela <quintela@redhat.com> Acked-by: NRichard Henderson <rth@redhat.com> Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
由 Jes Sorensen 提交于
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: NJes Sorensen <Jes.Sorensen@redhat.com> Acked-by: NJuan Quintela <quintela@redhat.com> Acked-by: NRichard Henderson <rth@redhat.com> Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
由 Jes Sorensen 提交于
Rename qemu-options.h to qemu-options.def as it is not a header file for general use and this leaves space for a proper qemu-options.h Signed-off-by: NJes Sorensen <Jes.Sorensen@redhat.com> Acked-by: NJuan Quintela <quintela@redhat.com> Acked-by: NRichard Henderson <rth@redhat.com> Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
由 Jes Sorensen 提交于
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: NJes Sorensen <Jes.Sorensen@redhat.com> Acked-by: NJuan Quintela <quintela@redhat.com> Acked-by: NRichard Henderson <rth@redhat.com> Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
由 Jes Sorensen 提交于
Move main signal handler setup to os specific files. Signed-off-by: NJes Sorensen <Jes.Sorensen@redhat.com> Acked-by: NJuan Quintela <quintela@redhat.com> Acked-by: NRichard Henderson <rth@redhat.com> Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
由 Jes Sorensen 提交于
Rename os_setup_signal_handling() to os_setup_early_signal_handling() Signed-off-by: NJes Sorensen <Jes.Sorensen@redhat.com> Acked-by: NJuan Quintela <quintela@redhat.com> Acked-by: NRichard Henderson <rth@redhat.com> Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
由 Jes Sorensen 提交于
Move win32 early signal handling setup to os_setup_signal_handling() Signed-off-by: NJes Sorensen <Jes.Sorensen@redhat.com> Acked-by: NJuan Quintela <quintela@redhat.com> Acked-by: NRichard Henderson <rth@redhat.com> Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
由 Jes Sorensen 提交于
Introcuce os-posix.c and move posix specific signal handling there. Signed-off-by: NJes Sorensen <Jes.Sorensen@redhat.com> Acked-by: NJuan Quintela <quintela@redhat.com> Acked-by: NRichard Henderson <rth@redhat.com> Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
由 Jes Sorensen 提交于
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: NJes Sorensen <Jes.Sorensen@redhat.com> Acked-by: NJuan Quintela <quintela@redhat.com> Acked-by: NRichard Henderson <rth@redhat.com> Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
由 Jes Sorensen 提交于
This introduces os-win32.c. It is meant to carry win32 specific functions thata are not relevant for all of QEMU as well as win32 versions of various pieces like signal handling etc. Move win32 polling handler helper functions from vl.c to os-win32.c Signed-off-by: NJes Sorensen <Jes.Sorensen@redhat.com> Acked-by: NJuan Quintela <quintela@redhat.com> Acked-by: NRichard Henderson <rth@redhat.com> Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
由 Jes Sorensen 提交于
vl.c: netinet/in.h is already included once above for the Signed-off-by: NJes Sorensen <Jes.Sorensen@redhat.com> Acked-by: NAndreas Faerber <afaerber@opensolaris.org> Acked-by: NJuan Quintela <quintela@redhat.com> Acked-by: NRichard Henderson <rth@redhat.com> Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
- 11 6月, 2010 1 次提交
-
-
由 Isaku Yamahata 提交于
fix memory leak. there is no need to allocate more than one gui_timer. Signed-off-by: NIsaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
-
- 10 6月, 2010 1 次提交
-
-
由 Paolo Bonzini 提交于
Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com> Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
-
- 04 6月, 2010 4 次提交
-
-
由 Markus Armbruster 提交于
Anything that moves hundreds of lines out of vl.c can't be all bad. Signed-off-by: NMarkus Armbruster <armbru@redhat.com> Signed-off-by: NKevin Wolf <kwolf@redhat.com>
-
由 Markus Armbruster 提交于
To pave the way for moving it out of vl.c. Signed-off-by: NMarkus Armbruster <armbru@redhat.com> Signed-off-by: NKevin Wolf <kwolf@redhat.com>
-
由 MORITA Kazutaka 提交于
This patch calls the close handler of the block driver before the qemu process exits. This is necessary because the sheepdog block driver releases the lock of VM images in the close handler. Signed-off-by: NMORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp> Signed-off-by: NKevin Wolf <kwolf@redhat.com>
-
由 Kevin Wolf 提交于
The real error is the return value of bdrv_open. errno might be overwritten or not even set to that value in the first place. Signed-off-by: NKevin Wolf <kwolf@redhat.com>
-