On Wed, Jun 4, 2014 at 10:28 PM, Alexander Graf wrote:
> Platforms without ISA and/or PCI have had a seriously hard time in the dynamic
> device creation world of QEMU. Devices on these were modeled as SysBus devices
> which can only be instantiated in machine files, not through -device.
>
> Why i
build stub/qemu-chr-open-spice.o only with CONFIG_SPICE, this
suppresses the warning when building without CONFIG_SPICE.
Signed-off-by: Hu Tao
---
stubs/Makefile.objs | 2 +-
stubs/qemu-chr-open-spice.c | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
v2:
- add version check fo
From: Gonglei
Because of we now support usb hcds hotplugging, and
collect all hcds hotplugging tests into one file
for code sharing.
Signed-off-by: Gonglei
---
tests/Makefile | 2 +
tests/usb-hcd-hotplug-test.c | 88
2 files changed,
From: Gonglei
Signed-off-by: Gonglei
---
tests/Makefile| 3 +++
tests/usb-hcd-xhci-test.c | 36
2 files changed, 39 insertions(+)
create mode 100644 tests/usb-hcd-xhci-test.c
diff --git a/tests/Makefile b/tests/Makefile
index a23cad1..e5e1f87
From: Gonglei
Signed-off-by: Gonglei
---
MAINTAINERS | 2 +-
tests/Makefile| 3 +++
tests/usb-hcd-ohci-test.c | 35 +++
3 files changed, 39 insertions(+), 1 deletion(-)
create mode 100644 tests/usb-hcd-ohci-test.c
diff --git a/MAINTA
From: Gonglei
Signed-off-by: Gonglei
---
tests/Makefile| 4 +++-
tests/usb-hcd-uhci-test.c | 36
2 files changed, 39 insertions(+), 1 deletion(-)
create mode 100644 tests/usb-hcd-uhci-test.c
diff --git a/tests/Makefile b/tests/Makefile
index b
From: Gonglei
This patch series base on my request usb host adapter hotplug/unplug
series:
[PATCH v3 00/10] usb: usb host adapter hotplug
http://lists.gnu.org/archive/html/qemu-devel/2014-06/msg00746.html
Changes since v1:
* By Andreas suggestion:
- rework hci-{ohci,uhci,xhci} files for func
Hi everyone
I am trying to emulate SMP support for mips in qemu. But i am unable to
handle inter core communication. I want to access general purpose registers
of CPU 1 when currently running CPU is 0. Can anyone suggest me how QEMU
handle it? and how can i access register set of all CPU's on one
On Fri, Jun 20, 2014 at 09:03:59AM +0300, Nikolay Nikolaev wrote:
>
>
>
> On Fri, Jun 20, 2014 at 8:55 AM, Hu Tao wrote:
>
> build stub/qemu-chr-open-spice.o only with CONFIG_SPICE, this
> suppresses the warning when building without CONFIG_SPICE.
>
> Cc: Nikolay Nikolaev
> S
If libusb_get_device_list() fails, the uninitialized local variable
libusb_device would be passed to libusb_free_device_list(), that
will cause a crash, like:
(gdb) bt
#0 0x7fbbb4bafc10 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1 0x7fbbb233e653 in libusb_unref_device (dev=0x
Signed-off-by: Gerd Hoffmann
---
hw/display/qxl.c | 2 +-
ui/spice-display.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/display/qxl.c b/hw/display/qxl.c
index 736fd3c..d43aa49 100644
--- a/hw/display/qxl.c
+++ b/hw/display/qxl.c
@@ -710,7 +710,7 @@ static void int
Should be v2 in the subject?
On Wed, 06/18 20:14, Maria Kustova wrote:
> These patches relate to qcow2 image fuzzer project at OPW.
>
> Overall fix: Current license for all files are GPLv2
> Runner:
> Fixes (based on reviews):
>* added mandatory parameter for image generator
>* removed
- Messaggio originale -
> Da: "Aurelien Jarno"
> A: "Sanjay Lal"
> Cc: "James Hogan" , qemu-devel@nongnu.org, "Peter
> Maydell" ,
> k...@vger.kernel.org, "Gleb Natapov" , "Paolo Bonzini"
>
> Inviato: Giovedì, 19 giugno 2014 23:47:34
> Oggetto: Re: [Qemu-devel] [PATCH v5 10/12] hw/mip
qemu side patch to support xen HVM direct kernel boot:
if -kernel exists, calls xen_load_linux(), which will read kernel/initrd
and add a linuxboot.bin or multiboot.bin option rom. The
linuxboot.bin/multiboot.bin will load kernel/initrd and jump to execute
kernel directly. It's working when xen use
- Messaggio originale -
> Da: "Stefan Hajnoczi"
> A: "Paolo Bonzini"
> Cc: qemu-devel@nongnu.org, f...@redhat.com, kw...@redhat.com
> Inviato: Venerdì, 20 giugno 2014 5:58:59
> Oggetto: Re: [PATCH v2 0/2] block: thread-safety patches for virtio-blk
> dataplane rerror/werror
>
> On Thu
On Fri, Jun 20, 2014 at 8:55 AM, Hu Tao wrote:
> build stub/qemu-chr-open-spice.o only with CONFIG_SPICE, this
> suppresses the warning when building without CONFIG_SPICE.
>
> Cc: Nikolay Nikolaev
> Signed-off-by: Hu Tao
> ---
> stubs/Makefile.objs | 2 +-
> 1 file changed, 1 insertion(+), 1 d
xen side patch to support xen HVM direct kernel boot:
support 'kernel', 'ramdisk', 'cmdline' (and 'root', 'extra' as well
which would be deprecated later) in HVM config file, parse config file,
pass -kernel, -initrd, -append parameters to qemu.
It's working with qemu-xen when using the default BIO
Updated current patch series for working with qemu-xen and default
BIOS (seabios), to make it in good shape. Stubdom support will be
continued.
xen side patch: pass kernel/initrd/append parameters to qemu-dm
qemu side patch: reuse load_linux() for xen hvm direct kernel boot.
Different from pc_
"0x1-0x10" looks better than "0x1-10"
Signed-off-by: Hu Tao
---
qapi/string-output-visitor.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qapi/string-output-visitor.c b/qapi/string-output-visitor.c
index e9aca3b..1ab8574 100644
--- a/qapi/string-output-visitor.c
+++ b/qapi
build stub/qemu-chr-open-spice.o only with CONFIG_SPICE, this
suppresses the warning when building without CONFIG_SPICE.
Cc: Nikolay Nikolaev
Signed-off-by: Hu Tao
---
stubs/Makefile.objs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stubs/Makefile.objs b/stubs/Makefile.ob
Hi Michael,
This series is on top of your pci tree.
This series includes two fixups and one patch for adding test of human
format of string output visitor, please review. thanks!
Hu Tao (3):
fixup! libqemustub: add more stubs for qemu-char
fixup! qapi/string-output-visitor: fix bugs
tests
Signed-off-by: Hu Tao
---
tests/test-string-output-visitor.c | 109 ++---
1 file changed, 90 insertions(+), 19 deletions(-)
diff --git a/tests/test-string-output-visitor.c
b/tests/test-string-output-visitor.c
index 28e7359..e89e43c 100644
--- a/tests/test-string-
On Jun 19, 2014, at 9:27 AM, Aurelien Jarno wrote:
> On Tue, Jun 17, 2014 at 11:10:35PM +0100, James Hogan wrote:
>> In KVM mode the bootrom is loaded and executed from the last 1MB of
>> DRAM.
>
> What is the reason for that? I am not opposed to that, but if it is
> really needed, it means tha
Hi,
I am trying to use AHCI controllers with xen. The main reason for that is
because windows is so picky about which type of controller it can boot on, and
if you don't have the right registry settings, you get Error 7B
(http://support.microsoft.com/kb/324103)
So here's my attempt (in "hw/i3
marking as confirmed, see bug 1332409 with the apport-collect
information.
** Changed in: linux (Ubuntu)
Status: Incomplete => Confirmed
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1308341
On Thu, 06/19 22:20, Benoît Canet wrote:
> The Thursday 19 Jun 2014 à 14:13:20 (-0600), Eric Blake wrote :
> > On 06/19/2014 02:01 PM, Benoît Canet wrote:
> > > As the code will start to operate on arbitratry nodes we need the op
> > > blocker
> >
> > s/arbitratry/arbitrary/
> >
> > > to recursi
On Thu, Jun 19, 2014 at 08:30:19AM -0400, Jeff Cody wrote:
> On Thu, Jun 19, 2014 at 04:55:02PM +0800, Stefan Hajnoczi wrote:
> > On Tue, Jun 17, 2014 at 05:53:49PM -0400, Jeff Cody wrote:
> > > Currently, node_name is only filled in when done so explicitly by the
> > > user. If no node_name is sp
On Thu, Jun 05, 2014 at 02:15:36PM +0200, Markus Armbruster wrote:
> +if (sector > total_sectors || nb_sectors > total_sectors - sector) {
> +return false;
> +}
if (sector >= total_sectors || ...) {
pgpUGK7ac14gb.pgp
Description: PGP signature
On 06/19/2014 03:18 PM, Aurelien Jarno wrote:
> I have mixed filling about that. While it clearly makes the code more
> readable, I am not sure it would be any faster given that it might kill
> branch prediction. Any opinion from others?
Given the function pointer is used only once, I don't think
On Thu, Jun 05, 2014 at 02:53:57PM +0200, Paolo Bonzini wrote:
> With virtio-blk dataplane, I/O errors might occur while QEMU is
> not in the main I/O thread. This makes the block layer's
> bdrv_error_action() function thread-safe (modulo changes in
> the monitor to make QMP events thread-safe too
On Wed, Jun 18, 2014 at 10:14:23PM +0300, Michael S. Tsirkin wrote:
> On Mon, Jun 09, 2014 at 06:25:21PM +0800, Hu Tao wrote:
> > From: Paolo Bonzini
> >
> > So that backends can use it.
> >
> > Signed-off-by: Paolo Bonzini
> > Signed-off-by: Hu Tao
>
> OK this breaks mingw build because you
On Thu, 2014-06-19 at 11:53 +1000, Alexey Kardashevskiy wrote:
> On 06/19/2014 10:42 AM, Alexey Kardashevskiy wrote:
> > On 06/19/2014 04:57 AM, Alex Williamson wrote:
> >> On Wed, 2014-06-18 at 21:35 +1000, Alexey Kardashevskiy wrote:
> >>> Slow BAR access path is used when VFIO fails to mmap() BA
Good morning,
Gerd & Andreas
> -Original Message-
> From: Gerd Hoffmann [mailto:kra...@redhat.com]
> Sent: Thursday, June 19, 2014 9:47 PM
> To: Andreas Färber
> Cc: Gonglei (Arei); qemu-devel@nongnu.org; stefa...@redhat.com;
> ebl...@redhat.com; ak...@redhat.com; Huangweidong (C); Luone
> -Original Message-
> From: Andreas Färber [mailto:afaer...@suse.de]
> Sent: Thursday, June 19, 2014 9:33 PM
> To: Gonglei (Arei)
> Cc: Gerd Hoffmann; qemu-devel@nongnu.org; stefa...@redhat.com;
> ebl...@redhat.com; ak...@redhat.com; Huangweidong (C); Luonengjun
> Subject: Re: [PATCH 0/5]
On Wed, 06/18 20:14, Maria Kustova wrote:
> Apart from fixes this patch allows to run multiple tests in a row. If 'seed'
> argument is not specified the runner generates and executes new tests one by
> one till keyboard interruption. Specified seed forces the runner to execute
> only one test with
This is the xen part of "pc & q35: Add new machine opt max-ram-below-4g"
Note: this machine option cannot be used to increase the amount
of ram below 4G.
Signed-off-by: Don Slutz
---
v7:
Rename from "xen-hvm: Pass is_default to xen_hvm_init"
Drop is_default.
Use object_property_ge
This is just below_4g_mem_size and above_4g_mem_size which is used later in
QEMU.
Acked-by: Stefano Stabellini
Signed-off-by: Don Slutz
---
v7:
No change
v6:
No change
v5:
No change
v4:
Switch Acked-by & Signed-off-by
rebase on master
v3:
Add Acked-by: Stefano Stabellini
This is a pc & q35 only machine opt.
If you add enough PCI devices then all mmio for them will not fit
below 4G which may not be the layout the user wanted. This allows
you to increase the below 4G address space that PCI devices can use
(aka decrease ram below 4G) and therefore in more cases not h
Changes v6 to v7:
Drop most of v5 to v6 changes.
Michael S. Tsirkin:
#2 "pc & q35: Add new machine opt max-ram-below-4g":
default: max-ram-below-4g=4g
pc & q35:
calculate lowmem
lowmem = MIN(lowmem, max-ram-below-4g)
calculate above_4g_mem_size a
On Mon, 2014-06-16 at 08:05 -0700, Sean Bruno wrote:
> Signed-off-by: Sean Bruno
> ---
> bsd-user/freebsd/strace.list | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/bsd-user/freebsd/strace.list b/bsd-user/freebsd/strace.list
> index 2800a2d..f10caaa 100644
> --- a/bsd-user/freebsd/stra
Hi Eric,
Thank you for the review.
On 6/19/14 17:23 , "Eric Blake" wrote:
>On 06/05/2014 08:57 AM, Tomoki Sekiyama wrote:
>> Add command to get mounted filesystems information in the guest.
>> The returned value contains a list of mountpoint paths and
>> corresponding disks info such as disk bu
Signed-off-by: Sean Bruno
Signed-off-by: Stacey Son
---
bsd-user/freebsd/os-strace.h | 35 +++
bsd-user/freebsd/strace.list | 2 +-
bsd-user/i386/syscall.h| 21 +
bsd-user/i386/target_arch_sysarch.h| 78
These too similar data structures will be diverging in future updates
from my trees. Rename now.
Signed-off-by: Sean Bruno
---
bsd-user/bsdload.c | 4 ++--
bsd-user/elfload.c | 4 ++--
bsd-user/main.c| 2 +-
bsd-user/qemu.h| 8
4 files changed, 9 insertions(+), 9 deletions(-)
From: Stacey Son
This change moves the system call handler for sysctl(2) and
sysarch(2) from syscall.c to the OS and arch dependent directories.
This eliminates many of the #ifdef's in syscall.c. These system
call handlers are now located in the host os and target arch
directories.
Signed-off-b
This patchset brings us a couple of steps closer to the FreeBSD Development
tree, Stacey Son's bsd-user branch and qemu-devel port maintained out of tree.
These patches are designed to begin to break apart the architectures
in bsd-user for the upcoming new arch support patches.
Patch 1/4 of this
On Wed, Jun 11, 2014 at 04:19:49PM +0100, Leon Alrae wrote:
> From: Yongbok Kim
>
> Signed-off-by: Yongbok Kim
> Signed-off-by: Leon Alrae
> ---
> disas/mips.c|2 ++
> target-mips/translate.c | 18 --
> 2 files changed, 18 insertions(+), 2 deletions(-)
>
> di
On 06/05/2014 06:53 AM, Paolo Bonzini wrote:
> There patch protects vmstop_requested with a lock and introduces
s/There/This/ ?
> qemu_system_vmstop_request_prepare.
>
> Together with the new call to qemu_vmstop_requested in vm_start,
> qemu_system_vmstop_request_prepare avoids a race where the
On Wed, Jun 11, 2014 at 04:19:51PM +0100, Leon Alrae wrote:
> After selecting CPU in QEMU the base ISA will not change. Therefore
> introducing *_arch function pointers that are set in cpu_state_reset to
> point at the appropriate SPECIAL and SPECIAL3 decoding functions, and avoid
> unnecessary 'if
On Wed, Jun 11, 2014 at 04:19:52PM +0100, Leon Alrae wrote:
> Signed-off-by: Leon Alrae
> ---
> target-mips/translate_init.c | 29 +
> 1 files changed, 29 insertions(+), 0 deletions(-)
>
> diff --git a/target-mips/translate_init.c b/target-mips/translate_init.c
> in
On Thu, Jun 19, 2014 at 03:45:39PM +0100, Leon Alrae wrote:
> BadInstr Register (CP0 Register 8, Select 1)
> The BadInstr register is a read-only register that capture the most recent
> instruction which caused an exception.
>
> BadInstrP Register (CP0 Register 8, Select 2)
> The BadInstrP registe
On Thu, Jun 19, 2014 at 03:45:40PM +0100, Leon Alrae wrote:
> Execution of these instructions can trigger exceptions which are supposed
> to update BadInstr/BadInstrP. Therefore saving cpu state in order capture
> the opcode.
As said in the previous patch, the performance impact would be quite
sig
On 06/05/2014 06:53 AM, Paolo Bonzini wrote:
> With virtio-blk dataplane, I/O errors might occur while QEMU is
> not in the main I/O thread. However, it's invalid to call vm_stop
> when we're neither in a VCPU thread nor in the main I/O thread,
> even if we were to take the iothread mutex around i
On Thu, Jun 19, 2014 at 03:40:51PM -0400, Gabriel L. Somlo wrote:
> Also fix minor indentation issues in the surrounding code.
>
> Suggested-by: Michael S. Tsirkin
> Signed-off-by: Gabriel Somlo
Applied, thanks!
> ---
> hw/net/e1000.c | 26 ++
> 1 file changed, 14 inse
On Thu, Jun 19, 2014 at 12:34:24PM -0700, Sanjay Lal wrote:
>
> On Jun 19, 2014, at 9:27 AM, Aurelien Jarno wrote:
>
> > On Tue, Jun 17, 2014 at 11:10:35PM +0100, James Hogan wrote:
> >> In KVM mode the bootrom is loaded and executed from the last 1MB of
> >> DRAM.
> >
> > What is the reason fo
On Mon, 16 Jun 2014 16:05:26 +0300
"Michael S. Tsirkin" wrote:
> qmp-commands.hx has some UTF8 space characters.
> Replace with ascii whitespace.
>
> Signed-off-by: Michael S. Tsirkin
> ---
> qmp-commands.hx | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/qmp-commands
From: Wenchao Xia
Param name is declared as optional, since in code it is an optional
one.
Signed-off-by: Wenchao Xia
Signed-off-by: Paolo Bonzini
Reviewed-by: Eric Blake
Signed-off-by: Luiz Capitulino
---
docs/qmp/qmp-events.txt | 17 -
hw/net/virtio-net.c | 13 +++-
On 19.06.14 16:56, Eric Auger wrote:
On 06/04/2014 02:28 PM, Alexander Graf wrote:
For e500 our approach to supporting platform devices is to create a simple
bus from the guest's point of view within which we map platform devices
dynamically.
We allocate memory regions always within the "platf
On 19.06.14 22:54, Paolo Bonzini wrote:
Il 04/06/2014 14:28, Alexander Graf ha scritto:
But do we need that level of complexity for normal devices usually? In a
normal platform world (SoCs, PV machines) we have a flat memory
layout we
can plug our device memory into. We also have a flat IRQ
From: Wenchao Xia
Signed-off-by: Wenchao Xia
Signed-off-by: Paolo Bonzini
Reviewed-by: Eric Blake
Signed-off-by: Luiz Capitulino
---
docs/qmp/qmp-events.txt | 12
qapi-event.json | 9 +
vl.c| 2 +-
3 files changed, 10 insertions(+), 13 delet
From: Amos Kong
We always generate a space between type and identifier in parameter
and variable declarations, even when idiomatic C style doesn't have
a space there. Suppress it.
Signed-off-by: Amos Kong
Signed-off-by: Luiz Capitulino
---
scripts/qapi-commands.py | 4 ++--
scripts/qapi.py
From: Wenchao Xia
Signed-off-by: Wenchao Xia
Signed-off-by: Paolo Bonzini
Reviewed-by: Eric Blake
Signed-off-by: Luiz Capitulino
---
block/qcow2-refcount.c | 14 --
docs/qmp/qmp-events.txt | 22 --
qapi/block-core.json| 24
3 file
From: Wenchao Xia
Signed-off-by: Wenchao Xia
Signed-off-by: Paolo Bonzini
Reviewed-by: Eric Blake
Signed-off-by: Luiz Capitulino
---
docs/qmp/qmp-events.txt | 12
qapi-event.json | 10 ++
vl.c| 2 +-
3 files changed, 11 insertions(+), 13 dele
On Wed, Jun 11, 2014 at 04:19:31PM +0100, Leon Alrae wrote:
> Signed-off-by: Leon Alrae
> ---
> v2:
> * move new CPU definition to a separate patch
> ---
> target-mips/mips-defs.h | 28 +++-
> 1 files changed, 19 insertions(+), 9 deletions(-)
>
> diff --git a/target-mip
From: Wenchao Xia
Signed-off-by: Wenchao Xia
Signed-off-by: Paolo Bonzini
Reviewed-by: Eric Blake
Signed-off-by: Luiz Capitulino
---
include/monitor/monitor.h | 40 -
monitor.c | 220 +
stubs/Makefile.objs| 1 -
On Wed, Jun 11, 2014 at 04:19:45PM +0100, Leon Alrae wrote:
> Add abs argument to the existing softfloat minmax() function and define
> new float{32,64}_{min,max}nummag functions.
>
> minnummag(x,y) returns x if |x| < |y|,
>returns y if |y| < |x|,
>otherwise minnum(
On Wed, Jun 11, 2014 at 04:19:48PM +0100, Leon Alrae wrote:
> Status.FR bit must be ignored on write and read as 1 when an implementation of
> Release 6 of the Architecture in which a 64-bit floating point unit is
> implemented.
>
> Signed-off-by: Leon Alrae
> ---
> target-mips/translate.c |
On Wed, Jun 11, 2014 at 04:19:50PM +0100, Leon Alrae wrote:
> JR has been removed in R6 and now this instruction will cause Reserved
> Instruction Exception. Therefore use JALR with rd=0 which is equivalent to JR.
>
> Signed-off-by: Leon Alrae
> ---
> hw/mips/mips_malta.c | 10 +-
> 1
On 06/05/2014 08:57 AM, Tomoki Sekiyama wrote:
> Add command to get mounted filesystems information in the guest.
> The returned value contains a list of mountpoint paths and
> corresponding disks info such as disk bus type, drive address,
> and the disk controllers' PCI addresses, so that manageme
From: Amos Kong
It's ugly to add const prefix for parameter type by an if statement
outside c_type(). This patch adds a parameter to do it.
Signed-off-by: Amos Kong
Suggested-by: Markus Armbruster
Reviewed-by: Eric Blake
Reviewed-by: Paolo Bonzini
Reviewed-by: Markus Armbruster
Signed-off-b
From: Paolo Bonzini
The next patch will modify this function to initialize state that is
common to all backends.
Reviewed-by: Fam Zheng
Signed-off-by: Paolo Bonzini
Signed-off-by: Luiz Capitulino
---
backends/baum.c | 2 +-
backends/msmouse.c| 2 +-
include/sysemu/char.h | 9 +++
From: Wenchao Xia
This patch also eliminates build time warning caused by
QAPI_EVENT_MAX = 0.
Signed-off-by: Wenchao Xia
Signed-off-by: Paolo Bonzini
Reviewed-by: Eric Blake
Signed-off-by: Luiz Capitulino
---
docs/qmp/qmp-events.txt | 15 ---
qapi-event.json | 12 +++
From: Wenchao Xia
Signed-off-by: Wenchao Xia
Signed-off-by: Paolo Bonzini
Reviewed-by: Eric Blake
Signed-off-by: Luiz Capitulino
---
balloon.c | 13 -
docs/qmp/qmp-events.txt| 17 -
hw/virtio/virtio-balloon.c | 6 --
include/sysemu/balloo
From: Wenchao Xia
Signed-off-by: Wenchao Xia
Signed-off-by: Paolo Bonzini
Reviewed-by: Eric Blake
Signed-off-by: Luiz Capitulino
---
cpus.c | 4 +++-
docs/qmp/qmp-events.txt | 12
qapi-event.json | 9 +
3 files changed, 12 insertions(+), 13 del
On Wed, Jun 11, 2014 at 04:19:42PM +0100, Leon Alrae wrote:
> From: Yongbok Kim
>
> Signed-off-by: Yongbok Kim
> Signed-off-by: Leon Alrae
> ---
> v2:
> * have separate bitswap and dbitswap helpers and use common function
> * use TCG_CALL_NO_RWG_SE flag for bitswap and dbitswap helpers
> * remo
On Wed, Jun 11, 2014 at 04:19:39PM +0100, Leon Alrae wrote:
> Use "R6_" prefix in front of all new Multiply / Divide instructions for
> easier differentiation between R6 and preR6.
>
> Signed-off-by: Leon Alrae
> ---
> v2:
> * use tcg_gen_mul_* for cases where the high part is discarded
> ---
>
On Wed, Jun 11, 2014 at 04:19:43PM +0100, Leon Alrae wrote:
> From: Yongbok Kim
>
> Introduce MIPS32R6 Compact Branch instructions which do not have delay slot -
> they have forbidden slot instead. However, current implementation does not
> support forbidden slot yet.
>
> Signed-off-by: Yongbok
From: Wenchao Xia
Signed-off-by: Wenchao Xia
Signed-off-by: Paolo Bonzini
Reviewed-by: Eric Blake
Signed-off-by: Luiz Capitulino
---
docs/qmp/qmp-events.txt | 14 --
hw/acpi/core.c | 4 ++--
qapi-event.json | 12
3 files changed, 14 insertions(+), 1
On Wed, Jun 11, 2014 at 04:19:36PM +0100, Leon Alrae wrote:
> For better code readability and to avoid 'if' statements for all R6 and preR6
> instructions whose opcodes are the same - decode_opc_special* functions are
> split into functions with _r6 and _legacy suffixes.
>
> *_r6 functions will co
On Wed, Jun 11, 2014 at 04:19:41PM +0100, Leon Alrae wrote:
> In R6 the special behaviour for data references is also specified for Kernel
> and Supervisor mode. Therefore MIPS_HFLAG_UX is replaced by generic
> MIPS_HFLAG_AWRAP indicating enabled 32-bit address wrapping.
>
> Signed-off-by: Leon Al
On 06/05/2014 08:57 AM, Tomoki Sekiyama wrote:
> If an array of mount point paths is specified as 'mountpoints' argument
> of guest-fsfreeze-freeze-list, qemu-ga will only freeze the file systems
> mounted on specified paths in Linux guests. Otherwise, it works as the
> same way as guest-fsfreeze-f
From: Wenchao Xia
The monitor is now hooked on the new event mechanism, so that later
patches can convert event callers one by one. Most code are copied from
old monitor_protocol_* functions with some modification.
Note that two build time warnings will be raised after this patch. One is
caused
From: Paolo Bonzini
Reviewed-by: Fam Zheng
Signed-off-by: Paolo Bonzini
Signed-off-by: Luiz Capitulino
---
qemu-char.c | 32
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/qemu-char.c b/qemu-char.c
index 26994aa..9470ea2 100644
--- a/qemu-char
From: Wenchao Xia
qapi-event.py will parse the schema and generate qapi-event.c, then
the API in qapi-event.c can be used to handle events in qemu code.
All API have prefix "qapi_event".
The script mainly includes two parts: generate API for each event
define, generate an enum type for all defin
The following changes since commit 6baa963f4dcc211801608ebe1e0482b51653350c:
Merge remote-tracking branch 'remotes/bonzini/scsi-next' into staging
(2014-06-19 16:18:04 +0100)
are available in the git repository at:
git://repo.or.cz/qemu/qmp-unstable.git queue/qmp
for you to fetch changes
Il 19/06/2014 16:39, Michael S. Tsirkin ha scritto:
> pci_word_test_and_set_mask(dev->wmask + pos + PCI_EXP_SLTCTL,
> PCI_EXP_SLTCTL_PIC |
> + PCI_EXP_SLTCTL_PCC |
> PCI_EXP_SLTCTL_AIC |
>
Il 04/06/2014 14:28, Alexander Graf ha scritto:
But do we need that level of complexity for normal devices usually? In a
normal platform world (SoCs, PV machines) we have a flat memory layout we
can plug our device memory into. We also have a flat IRQ model where we
can plug our device IRQs into
From: Wenchao Xia
Since gettimeofday() is used in this header file as a macro define,
include the function's define header file, to avoid compile warning
when other file include os-posix.h.
Signed-off-by: Wenchao Xia
Reviewed-by: Eric Blake
Signed-off-by: Paolo Bonzini
Signed-off-by: Luiz Cap
I recently ran into a confusing stale-file issue when adding a new
device to an ARM board: when doing a make not from clean after
having switched from master to my branch the .o file for the new
device got linked into the arm-softmmu exe but not the aarch64-softmmu
one. This turns out to be an issu
From: Wenchao Xia
Signed-off-by: Wenchao Xia
Signed-off-by: Paolo Bonzini
Reviewed-by: Eric Blake
Signed-off-by: Luiz Capitulino
---
Makefile | 3 ++-
qapi-event.json | 0
qapi-schema.json | 2 ++
3 files changed, 4 insertions(+), 1 deletion(-)
create mode 100644 qapi-event.json
d
The Thursday 19 Jun 2014 à 14:26:04 (-0600), Eric Blake wrote :
> On 06/19/2014 02:20 PM, Benoît Canet wrote:
>
> >> This unconditionally removes all blockers of type op of the subtree
> >>
> >> Yikes - is that really what we want? Or do we need to start doing
> >> blocker reference counting?
>
From: Wenchao Xia
Since VNC_CONNECTED, VNC_DISCONNECTED, VNC_INITIALIZED share some
common functions, convert them in one patch.
Signed-off-by: Wenchao Xia
Signed-off-by: Paolo Bonzini
Reviewed-by: Eric Blake
Signed-off-by: Luiz Capitulino
---
docs/qmp/qmp-events.txt | 90 -
On Thu, Jun 19, 2014 at 9:24 PM, Michael S. Tsirkin wrote:
> On Thu, Jun 19, 2014 at 08:35:42PM +0300, Nikolay Nikolaev wrote:
> > Use qtest-obj-y to get the right library order. CONFIG_POSIX ensures
> > mingw compilation won't break.
> >
> > Signed-off-by: Nikolay Nikolaev
>
> okay but why does
From: Paolo Bonzini
This made the lexer wait for a closing *double* quote.
Signed-off-by: Paolo Bonzini
Reviewed-by: Eric Blake
Reviewed-by: Amos Kong
Signed-off-by: Luiz Capitulino
---
qobject/json-lexer.c | 4 ++--
tests/check-qjson.c | 7 +++
2 files changed, 9 insertions(+), 2 dele
From: Wenchao Xia
This file holds some functions that do not need to be generated.
Signed-off-by: Wenchao Xia
Reviewed-by: Eric Blake
Signed-off-by: Paolo Bonzini
Signed-off-by: Luiz Capitulino
---
include/qapi/qmp-event.h | 27 ++
qapi/Makefile.objs | 1 +
qapi/qmp-e
On 06/19/2014 02:20 PM, Benoît Canet wrote:
>> This unconditionally removes all blockers of type op of the subtree
>>
>> Yikes - is that really what we want? Or do we need to start doing
>> blocker reference counting?
>>
>> Consider:
>>
>> base <- snap1 <- active
>>
>> Looking at Jeff's proposal
From: Wenchao Xia
SPICE_INITIALIZED, SPICE_CONNECTED, SPICE_DISCONNECTED and
SPICE_MIGRATE_COMPLETED are converted in one patch, since they
use some common functions. inet_strfamily() is removed since no
callers exist anymore.
Note that there is no existing doc for SPICE_MIGRATE_COMPLETED
in doc
From: Wenchao Xia
This patch also eliminates build time warning caused by no caller
of monitor_qapi_event_throttle().
Signed-off-by: Wenchao Xia
Signed-off-by: Paolo Bonzini
Reviewed-by: Eric Blake
Signed-off-by: Luiz Capitulino
---
docs/qmp/qmp-events.txt | 16
hw/ppc/spap
The Thursday 19 Jun 2014 à 14:13:20 (-0600), Eric Blake wrote :
> On 06/19/2014 02:01 PM, Benoît Canet wrote:
> > As the code will start to operate on arbitratry nodes we need the op blocker
>
> s/arbitratry/arbitrary/
>
> > to recursively block or unblock whole BDS subtrees.
> >
> > Also add a
From: Max Reitz
qapi-schema.json has been split into three smaller JSON files in qapi/.
Add them as dependencies for the code generation in the Makefile, so
changes to them will result in a rebuilt of all QAPI-dependent code.
Signed-off-by: Max Reitz
Signed-off-by: Paolo Bonzini
Reviewed-by: E
From: Amos Kong
A space after * when declaring a pointer type is redundant.
Signed-off-by: Amos Kong
Reviewed-by: Eric Blake
Reviewed-by: Paolo Bonzini
Reviewed-by: Markus Armbruster
Signed-off-by: Luiz Capitulino
---
scripts/qapi-visit.py | 20 ++--
1 file changed, 10 inse
1 - 100 of 316 matches
Mail list logo