On Mon, Jun 30, 2014 at 01:33:42PM +0800, Hu Tao wrote:
> On Sun, Jun 29, 2014 at 06:20:22PM +0300, Michael S. Tsirkin wrote:
> > On Wed, Jun 25, 2014 at 05:04:14PM +0800, Hu Tao wrote:
> > > ..to prevent one memory backend from being used by more than one numa
> > > node.
> >
> > Thanks, but plea
On Sun, 29 Jun 2014 18:13:53 +0300
"Michael S. Tsirkin" wrote:
> On Tue, Jun 24, 2014 at 07:06:58PM +0200, Greg Kurz wrote:
> > The current legacy virtio devices have a fundamental flaw: they all share
> > data between host and guest with guest endianness ordering. This is ok for
> > nearly all ar
On Mon, Jun 30, 2014 at 10:51:49AM +0800, Chen, Tiejun wrote:
> On 2014/6/26 18:03, Paolo Bonzini wrote:
> >Il 26/06/2014 11:18, Chen, Tiejun ha scritto:
> >>
> >>>
> >>>- offsets 0x..0x0fff map to configuration space of the host MCH
> >>>
> >>
> >>Are you saying the config space in the video d
Add 'nocow' option so that users could have a chance to set NOCOW flag to
newly created files. It's useful on btrfs file system to enhance performance.
Btrfs has low performance when hosting VM images, even more when the guest
in those VM are also using btrfs as file system. One way to mitigate th
On Sun, Jun 29, 2014 at 06:20:22PM +0300, Michael S. Tsirkin wrote:
> On Wed, Jun 25, 2014 at 05:04:14PM +0800, Hu Tao wrote:
> > ..to prevent one memory backend from being used by more than one numa
> > node.
>
> Thanks, but please always make the msg content self-contained
> so it can be underst
Tyrel Datwyler writes:
> On 06/27/2014 12:37 AM, Nikunj A Dadhania wrote:
>> PAPR compliant guest calls this in absence of kdump. This finally
>> reaches the guest and can be handled according to the policies set by
>> higher level tools(like taking dump) for further analysis by tools like
>> cra
>>> On 6/27/2014 at 07:48 PM, in message
<20140627114806.gm12...@stefanha-thinkpad.muc.redhat.com>, Stefan Hajnoczi
wrote:
> On Mon, Jun 23, 2014 at 05:17:02PM +0800, Chunyan Liu wrote:
> > Add 'nocow' option so that users could have a chance to set NOCOW flag to
> > newly created files. It's
Hi,
I have written a Java code generator to allow a Java control process to
interface with the QApi subsystem. The code is autogenerated from the
JSON schema, and imposes as much strict typing as is possible. It can
easily be regenerated from any branch or directory if you want to test
agains
On 2014/6/25 15:55, Paolo Bonzini wrote:
Il 25/06/2014 09:34, Chen, Tiejun ha scritto:
On 2014/6/25 14:48, Paolo Bonzini wrote:
Second problem. Your IGD passthrough code currently works with QEMU's
PIIX4-based machine. But what happens if you try to extend it, so that
Yes, current xen machi
On 2014/6/29 20:14, Michael S. Tsirkin wrote:
On Sun, Jun 29, 2014 at 03:56:10PM +0800, Chen, Tiejun wrote:
On 2014/6/27 19:26, Paolo Bonzini wrote:
Il 27/06/2014 10:34, Chen, Tiejun ha scritto:
So how to separate this to specific to xen? Or you mean we need to
create an new machine to addre
On 2014/6/26 18:03, Paolo Bonzini wrote:
Il 26/06/2014 11:18, Chen, Tiejun ha scritto:
- offsets 0x..0x0fff map to configuration space of the host MCH
Are you saying the config space in the video device?
No, I am saying in a new BAR, or at some magic offset of an existing
MMIO BAR.
Hi, Vadim
I read the kvm-2012-forum paper < KVM as a Microsoft-compatible hypervisor>,
Any update and other references, please?
Thanks,
Zhang Haoyu
On 2014/6/29 19:43, Michael S. Tsirkin wrote:
On Fri, Jun 27, 2014 at 05:22:18PM +0800, Chen, Tiejun wrote:
On 2014/6/25 15:13, Michael S. Tsirkin wrote:
On Wed, Jun 25, 2014 at 10:17:21AM +0800, Tiejun Chen wrote:
[snip]
diff --git a/hw/xen/xen_pt.h b/hw/xen/xen_pt.h
index 507165c..25147cf
On 23 June 2014 10:35, Peter Maydell wrote:
> This set of cocoa UI patches:
> * fixes the completely broken handling of absolute positioning
>(tablet-style) input devices
> * fixes a bug where if the first surface created was the same 640x480
>as the initial window we'd never actually dr
Virtio header has been changed to compile and work with a real device.
Functions bus_foreach and device_find have been implemented for PCI.
Virtio-blk test case now opens a fake device.
Signed-off-by: Marc Marí
---
tests/Makefile|3 +-
tests/libqos/virtio-pci.c | 127 +++
On 29 June 2014 21:34, Michael S. Tsirkin wrote:
> BTW, I notice that out of the multiple make check runs,
> one failed:
>
> https://travis-ci.org/qemu/qemu/jobs/28721760
>
> I'm guessing this is unrelated to the tree itself,
> this could be the race PM saw on arm manifesting on x86.
> we should t
On Sun, Jun 29, 2014 at 06:36:49PM +0100, Peter Maydell wrote:
> On 29 June 2014 17:58, Michael S. Tsirkin wrote:
> > The following changes since commit 4daebe014effba37246b81d25acca5fa2df82f01:
> >
> > Merge remote-tracking branch 'remotes/xtensa/tags/20140629-xtens
On 27 June 2014 19:28, Luiz Capitulino wrote:
> On Wed, 25 Jun 2014 15:15:35 +0200
> Paolo Bonzini wrote:
>
>> Il 25/06/2014 15:13, Luiz Capitulino ha scritto:
>> > On Tue, 24 Jun 2014 16:33:56 -0700
>> > Wenchao Xia wrote:
>> >
>> >> From: Paolo Bonzini
>> >>
>> >> On old GLib, the test needs
From: Greg Kurz
We currently have a virtio_is_big_endian() helper that provides the target
endianness to the virtio code. As of today, the helper returns a fixed
compile-time value. Of course, this will have to change if we want to
support target endianness changes at run-time.
Let's move the TA
From: Eduardo Habkost
We don't support sparse NUMA node IDs yet, so this changes QEMU to
reject configs where not all nodes are present.
Signed-off-by: Eduardo Habkost
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
Reviewed-by: Eric Blake
---
numa.c | 17 -
From: Greg Kurz
Signed-off-by: Greg Kurz
Reviewed-by: Alexander Graf
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/virtio/virtio-balloon.c | 25 ++---
1 file changed, 14 insertions(+), 11 deletions(-)
diff --git a/hw/virtio/virtio-balloon.c b/h
From: Rusty Russell
Note that st*_raw and ld*_raw are effectively replaced by st*_p and ld*_p.
Signed-off-by: Rusty Russell
Reviewed-by: Anthony Liguori
[ pass VirtIODevice * to memory accessors,
converted new tswap locations to virtio_tswap,
Greg Kurz ]
Signed-off-by: Greg Kurz
Reviewed
From: Rusty Russell
Note that st*_raw and ld*_raw are effectively replaced by st*_p and ld*_p.
Signed-off-by: Rusty Russell
Reviewed-by: Anthony Liguori
[ pass VirtIODevice * to memory accessors,
Greg Kurz ]
Signed-off-by: Greg Kurz
Reviewed-by: Alexander Graf
Reviewed-by: Michael S. Tsir
From: Greg Kurz
This is the virtio-access.h header file taken from Rusty's "endian-ambivalent
targets using legacy virtio" patch. It introduces helpers that should be used
when accessing vring data or by drivers for data that contains headers.
The virtio config space is also target endian, but th
From: Greg Kurz
Some CPU families can dynamically change their endianness. This means we
can have little endian ppc or big endian arm guests for example. This has
an impact on legacy virtio data structures since they are target endian.
We hence introduce a new property to track the endianness of
This requires a custom ovmf image with sata controller for testing [0]
[0]: http://reza.jelveh.me/assets/OVMF.fd.bz2
From: Reza Jelveh
The data byte count(DBC) read from the description information is defined for
21:00. 30:22 are reserved and 31 is the Interrupt on Completion (I) flag.
Interrupt is not implemented in QEMU. tbl_entry_size is a signed integer and
improperly reading the DBC leads to a negative of
Fix typo in field name.
Strip two consequitive empty lines.
Signed-off-by: Michael S. Tsirkin
---
docs/specs/vhost-user.txt | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/docs/specs/vhost-user.txt b/docs/specs/vhost-user.txt
index 6abb697..650bb18 100644
--- a/docs/specs/v
From: Greg Kurz
Note that st*_raw and ld*_raw are effectively replaced by st*_p and ld*_p.
Signed-off-by: Greg Kurz
Reviewed-by: Alexander Graf
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/9pfs/virtio-9p-device.c | 3 ++-
1 file changed, 2 insertions(+), 1 deleti
From: Eduardo Habkost
The same nodeid shouldn't appear multiple times in the command-line.
In addition to detecting command-line mistakes, this will fix a bug
where nb_numa_nodes may become larger than MAX_NODES (and cause
out-of-bounds access on the numa_info array).
Signed-off-by: Eduardo Hab
On 29 June 2014 13:14, wrote:
> From: Riku Voipio
>
> The following changes since commit de6793e8c2a4d34e28e5ea385276249fc98109ec:
>
> Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20140627' into
> staging (2014-06-29 11:43:31 +0100)
>
> are available in the git repository at:
>
>
From: Greg Kurz
While we are here, we also check virtio_load() return value.
Signed-off-by: Greg Kurz
Reviewed-by: Alexander Graf
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/virtio/virtio-rng.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
On 29 June 2014 17:58, Michael S. Tsirkin wrote:
> The following changes since commit 4daebe014effba37246b81d25acca5fa2df82f01:
>
> Merge remote-tracking branch 'remotes/xtensa/tags/20140629-xtensa' into
> staging (2014-06-29 16:17:50 +0100)
>
> are availa
From: Marcelo Tosatti
It is necessary to reset RTC interrupt reinjection backlog if
guest time is synchronized via a different mechanism, such as
QGA's guest-set-time command.
Failing to do so causes both corrections to be applied (summed),
resulting in an incorrect guest time.
Signed-off-by: M
From: Greg Kurz
If we want to support targets that can change endianness (modern PPC and
ARM for the moment), we need to add a per-CPU class method to be called
from the virtio code. The virtio_ prefix in the name is a hint for people
to avoid misusage (aka. anywhere but from the virtio code).
T
On Sun, Jun 29, 2014 at 5:16 AM, Peter Lieven wrote:
> Hi,
>
> while debugging a VNC issue I found this:
>
> case VNC_MSG_CLIENT_CUT_TEXT:
> if (len == 1)
> return 8;
>
> if (len == 8) {
> uint32_t dlen = read_u32(data, 4);
> if (dlen > 0)
>
From: Greg Kurz
As of today, vhost assumes guest and host have the same endianness.
This is definitely not compatible with modern PPC64 and ARM that
can change endianness at runtime. Let's disable vhost-net and print
an error message when we detect such a case:
qemu-system-ppc64: vhost-net does
From: Hu Tao
Signed-off-by: Hu Tao
Acked-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
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/tes
From: Greg Kurz
The device endianness is the cpu endianness at device reset time.
Signed-off-by: Greg Kurz
Reviewed-by: Alexander Graf
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
target-ppc/cpu.h| 2 ++
target-ppc/translate_init.c | 15 +++
From: Rusty Russell
We also fix max_nr_ports at reset time as the device endianness may have
changed.
Signed-off-by: Rusty Russell
Reviewed-by: Anthony Liguori
[ pass VirtIODevice * to memory accessors,
fix max_nr_ports at reset time,
Greg Kurz ]
Signed-off-by: Greg Kurz
Reviewed-by: Ale
From: Rusty Russell
Quoting original text from Rusty: "This is based on a simpler patch by Anthony
Liguouri".
Signed-off-by: Rusty Russell
[ add VirtIODevice * argument to most helpers,
Greg Kurz ]
Signed-off-by: Greg Kurz
Reviewed-by: Thomas Huth
Reviewed-by: Alexander Graf
Reviewed-by:
From: Rusty Russell
Signed-off-by: Rusty Russell
Reviewed-by: Anthony Liguori
[ pass VirtIODevice * to memory accessors,
converted new tswap locations to virtio_tswap,
Greg Kurz ]
Signed-off-by: Greg Kurz
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/net/virt
From: Rusty Russell
Signed-off-by: Rusty Russell
Reviewed-by: Anthony Liguori
[ pass VirtIODevice * to memory accessors,
Greg Kurz ]
Signed-off-by: Greg Kurz
Reviewed-by: Alexander Graf
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/virtio/virtio-balloon.c | 8
From: Greg Kurz
There is a need to add some more fields to VirtIODevice that should be
migrated (broken status, endianness). The problem is that we do not
want to break compatibility while adding a new feature... This issue has
been addressed in the generic VMState code with the use of optional
s
From: Greg Kurz
Signed-off-by: Greg Kurz
Reviewed-by: Alexander Graf
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/char/virtio-serial-bus.c | 34 --
1 file changed, 20 insertions(+), 14 deletions(-)
diff --git a/hw/char/virtio-seria
From: Greg Kurz
Signed-off-by: Greg Kurz
Reviewed-by: Alexander Graf
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/block/virtio-blk.c | 24
1 file changed, 16 insertions(+), 8 deletions(-)
diff --git a/hw/block/virtio-blk.c b/hw/block/virt
From: Greg Kurz
In order to migrate virtio subsections, they should be streamed after
the device itself. We need the device specific code to be called from
the common migration code to achieve this. This patch introduces load
and save methods for this purpose.
Suggested-by: Andreas Färber
Signe
From: Alexander Graf
The device configuration is set at realize time and never changes. It
should not be migrated as it is done today. For the sake of compatibility,
let's just skip them at load time.
Signed-off-by: Alexander Graf
[ added missing casts to uint16_t *,
added From, SoB and commi
From: Cédric Le Goater
TCP connectivity fails when the guest has a different endianness.
The packets are silently dropped on the host by the tap backend
when they are read from user space because the endianness of the
virtio-net header is in the wrong order. These lines may appear
in the guest co
From: Greg Kurz
Signed-off-by: Greg Kurz
Reviewed-by: Alexander Graf
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/net/virtio-net.c | 22 --
1 file changed, 16 insertions(+), 6 deletions(-)
diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c
From: Eduardo Habkost
Based on "enable sparse node numbering" patch from Nishanth Aravamudan,
but without the code to actually support sparse node IDs. This just adds
the code to keep track of present/non-present nodes on the command-line,
without changing any behavior.
Signed-off-by: Nishanth A
From: Damjan Marion
Signed-off-by: Damjan Marion
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
docs/specs/vhost-user.txt | 28 ++--
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/docs/specs/vhost-user.txt b/docs/specs/vhost-user
From: Don Slutz
QEMU 2.0 changed memory layout for isapc and pc-0.10 to pc-0.13.
This prevents migration from QEMU 1.7.0 for these
machine types when -m 3.5G is specified.
Paolo Bonzini asked that:
smbios_legacy_mode = true;
has_reserved_memory = false;
option_rom_has_mr = true;
From: Damjan Marion
Old code was affected by memory gaps which resulted in buffer pointers
pointing to address outside of the mapped regions.
Here we are introducing following changes:
- new function qemu_get_ram_block_host_ptr() returns host pointer
to the ram block, it is needed to calcula
From: "Dr. David Alan Gilbert"
Commit 'virtio: validate config_len on load' restricted config_len
loaded from the wire to match the config_len that the device had.
Unfortunately, there are cases where this isn't true, the one
we found it on was the wce addition in virtio-blk.
Allow mismatched c
s/if given for/is given for/;
Reported-by: Hu Tao
Signed-off-by: Michael S. Tsirkin
---
numa.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/numa.c b/numa.c
index 47049a5..6c2eae7 100644
--- a/numa.c
+++ b/numa.c
@@ -161,7 +161,7 @@ void set_numa_nodes(void)
n
Fix English in comment:
s/the each/each/
s/ \*\// \*\//
Signed-off-by: Michael S. Tsirkin
Reviewed-by: Igor Mammedov
---
target-openrisc/translate.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target-openrisc/translate.c b/target-openrisc/translate.c
index b728718
From: Eduardo Habkost
The property name is "prog_if", not "prof_if".
Signed-off-by: Eduardo Habkost
Reported-by: BALATON Zoltan
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
include/hw/i386/pc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/incl
From: Eduardo Habkost
For each compat property on PC_Q35_COMPAT_*, there are only two
possibilities:
* If the device is never instantiated when using a machine other than
pc-q35, then the compat property can be safely added to
PC_COMPAT_*;
* If the device can be instantiated when using a
The following changes since commit 4daebe014effba37246b81d25acca5fa2df82f01:
Merge remote-tracking branch 'remotes/xtensa/tags/20140629-xtensa' into
staging (2014-06-29 16:17:50 +0100)
are available in the git repository at:
git://git.kernel.org/pub/scm/virt/kvm/mst/qem
Fix up English in comments:
s/the each/each/
Signed-off-by: Michael S. Tsirkin
Reviewed-by: Igor Mammedov
---
numa.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/numa.c b/numa.c
index e471afe..47049a5 100644
--- a/numa.c
+++ b/numa.c
@@ -172,7 +172,7 @@ void set_numa_node
> Am 29.06.2014 um 17:13 schrieb "Michael S. Tsirkin" :
>
>> On Tue, Jun 24, 2014 at 07:06:58PM +0200, Greg Kurz wrote:
>> The current legacy virtio devices have a fundamental flaw: they all share
>> data between host and guest with guest endianness ordering. This is ok for
>> nearly all archite
cg/ppc: Fix failure in tcg_out_mem_long (2014-06-27 13:23:41 +0100)
>>
>> are available in the git repository at:
>>
>> g...@github.com:OSLL/qemu-xtensa.git tags/20140629-xtensa
>
> Can you fix up whatever you're using to generate these emails,
> please? T
are available in the git repository at:
>
> g...@github.com:OSLL/qemu-xtensa.git tags/20140629-xtensa
Can you fix up whatever you're using to generate these emails,
please? This isn't a valid git url, you probably meant
git://github.com/OSLL/qemu-xtensa.git tags/20140629-
On Fri, Jun 20, 2014 at 01:55:40PM +0800, Hu Tao wrote:
> 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!
All applied, thanks!
>
> Hu Tao (3):
> fixup!
On Wed, Jun 25, 2014 at 05:04:14PM +0800, Hu Tao wrote:
> ..to prevent one memory backend from being used by more than one numa
> node.
Thanks, but please always make the msg content self-contained
so it can be understood without the subject.
E.g. here, just drop "..to".
Are you sure we want this
On 27 June 2014 20:08, Kevin Wolf wrote:
> The following changes since commit 2b5b7ae917e8db48431631b1c5d909fa46c223a6:
>
> Merge remote-tracking branch 'remotes/mjt/tags/trivial-patches-2014-06-24'
> into staging (2014-06-24 17:14:57 +0100)
>
> are available in the git repository at:
>
>
> g
On Tue, Jun 24, 2014 at 07:06:58PM +0200, Greg Kurz wrote:
> The current legacy virtio devices have a fundamental flaw: they all share
> data between host and guest with guest endianness ordering. This is ok for
> nearly all architectures that have fixed endianness. Unfortunately, it breaks
> for r
On Tue, Jun 24, 2014 at 07:55:03PM +0200, Greg Kurz wrote:
> As of today, vhost assumes guest and host have the same endianness.
> This is definitely not compatible with modern PPC64 and ARM that
> can change endianness at runtime. Let's disable vhost-net and print
> an error message when we detect
On Thu, Jun 26, 2014 at 06:33:17PM -0300, Eduardo Habkost wrote:
> This is just a cleanup to make sure QEMU validate the NUMA node IDs on the
> command-line. After that, we may eventually change the code to accept sparse
> node IDs under some circumstances (but I am not sure that would be material
Subject has a typo.
Fixed it up.
On Thu, Jun 26, 2014 at 11:01:32PM +0200, Damjan Marion wrote:
> Old code was affected by memory gaps which resulted in buffer pointers
> pointing to address outside of the mapped regions.
>
> Here we are introducing following changes:
> - new function qemu_get_
On Fri, Jun 27, 2014 at 08:02:48AM +0300, Nikolay Nikolaev wrote:
>
>
>
> On Fri, Jun 27, 2014 at 12:01 AM, Damjan Marion wrote:
>
> Old code was affected by memory gaps which resulted in buffer pointers
> pointing to address outside of the mapped regions.
>
> Here we are introduc
On Thu, Jun 26, 2014 at 11:01:32PM +0200, Damjan Marion wrote:
> Old code was affected by memory gaps which resulted in buffer pointers
> pointing to address outside of the mapped regions.
>
> Here we are introducing following changes:
> - new function qemu_get_ram_block_host_ptr() returns host p
On 27 June 2014 20:41, Luiz Capitulino wrote:
> The following changes since commit d4cba13bdf251baeedb36b87c1e9f6766773e380:
>
> tcg/ppc: Fix failure in tcg_out_mem_long (2014-06-27 13:23:41 +0100)
>
> are available in the git repository at:
>
> git://repo.or.cz/qemu/qmp-unstable.git queue/qmp
If you find that patch too strict, I have another patch ready (needs some final
testing) which
works around all the possible corruption issues iff
a) width % VNC_DIRTY_PIXELS_PER_BIT != 0 (while still keep it working)
b) width > VNC_MAX_WIDTH || heigth > VNC_MAX_HEIGTH
Peter
Am 27.06.2014 12:4
On Fri, Jun 27, 2014 at 08:02:48PM +0100, Dr. David Alan Gilbert (git) wrote:
> From: "Dr. David Alan Gilbert"
>
> Commit 'virtio: validate config_len on load' restricted config_len
> loaded from the wire to match the config_len that the device had.
>
> Unfortunately, there are cases where this
On 27 June 2014 15:24, Stefan Hajnoczi wrote:
> The following changes since commit ff4873cb8c81db89668d8b56e19e57b852edb5f5:
>
> coroutine-win32.c: Add noinline attribute to work around gcc bug
> (2014-06-26 14:08:14 +0100)
>
> are available in the git repository at:
>
> git://github.com/stef
From: Paul Burton
Add a definition of the SIOCGIFINDEX ioctl, allowing its use by target
programs.
Signed-off-by: Paul Burton
Signed-off-by: Riku Voipio
---
linux-user/ioctls.h | 1 +
linux-user/syscall_defs.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/linux-user/ioctls.h b/l
From: Paul Burton
The tv argument to the settimeofday syscall is allowed to be NULL, if
the program only wishes to provide the timezone. QEMU previously
returned -EFAULT when tv was NULL. Instead, execute the syscall &
provide NULL to the kernel as the target program expected.
Signed-off-by: Pau
From: Paul Burton
Calls to the mount syscall can legitimately provide NULL as the value
for the source of filesystemtype arguments, which QEMU would previously
reject & return -EFAULT to the target program. An example of this is
remounting an already mounted filesystem with different properties.
From: Wim Vander Schelden
Signed-off-by: Wim Vander Schelden
Signed-off-by: Riku Voipio
---
linux-user/syscall.c | 46 ++
1 file changed, 46 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 007d59d..5c175ba 100644
--- a/l
From: Paul Burton
Add a definition of the KDSIGACCEPT ioctl & allow its use by target
programs.
Signed-off-by: Paul Burton
Signed-off-by: Riku Voipio
---
linux-user/ioctls.h | 1 +
linux-user/syscall.c | 7 +++
linux-user/syscall_defs.h | 1 +
3 files changed, 9 insertions(+)
Hi,
while debugging a VNC issue I found this:
case VNC_MSG_CLIENT_CUT_TEXT:
if (len == 1)
return 8;
if (len == 8) {
uint32_t dlen = read_u32(data, 4);
if (dlen > 0)
return 8 + dlen;
}
client_cut_text(vs, rea
From: Paul Burton
MIPS requires the pad field to 64b-align the data field just as ARM
does.
Signed-off-by: Paul Burton
Signed-off-by: Riku Voipio
---
linux-user/syscall_defs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_de
From: Paul Burton
Translate the SO_PASSSEC option to setsockopt to the host value &
perform the syscall as expected, allowing use of the option by target
programs.
Signed-off-by: Paul Burton
Signed-off-by: Riku Voipio
---
linux-user/socket.h | 5 +
linux-user/syscall.c | 3 +++
2 files c
From: Paul Burton
The settimeofday syscall accepts a tz argument indicating the desired
timezone to the kernel. QEMU previously ignored any argument provided
by the target program & always passed NULL to the kernel. Instead,
translate the argument & pass along the data userland provided.
Althoug
From: Paul Burton
Translate the SO_SNDBUFFORCE & SO_RCVBUFFORCE options to setsockopt to
the host values & perform the syscall as expected, allowing use of those
options by target programs.
Signed-off-by: Paul Burton
Signed-off-by: Riku Voipio
---
linux-user/syscall.c | 6 ++
1 file chang
From: Paul Burton
Translate the SO_ACCEPTCONN option to the host value & execute the
syscall as expected.
Signed-off-by: Paul Burton
Signed-off-by: Riku Voipio
---
linux-user/syscall.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 8d1
From: Paul Burton
Add the epoll_create1 syscall to strace.list in order to display that
syscall when it occurs, rather than a message about the syscall being
unknown despite QEMU already implementing support for it.
Signed-off-by: Paul Burton
Signed-off-by: Riku Voipio
---
linux-user/strace.l
From: Christophe Lyon
mmap_flags_tbl contains a list of mmap flags, and how to map them to
the target. This patch adds MAP_NORESERVE, which was missing to the
list.
Signed-off-by: Christophe Lyon
Reviewed-by: Peter Maydell
Signed-off-by: Riku Voipio
---
linux-user/syscall.c | 2 ++
1 file ch
From: Paul Burton
QEMU previously passed the result of the host syscall directly to the
target program. This is a problem if the host & target have different
representations of socket types, as is the case when running a MIPS
target program on an x86 host. Introduce a host_to_target_sock_type
hel
From: Riku Voipio
The following changes since commit de6793e8c2a4d34e28e5ea385276249fc98109ec:
Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20140627' into
staging (2014-06-29 11:43:31 +0100)
are available in the git repository at:
git://git.linaro.org/people/riku.voipio/qemu.gi
On Sun, Jun 29, 2014 at 03:56:10PM +0800, Chen, Tiejun wrote:
> On 2014/6/27 19:26, Paolo Bonzini wrote:
> >Il 27/06/2014 10:34, Chen, Tiejun ha scritto:
> >>
> >>
> >>So how to separate this to specific to xen? Or you mean we need to
> >>create an new machine to address this scenario? But actually
On Sun, Jun 29, 2014 at 12:45:27PM +0100, Peter Maydell wrote:
> On 27 June 2014 15:11, Paolo Bonzini wrote:
> > The following changes since commit d4cba13bdf251baeedb36b87c1e9f6766773e380:
> >
> > tcg/ppc: Fix failure in tcg_out_mem_long (2014-06-27 13:23:41 +0100)
> >
> > are available in the
On 27 June 2014 15:11, Paolo Bonzini wrote:
> The following changes since commit d4cba13bdf251baeedb36b87c1e9f6766773e380:
>
> tcg/ppc: Fix failure in tcg_out_mem_long (2014-06-27 13:23:41 +0100)
>
> are available in the git repository at:
>
> git://github.com/bonzini/qemu.git nbd-next
>
> for
On Fri, Jun 27, 2014 at 05:22:18PM +0800, Chen, Tiejun wrote:
> On 2014/6/25 15:13, Michael S. Tsirkin wrote:
> >On Wed, Jun 25, 2014 at 10:17:21AM +0800, Tiejun Chen wrote:
>
> [snip]
>
> >>diff --git a/hw/xen/xen_pt.h b/hw/xen/xen_pt.h
> >>index 507165c..25147cf 100644
> >>--- a/hw/xen/xen_pt.h
On 27 June 2014 12:51, Alexander Graf wrote:
> Hi Peter,
>
> This is my current patch queue for ppc. Please pull.
>
> Alex
>
>
> The following changes since commit ff4873cb8c81db89668d8b56e19e57b852edb5f5:
>
> coroutine-win32.c: Add noinline attribute to work around gcc bug
> (2014-06-26 14:08
On Sun, Jun 29, 2014 at 12:09:15PM +0300, Marcel Apfelbaum wrote:
> Replaced '_' with '-' to comply with QOM guidelines.
> Made the conversion from HMP to QMP in vl.c
>
> Signed-off-by: Marcel Apfelbaum
Nothing to do with me, pls merge through Andrea's or Paolo's tree.
FWIW
Acked-by: Michael S.
On 27 June 2014 12:25, Cornelia Huck wrote:
> Here are some s390-ccw bios patches I'd like to see in 2.1. Being able
> to finally boot from dasd is quite a useful feature. Please consider pulling.
>
> The following changes since commit ff4873cb8c81db89668d8b56e19e57b852edb5f5:
>
> coroutine-win3
On 29 June 2014 01:01, Andreas Färber wrote:
> Am 26.06.2014 17:37, schrieb Peter Maydell:
>> Add back in the support for 64-bit PPC MacOSX hosts that was
>> broken in the recent merge of the 32-bit and 64-bit TCG backends.
>>
>
> Reported-by: Andreas Färber
>
>> Signed-off-by: Peter Maydell
>
>
1 - 100 of 102 matches
Mail list logo