- Jan 26, 2013
-
-
Andreas Färber authored
config-devices.mak.d is included from Makefile.target, i.e. from inside the *-softmmu/ directory. It included the directory path, so never applied to the actual ./config-devices.mak. Symptoms were spurious build failures due to missing dependency on default-configs/pci.mak. Fix this by using `basename` to strip the directory path. Reported-by:
Gerhard Wiesinger <lists@wiesinger.com> Cc: qemu-stable@nongnu.org Signed-off-by:
Andreas Färber <afaerber@suse.de> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
- Jan 22, 2013
-
-
Marcelo Tosatti authored
Bit 9 of MSR_IA32_VMX_PROCBASED_CTLS2 is virtual interrupt delivery. Signed-off-by:
Marcelo Tosatti <mtosatti@redhat.com>
-
- Jan 08, 2013
-
-
Tomoki Sekiyama authored
Adds sample hook scripts for --fsfreeze-hook option of qemu-ga. - fsfreeze-hook : execute scripts in fsfreeze-hook.d/ - fsfreeze-hook.d/mysql-flush.sh.sample : quiesce MySQL before snapshot Signed-off-by:
Tomoki Sekiyama <tomoki.sekiyama.qu@hitachi.com> Reviewed-by:
Michael Roth <mdroth@linux.vnet.ibm.com> Signed-off-by:
Michael Roth <mdroth@linux.vnet.ibm.com>
-
- Jan 07, 2013
-
-
Bharat Bhushan authored
epapr_hcalls.h is now referenced by kvm_para.h. so this is needed for QEMU to get compiled on powerpc. Signed-off-by:
Bharat Bhushan <bharat.bhushan@freescale.com> Signed-off-by:
Alexander Graf <agraf@suse.de>
-
- Dec 23, 2012
-
-
Lluís Vilanova authored
Reviewed-by:
Paolo Bonzini <pbonzini@redhat.com> Signed-off-by:
Lluís Vilanova <vilanova@ac.upc.edu> -- Changes in v2: * Do not depend on "qemu-timer-common.o". * Use "$(obj)" in rules to refer to the build sub-directory. * Remove dependencies against "$(GENERATED_HEADERS)". Cc: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
- Dec 19, 2012
-
-
Paolo Bonzini authored
Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
-
Paolo Bonzini authored
Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
-
Paolo Bonzini authored
Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
-
Paolo Bonzini authored
The file is only including error.h and qerror.h. Prefer explicit inclusion of whatever files are needed. Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
-
Paolo Bonzini authored
Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
-
- Dec 12, 2012
-
-
Michael S. Tsirkin authored
Signed-off-by:
Michael S. Tsirkin <mst@redhat.com>
-
- Nov 16, 2012
-
-
Daniel P. Berrangé authored
Over time various systemtap reserved words have been blacklisted in the trace backend generator. The list is not complete though, so there is continued risk of problems in the future. Preempt such problems by specifying the full list of systemtap keywords listed in its parser as identified here: http://sourceware.org/ml/systemtap/2012-q4/msg00157.html Signed-off-by:
Daniel P. Berrange <berrange@redhat.com> Signed-off-by:
Stefan Hajnoczi <stefanha@redhat.com>
-
- Nov 15, 2012
-
-
Igor Mammedov authored
Needed to prevent build breakage when CPUState becomes a child of DeviceState. Signed-off-by:
Igor Mammedov <imammedo@redhat.com> [ehabkost: include <stdbool.h> too] Signed-off-by:
Eduardo Habkost <ehabkost@redhat.com> Signed-off-by:
Andreas Färber <afaerber@suse.de>
-
- Oct 31, 2012
-
-
Peter Maydell authored
Recent kernels have moved to keeping the userspace headers in uapi/ subdirectories. This breaks the detection of whether an architecture has KVM support in the kernel because kvm.h has moved in the kernel source tree. Update the check to support both the old and new locations. Signed-off-by:
Peter Maydell <peter.maydell@linaro.org> Signed-off-by:
Marcelo Tosatti <mtosatti@redhat.com>
-
- Oct 29, 2012
-
-
Heinz Graalfs authored
Correct sys_perf_event_open syscall number for s390 architecture - the hardcoded syscall number 298 is for x86 but should be different for other architectures. In case we figure out via /proc/cpuinfo that we are running on s390 the appropriate syscall number is used from map syscall_numbers; other architectures can extend this. Signed-off-by:
Heinz Graalfs <graalfs@linux.vnet.ibm.com> Signed-off-by:
Jens Freimann <jfrei@linux.vnet.ibm.com> Signed-off-by:
Alexander Graf <agraf@suse.de>
-
- Oct 01, 2012
-
-
Alex Williamson authored
Signed-off-by:
Alex Williamson <alex.williamson@redhat.com> Acked-by:
Michael S. Tsirkin <mst@redhat.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
- Sep 26, 2012
-
-
Paolo Bonzini authored
It is #defined to 1. Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Signed-off-by:
Luiz Capitulino <lcapitulino@redhat.com>
-
Paolo Bonzini authored
Enum values are always preceded by the uppercase name of the enum, so they do not conflict with reserved words. Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Signed-off-by:
Luiz Capitulino <lcapitulino@redhat.com>
-
- Sep 23, 2012
-
-
Alon Levy authored
Signed-off-by:
Alon Levy <alevy@redhat.com> Signed-off-by:
Stefan Hajnoczi <stefanha@gmail.com>
-
- Sep 11, 2012
-
-
Peter Maydell authored
Rather than hardcoding the list of architectures in the kernel header update script, just import headers for every architecture which supports KVM (with a blacklist exception for ia64 which has KVM headers but is dead). This reduces the number of QEMU files which need to be updated to add support for a new KVM architecture. Acked-by:
Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by:
Peter Maydell <peter.maydell@linaro.org> Signed-off-by:
Marcelo Tosatti <mtosatti@redhat.com>
-
- Sep 05, 2012
-
-
Don Slutz authored
For an example: WARNING: braces {} are necessary even for single statement blocks + } else + return env->regs[R_EAX]; total: 0 errors, 1 warnings, 41 lines checked Signed-off-by:
Don Slutz <Don@CloudSwitch.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Don Slutz authored
Add debug options to find this issue. They were not listed in the help because the are not simple to understand the output of. Signed-off-by:
Don Slutz <Don@CloudSwitch.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Don Slutz authored
Add debug options to find this issue. They were not listed in the help because the are not simple to understand the output of. Signed-off-by:
Don Slutz <Don@CloudSwitch.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Don Slutz authored
Add debug options to find this issue. They were not listed in the help because the are not simple to understand the output of. Signed-off-by:
Don Slutz <Don@CloudSwitch.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Stefan Weil authored
Report from smatch: qapi-visit.c:1640 visit_type_BlockdevAction(8) error: we previously assumed 'obj' could be null (see line 1639) qapi-visit.c:2432 visit_type_NetClientOptions(8) error: we previously assumed 'obj' could be null (see line 2431) Signed-off-by:
Stefan Weil <sw@weilnetz.de> Reviewed-by:
Paolo Bonzini <pbonzini@redhat.com> Signed-off-by:
Luiz Capitulino <lcapitulino@redhat.com>
-
Amos Kong authored
Currently, if we define an 'enum' and use it in one command's data, list struct for enum could not be generated, but it's used in qmp function. For example: KeyCodesList could not be generated. >>> qapi-schema.json: { 'enum': 'KeyCodes', 'data': [ 'shift', 'alt' ... ] } { 'command': 'sendkey', 'data': { 'keys': ['KeyCodes'], '*hold-time': 'int' } } >>> qmp-command.h: void qmp_sendkey(KeyCodesList * keys, bool has_hold_time, int64_t hold_time, Error **errp); This patch lets qapi generate list struct and visit_list for enum. Signed-off-by:
Amos Kong <akong@redhat.com> Signed-off-by:
Luiz Capitulino <lcapitulino@redhat.com>
-
- Aug 15, 2012
-
-
Stefan Weil authored
Signed-off-by:
Stefan Weil <sw@weilnetz.de> Signed-off-by:
Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
-
- Aug 14, 2012
-
-
Peter Maydell authored
Add asm-generic/kvm_para.h to the set of non-architecture specific KVM kernel headers we copy into QEMU. This header may be included by an architecture's kvm_para.h header. Reviewed-by:
Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by:
Peter Maydell <peter.maydell@linaro.org> Signed-off-by:
Marcelo Tosatti <mtosatti@redhat.com>
-
Stefan Weil authored
gcc complains when a 32 bit pointer is casted to a 64 bit integer. Cc: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by:
Stefan Weil <sw@weilnetz.de> Signed-off-by:
Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
-
- Aug 13, 2012
-
-
Luiz Capitulino authored
qmp-commands.h declares several functions that have arguments of type QDict. However, qdict.h is not included. This will cause a build breakage when a file includes qmp-commands.h but doesn't include qdict.h. Signed-off-by:
Luiz Capitulino <lcapitulino@redhat.com>
-
Luiz Capitulino authored
Next commit will introduce enum strings in camel case. Signed-off-by:
Luiz Capitulino <lcapitulino@redhat.com> Reviewed-by:
Markus Armbruster <armbru@redhat.com>
-
Luiz Capitulino authored
An enum like GenericError in the schema, should generate GENERIC_ERROR and not GENERICERROR. Signed-off-by:
Luiz Capitulino <lcapitulino@redhat.com> Reviewed-by:
Markus Armbruster <armbru@redhat.com>
-
Luiz Capitulino authored
qapi-types.h needs only qemu-common.h. Including qapi-types-core.h causes problems when qerror.h or error.h includes qapi-types.h. Signed-off-by:
Luiz Capitulino <lcapitulino@redhat.com> Reviewed-by:
Markus Armbruster <armbru@redhat.com>
-
- Aug 09, 2012
-
-
Blue Swirl authored
Clang compiler complained about use of reserved word 'restrict' in SLIRP and QAPI. Prefix C keywords with "q_", adjust SLIRP accordingly. Reviewed-by:
Markus Armbruster <armbru@redhat.com> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
- Aug 01, 2012
-
-
Luiz Capitulino authored
Support escaping the escape character, and make more robust (don't die for '', handle ' without matching '. Signed-off-by:
Markus Armbruster <armbru@redhat.com> Reviewed-by:
Peter Maydell <peter.maydell@linaro.org> Signed-off-by:
Luiz Capitulino <lcapitulino@redhat.com>
-
- Jul 23, 2012
-
-
Laszlo Ersek authored
v1->v2: - fall back to uint64 rather than int Signed-off-by:
Laszlo Ersek <lersek@redhat.com> Signed-off-by:
Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
-
Laszlo Ersek authored
(Long line folded using parens: <http://www.python.org/dev/peps/pep-0008/#maximum-line-length >.) Signed-off-by:
Laszlo Ersek <lersek@redhat.com> Signed-off-by:
Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
-
Paolo Bonzini authored
Don't overwrite / leak previously set errors. Make traversal cope with missing mandatory sub-structs. Don't try to end a container that could not be started. v1->v2: - unchanged v2->v3: - instead of examining, assert that we never overwrite errors with error_set() - allow visitors to set a NULL struct pointer successfully, so traversal of incomplete objects can continue - check for a NULL "obj" before accessing "(*obj)->has_XXX" (this is not a typo, "obj != NULL" implies "*obj != NULL" here) - fix start_struct / end_struct balance for unions as well Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Signed-off-by:
Laszlo Ersek <lersek@redhat.com> Signed-off-by:
Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
-
- Jul 19, 2012
-
-
Harsh Prateek Bora authored
Support new tracelog format for multiple arguments and strings. Signed-off-by:
Harsh Prateek Bora <harsh@linux.vnet.ibm.com> Signed-off-by:
Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
-
Harsh Prateek Bora authored
Existing simpletrace backend allows to trace at max 6 args and does not support strings. This newer tracelog format gets rid of fixed size records and therefore allows to trace variable number of args including strings. Sample trace with strings: v9fs_version 0.000 tag=0xffff id=0x64 msize=0x2000 version=9P2000.L v9fs_version_return 6.705 tag=0xffff id=0x64 msize=0x2000 version=9P2000.L Signed-off-by:
Harsh Prateek Bora <harsh@linux.vnet.ibm.com> Signed-off-by:
Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
-