On 08/31/2017 04:50 AM, Daniel P. Berrange wrote:
> Signed-off-by: Daniel P. Berrange
> ---
> include/io/channel.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Eric Blake
>
> diff --git a/include/io/channel.h
On Wed, 30 Aug 2017 19:05:58 +0200
David Hildenbrand wrote:
> Specifying more than 1 CPU (e.g. -smp 5) leads to SIGP errors (the
> guest tries to bring these CPUs up but fails), because we don't support
> multiple CPUs on s390x under TCG.
>
> Let's bail out if more than 1 are
We can use the drive_del test on s390x, too, to check that adding and
deleting also works fine with the virtio-ccw bus. But we have to make
sure that we use the devices with the "-ccw" suffix instead of the
"-pci" suffix for the virtio-ccw transport on s390x. Introduce a helper
function called
On 31.08.2017 16:38, Cornelia Huck wrote:
> On Thu, 31 Aug 2017 16:30:59 +0200
> David Hildenbrand wrote:
>
>> On 31.08.2017 16:29, Cornelia Huck wrote:
>>> On Thu, 31 Aug 2017 15:11:28 +0200
>>> David Hildenbrand wrote:
>>>
>> +S390CPU
Hi
- Original Message -
> Markus Armbruster writes:
>
> > Marc-André Lureau writes:
> >
> >> Use QLIST_FOREACH_ENTRY() to simplify the code and break earlier.
> >>
> >> Check that the QLit list has the same size as the qlist, this should
On Thu, 31 Aug 2017 16:30:59 +0200
David Hildenbrand wrote:
> On 31.08.2017 16:29, Cornelia Huck wrote:
> > On Thu, 31 Aug 2017 15:11:28 +0200
> > David Hildenbrand wrote:
> >
> +S390CPU *s390_cpu_addr2state(uint16_t cpu_addr)
> +{
> +
On 08/31/2017 04:46 AM, Daniel P. Berrange wrote:
> These functions wait until they are able to read / write the full
> requested data buffer(s).
>
> Signed-off-by: Daniel P. Berrange
> ---
>
Reviewed-by: Eric Blake
--
Eric Blake, Principal Software
On 31.08.2017 16:31, Thomas Huth wrote:
> On 31.08.2017 16:23, David Hildenbrand wrote:
>>
+struct S390CPU;
>>>
>>> You define a "struct S390CPU" here ...
>>>
typedef struct S390CcwMachineState {
/*< private >*/
MachineState parent_obj;
/*< public
On Wed, 30 Aug 2017 19:05:56 +0200
David Hildenbrand wrote:
> Some time ago we discussed that using "id" as property name is not the
> right thing to do, as it is a reserved property for other devices.
>
> Switch to the term "addr" instead, which matches the definition in the
On 31.08.2017 16:23, David Hildenbrand wrote:
>
>>> +struct S390CPU;
>>
>> You define a "struct S390CPU" here ...
>>
>>> typedef struct S390CcwMachineState {
>>> /*< private >*/
>>> MachineState parent_obj;
>>>
>>> /*< public >*/
>>> +S390CPU **cpus;
>>
>> ... but use the
On 31.08.2017 16:29, Cornelia Huck wrote:
> On Thu, 31 Aug 2017 15:11:28 +0200
> David Hildenbrand wrote:
>
+S390CPU *s390_cpu_addr2state(uint16_t cpu_addr)
+{
+S390CcwMachineState *ms = S390_CCW_MACHINE(qdev_get_machine());
+
+if (cpu_addr >=
On Thu, 31 Aug 2017 15:11:28 +0200
David Hildenbrand wrote:
> >> +S390CPU *s390_cpu_addr2state(uint16_t cpu_addr)
> >> +{
> >> +S390CcwMachineState *ms = S390_CCW_MACHINE(qdev_get_machine());
> >> +
> >> +if (cpu_addr >= max_cpus) {
> >> +return NULL;
> >> +
On 31 August 2017 at 15:04, Kamil Rytarowski wrote:
> Could we please add SmartOS image. It's an Illumos distribution,
> previously known as OpenSolaris.
>
> qemu is actively maintained for SmartOS in pkgsrc.
>
> The latest build fixes were introduced less than a week ago.
>
The iteritems()/itervalues() methods are gone in py3, but the
items()/values() methods are still around. The latter are less
efficient than the former in py2, but this has unmeasurably
small impact on QEMU build time, so taking portability over
efficiency is a net win
Signed-off-by: Daniel P.
Signed-off-by: Daniel P. Berrange
---
scripts/qapi.py | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/scripts/qapi.py b/scripts/qapi.py
index 05cb1ee38c..3c06711e2c 100644
--- a/scripts/qapi.py
+++ b/scripts/qapi.py
@@ -22,6 +22,10 @@ try:
Since I claimed that supporting py2 & py3 in parallel would be easy
for QEMU, I figured I ought to actually give it a try to backup that
assertion.
This small patch series is the result of that effort. I tested this
series on Fedora 26 using 2.7.13 and Python 3.6.2.
To test with py3, I hacked
Signed-off-by: Daniel P. Berrange
---
scripts/qapi.py | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/scripts/qapi.py b/scripts/qapi.py
index 3c06711e2c..853622badd 100644
--- a/scripts/qapi.py
+++ b/scripts/qapi.py
@@ -1743,7 +1743,10 @@ def
Get Py2 + 3 compatibility by using the print function
instead of print statement. This works for 2.6 onwards.
Signed-off-by: Daniel P. Berrange
---
scripts/qapi.py | 12 ++--
scripts/qapi2texi.py | 9 +
2 files changed, 11 insertions(+), 10
The OrderedDict class appeared in the 'collections' module
from python 2.7 onwards, so use that in preference to our
local backport if available.
Signed-off-by: Daniel P. Berrange
---
scripts/qapi.py | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git
>> +struct S390CPU;
>
> You define a "struct S390CPU" here ...
>
>> typedef struct S390CcwMachineState {
>> /*< private >*/
>> MachineState parent_obj;
>>
>> /*< public >*/
>> +S390CPU **cpus;
>
> ... but use the typedef'ed S390CPU here ... looks somewhat suspicious, I
>
On Wed, 30 Aug 2017 19:05:52 +0200
David Hildenbrand wrote:
> These comments are obviously stale.
>
> Signed-off-by: David Hildenbrand
> ---
> include/qom/cpu.h | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git
On Wed, 30 Aug 2017 19:05:51 +0200
David Hildenbrand wrote:
> All but two, namely exec.c and dump.c, include exec/exec-all.h via
> cpu.h only. as these files already include cpu.h, let's just drop the
> additional include.
>
> Signed-off-by: David Hildenbrand
Markus Armbruster writes:
> Marc-André Lureau writes:
>
>> Use QLIST_FOREACH_ENTRY() to simplify the code and break earlier.
>>
>> Check that the QLit list has the same size as the qlist, this should
>> ensure that we have an exact match when
Could we please add SmartOS image. It's an Illumos distribution,
previously known as OpenSolaris.
qemu is actively maintained for SmartOS in pkgsrc.
The latest build fixes were introduced less than a week ago.
https://github.com/NetBSD/pkgsrc/commit/f2608af5433f1491a92567bf570e9349dffbda7a
I'm
On Thu, 31 Aug 2017 15:44:38 +0200
David Hildenbrand wrote:
> On 31.08.2017 15:19, Igor Mammedov wrote:
> > cpu_s390x_init() is used only *-user targets indirectly
> > via cpu_init() macro and has a hack to assign ids to created
> > cpus (I'm not sure if 'id' really matters to
Markus Armbruster writes:
> Eric Blake writes:
>
>> On 08/25/2017 05:59 AM, Marc-André Lureau wrote:
>>> A step towards completeness.
>>>
>>> Signed-off-by: Marc-André Lureau
>>> Reviewed-by: Markus Armbruster
On Thu, Aug 31, 2017 at 2:26 PM, Paolo Bonzini wrote:
>
>
> Il 31 ago 2017 9:43 AM, "Stefan Hajnoczi" ha scritto:
>
> On Wed, Aug 30, 2017 at 03:07:38PM +0100, Daniel P. Berrange wrote:
> > On Wed, Aug 30, 2017 at 03:26:51AM -0500, Sergio Andres Gomez
Marc-André Lureau writes:
> Hi
>
> On Thu, Aug 31, 2017 at 10:43 AM Markus Armbruster
> wrote:
>
>> Marc-André Lureau writes:
>>
>> > Hi
>> >
>> > - Original Message -
>> >> Marc-André Lureau
On 08/31/2017 03:21 AM, Stefan Hajnoczi wrote:
> The following changes since commit 248b23735645f7cbb503d9be6f5bf825f2a603ab:
Subject line should probably say 2.11, not 2.10 :)
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org |
On 31.08.2017 15:19, Igor Mammedov wrote:
> cpu_s390x_init() is used only *-user targets indirectly
> via cpu_init() macro and has a hack to assign ids to created
> cpus (I'm not sure if 'id' really matters to *-user emulation).
It only has one cpu, right? With the below mentioned patch, the
On 8/31/2017 3:34 PM, Alberto Garcia wrote:
On Wed 30 Aug 2017 05:12:22 PM CEST, Pradeep Jagadeesh wrote:
On 8/30/2017 5:10 PM, Alberto Garcia wrote:
On Wed 30 Aug 2017 05:07:29 PM CEST, Pradeep Jagadeesh wrote:
Thanks for the steps, I did reproduce the issue easily. Looking into
the code,
On 30.08.2017 15:48, Igor Mammedov wrote:
> On Mon, 28 Aug 2017 19:39:45 +0200
> Thomas Huth wrote:
>
>> When running "make check-qtest-x86_64 V=1", the output is currently flooded
>> with "Looking for expected file ..." and "Using expected file ..." messages.
>> None of the
On 30.08.2017 21:11, Thomas Huth wrote:
> On 30.08.2017 19:06, David Hildenbrand wrote:
>> This looks cleaner.
>>
>> Signed-off-by: David Hildenbrand
>> ---
>> target/s390x/excp_helper.c | 3 +--
>> 1 file changed, 1 insertion(+), 2 deletions(-)
>>
>> diff --git
On Wed 30 Aug 2017 05:12:22 PM CEST, Pradeep Jagadeesh wrote:
> On 8/30/2017 5:10 PM, Alberto Garcia wrote:
>> On Wed 30 Aug 2017 05:07:29 PM CEST, Pradeep Jagadeesh wrote:
>>
>>> Thanks for the steps, I did reproduce the issue easily. Looking into
>>> the code, may be we also need to try the same
On 31 August 2017 at 14:25, Daniel P. Berrange wrote:
> On Thu, Aug 31, 2017 at 02:19:05PM +0100, Peter Maydell wrote:
>> On 31 August 2017 at 14:14, Daniel P. Berrange wrote:
>> > NB, some distros have already changed /usr/bin/python to point to py3
>>
On 31 August 2017 at 13:58, Markus Armbruster wrote:
> Peter Maydell writes:
>
>> On 31 August 2017 at 07:35, Markus Armbruster wrote:
>>> So, first we'll invest in work-arounds to make both 2 and 3 work. Once
>>> 2 is gone, we
On Thu, Aug 31, 2017 at 02:19:05PM +0100, Peter Maydell wrote:
> On 31 August 2017 at 14:14, Daniel P. Berrange wrote:
> > NB, some distros have already changed /usr/bin/python to point to py3
> > so all the files with #!/usr/bin/python in QEMU are already broken on
> > those
On Thu, 31 Aug 2017 14:18:28 +0200
Halil Pasic wrote:
> The function ioinst_handle_xsch is presenting cc 2 when it's supposed to
> present cc 1 and the other way around, because css_do_xsch has the error
> codes mixed up. Because cc 1 has precedence over cc 2 we also
On 30.08.2017 21:06, Thomas Huth wrote:
> On 30.08.2017 19:05, David Hildenbrand wrote:
>> Specifying more than 1 CPU (e.g. -smp 5) leads to SIGP errors (the
>> guest tries to bring these CPUs up but fails), because we don't support
>> multiple CPUs on s390x under TCG.
>>
>> Let's bail out if more
On Thu, Aug 31, 2017 at 02:44:58PM +0200, Markus Armbruster wrote:
> "Daniel P. Berrange" writes:
>
> > On Thu, Aug 31, 2017 at 11:55:18AM +0100, Peter Maydell wrote:
> >> On 31 August 2017 at 11:47, Daniel P. Berrange wrote:
> >> > If we can update to
On 31.08.2017 15:18, David Hildenbrand wrote:
> On 31.08.2017 11:29, Thomas Huth wrote:
>> On 30.08.2017 19:05, David Hildenbrand wrote:
>>> The only interface left, so let's properly rename it.
>>>
>>> Signed-off-by: David Hildenbrand
>>> ---
>>> hw/s390x/s390-virtio-ccw.c
cpu_s390x_init() is used only *-user targets indirectly
via cpu_init() macro and has a hack to assign ids to created
cpus (I'm not sure if 'id' really matters to *-user emulation).
So to on safe side, instead of having custom wrapper to do numbering
replace it with cpu_generic_init() and use
On 31 August 2017 at 14:14, Daniel P. Berrange wrote:
> NB, some distros have already changed /usr/bin/python to point to py3
> so all the files with #!/usr/bin/python in QEMU are already broken on
> those distros.
This is a bug in those distros and they should fix it.
On 31.08.2017 11:29, Thomas Huth wrote:
> On 30.08.2017 19:05, David Hildenbrand wrote:
>> The only interface left, so let's properly rename it.
>>
>> Signed-off-by: David Hildenbrand
>> ---
>> hw/s390x/s390-virtio-ccw.c | 2 +-
>>
The json schema is more friendly to python-mode since it doesn't
follow strictly json (comments to start with).
All schema files add file variables to set the python mode, but most
tests didn't. This will cover all json files now.
Signed-off-by: Marc-André Lureau
QEMU uses non-conventional makefile filenames. Ease the life of emacs
developpers a bit by appending to the auto-mode-alist.
Signed-off-by: Marc-André Lureau
---
.dir-locals.el | 7 ++-
Makefile.target | 2 --
trace/Makefile.objs | 2 --
3 files
On Thu, Aug 31, 2017 at 02:58:24PM +0200, Markus Armbruster wrote:
> Peter Maydell writes:
>
> > On 31 August 2017 at 07:35, Markus Armbruster wrote:
> >> So, first we'll invest in work-arounds to make both 2 and 3 work. Once
> >> 2 is gone, we can
>> +return 0;
>> +}
>> +
>> +
>
> Nit: One empty line should be enough here.
>
> Reviewed-by: Thomas Huth
>
Indeed, thanks!
--
Thanks,
David
On 30.08.2017 19:05, David Hildenbrand wrote:
> It is a leftover from the days where we had still the !ccw virtio
> machine. As this one is long gone, let's move everything to
> s390-virtio-ccw.c.
>
> Cornelia Huck
I will add the missing Suggested-by: :)
> Signed-off-by:
>> +S390CPU *s390_cpu_addr2state(uint16_t cpu_addr)
>> +{
>> +S390CcwMachineState *ms = S390_CCW_MACHINE(qdev_get_machine());
>> +
>> +if (cpu_addr >= max_cpus) {
>> +return NULL;
>> +}
>> +
>> +/* Fast lookup via CPU ID */
>> +return ms->cpus[cpu_addr];
>> +}
>
> I
On 30.08.2017 20:55, Thomas Huth wrote:
> On 30.08.2017 19:05, David Hildenbrand wrote:
>> All but two, namely exec.c and dump.c, include exec/exec-all.h via
>> cpu.h only. as these files already include cpu.h, let's just drop the
>> additional include.
>>
>> Signed-off-by: David Hildenbrand
Peter Maydell writes:
> On 31 August 2017 at 07:35, Markus Armbruster wrote:
>> So, first we'll invest in work-arounds to make both 2 and 3 work. Once
>> 2 is gone, we can invest some more to clean them up. Which probably
>> won't happen, so we'll
On 31.08.2017 14:18, Halil Pasic wrote:
> The function ioinst_handle_xsch is presenting cc 2 when it's supposed to
> present cc 1 and the other way around, because css_do_xsch has the error
> codes mixed up. Because cc 1 has precedence over cc 2 we also have to
> swap the two checks.
>
> Let us
On 30 August 2017 at 17:52, Cornelia Huck wrote:
> The following changes since commit 1ab5eb4efb91a3d4569b0df6e824cc08ab4bd8ec:
>
> Update version for v2.10.0 release (2017-08-30 17:02:54 +0100)
>
> are available in the git repository at:
>
> git://github.com/cohuck/qemu
On 31 August 2017 at 12:02, Daniel P. Berrange wrote:
> On Thu, Aug 31, 2017 at 11:55:18AM +0100, Peter Maydell wrote:
>> On 31 August 2017 at 11:47, Daniel P. Berrange wrote:
>> > If we can update to python 2.7 as our minimum, then supporting py2
>> >
On 31 August 2017 at 13:29, Daniel P. Berrange wrote:
> A while back now I posted an RFC patch that changes qemu-X.Y.Z.tar.bz2
> archive to *not* have any ROMs or 3rd party libs bundled, and create a
> new dist qemu-bundled-X.Y.Z.tar.bz2 for the fully bundled dist:
>
>
"Daniel P. Berrange" writes:
> On Thu, Aug 31, 2017 at 11:55:18AM +0100, Peter Maydell wrote:
>> On 31 August 2017 at 11:47, Daniel P. Berrange wrote:
>> > If we can update to python 2.7 as our minimum, then supporting py2
>> > and py3 gets simpler,
A while back now I posted an RFC patch that changes qemu-X.Y.Z.tar.bz2
archive to *not* have any ROMs or 3rd party libs bundled, and create a
new dist qemu-bundled-X.Y.Z.tar.bz2 for the fully bundled dist:
http://lists.gnu.org/archive/html/qemu-devel/2017-04/msg03335.html
With 2.10 out of the
The function ioinst_handle_xsch is presenting cc 2 when it's supposed to
present cc 1 and the other way around, because css_do_xsch has the error
codes mixed up. Because cc 1 has precedence over cc 2 we also have to
swap the two checks.
Let us fix this.
Signed-off-by: Halil Pasic
On 30.08.2017 22:45, Thomas Huth wrote:
> On 30.08.2017 19:05, David Hildenbrand wrote:
>> The assert should hold in both scenarios.
>>
>> Signed-off-by: David Hildenbrand
>> ---
>> target/s390x/interrupt.c | 3 +--
>> 1 file changed, 1 insertion(+), 2 deletions(-)
>>
>> diff
Hi Eduardo,
At 08/31/2017 06:38 PM, Dou Liyang wrote:
Hi Eduardo,
[...]
+continue;
}
Now the nodes will be out of order, if node 0 has no RAM. Why?
Because the code parsed the other node with RAM first, then parsed the
node 0.
Why not implement this in the same
From: Eduardo Habkost
Currently, Using the fisrt node without memory on the machine makes
QEMU unhappy. With this example command line:
... \
-m 1024M,slots=4,maxmem=32G \
-numa node,nodeid=0 \
-numa node,mem=1024M,nodeid=1 \
-numa node,nodeid=2 \
-numa
As QEMU supports the memory-less node, it is possible that there is
no RAM in the first numa node(also be called as node0). eg:
... \
-m 128,slots=3,maxmem=1G \
-numa node -numa node,mem=128M \
But, this makes it hard for QEMU to build a known-to-work ACPI SRAT
table. Only fixing it is not
v4 --> v5:
- Replace the original way with Eduardo's method.
- rewrite the testcase.
- Drop the SLIT date
- 2.11 develop tree is opened, So, Add the third patch for re-posting it.
v3 --> v4:
-add a new testcase.
This patchset fixs an ACPI building bug which caused by no RAM
in the
In QEMU, the number of the NUMA nodes is determined by parse_numa_opts().
Then, QEMU uses it for iteration, for example:
for (i = 0; i < nb_numa_nodes; i++)
However, in memory_region_allocate_system_memory(), it uses MAX_NODES
not nb_numa_nodes.
So, replace MAX_NODES with nb_numa_nodes to keep
On Fri, Aug 25, 2017 at 08:34:54PM -0400, Emilio G. Cota wrote:
> On Sun, Jul 30, 2017 at 17:08:18 +0300, Lluís Vilanova wrote:
> > The hypertrace channel allows guest code to emit events in QEMU (the host)
> > using
> > its tracing infrastructure (see "docs/trace.txt"). This works in both
> >
Hi,
This series seems to have some coding style problems. See output below for
more information:
Message-id: 20170831103432.6007-1-marcandre.lur...@redhat.com
Subject: [Qemu-devel] [PULL 00/29] Code cleanup patches
Type: series
=== TEST SCRIPT BEGIN ===
#!/bin/bash
BASE=base
n=1
total=$(git
On Tue, Aug 29, 2017 at 03:22:37PM +0800, Wang yong wrote:
> From: Wang Yong
>
> IOThread uses AioContext event loop and does not run a GMainContext.
> Therefore,chardev cannot work in IOThread,such as the chardev is
> used for colo-compare packets reception.
>
> This
On Thu, Aug 24, 2017 at 08:21:59AM +0100, Stefan Hajnoczi wrote:
> This series introduces context managers for the two most commonly used
> resources: files and VMs. Context managers eliminate the need to call a
> cleanup function explicitly.
>
> Tests should declare resources upfront in a with
On 08/31/2017 09:50 AM, Thomas Huth wrote:
> On 30.08.2017 18:36, Halil Pasic wrote:
>> According to the POP a start subchannel instruction (SSCH) returning with
>> cc 1 implies that the subchannel was status pending when SSCH executed.
>>
>> Due to a somewhat confusing error handling, where
On 08/31/2017 11:19 AM, Cornelia Huck wrote:
> On Wed, 30 Aug 2017 18:36:02 +0200
> Halil Pasic wrote:
>
>> According to the POP a start subchannel instruction (SSCH) returning with
>> cc 1 implies that the subchannel was status pending when SSCH executed.
>>
>> Due
I have not reviewed this, but the whole idea is
Acked-by: Christian Borntraeger
On 08/30/2017 07:05 PM, David Hildenbrand wrote:
> It is a leftover from the days where we had still the !ccw virtio
> machine. As this one is long gone, let's move everything to
>
Reviewed-by: Stefan Hajnoczi
Reviewed-by: Eric Blake
Signed-off-by: Daniel P. Berrange
---
Changed in v4:
- Fix typo in commit message
include/block/block_int.h | 31 +++
1 file changed, 31
I used the clang-tidy qemu-round check to generate the fix:
https://github.com/elmarco/clang-tools-extra
Signed-off-by: Marc-André Lureau
Reviewed-by: Richard Henderson
---
linux-headers/asm-x86/kvm.h | 2 +-
1 file changed, 1 insertion(+), 1
I used the clang-tidy qemu-round check to generate the fix:
https://github.com/elmarco/clang-tools-extra
Signed-off-by: Marc-André Lureau
Acked-by: Eduardo Habkost
Reviewed-by: Richard Henderson
---
target/i386/arch_dump.c |
Hi Eduardo,
[...]
+continue;
}
Now the nodes will be out of order, if node 0 has no RAM. Why?
Because the code parsed the other node with RAM first, then parsed the
node 0.
Why not implement this in the same way the PCI 4GB hole is
already implemented. e.g.:
I used the clang-tidy qemu-round check to generate the fix:
https://github.com/elmarco/clang-tools-extra
Signed-off-by: Marc-André Lureau
Reviewed-by: Richard Henderson
---
hw/usb/dev-hub.c | 8
1 file changed, 4 insertions(+), 4
I used the clang-tidy qemu-round check to generate the fix:
https://github.com/elmarco/clang-tools-extra
Signed-off-by: Marc-André Lureau
Reviewed-by: Philippe Mathieu-Daudé
Reviewed-by: Richard Henderson
---
include/ui/console.h
Il 31 ago 2017 9:43 AM, "Stefan Hajnoczi" ha scritto:
On Wed, Aug 30, 2017 at 03:07:38PM +0100, Daniel P. Berrange wrote:
> On Wed, Aug 30, 2017 at 03:26:51AM -0500, Sergio Andres Gomez Del Real
wrote:
> > diff --git a/target/i386/hvf-utils/x86.c b/target/i386/hvf-utils/x86.c
Signed-off-by: Fam Zheng
---
tests/docker/test-block | 21 +
1 file changed, 21 insertions(+)
create mode 100755 tests/docker/test-block
diff --git a/tests/docker/test-block b/tests/docker/test-block
new file mode 100755
index 00..20ef70538f
---
A few tweaks to the docker images and running commands allow us to run
qemu-iotests in the fedora container. This will be added to the patchew test
cases later.
v2: Add nettle-devel because a few iotest cases blindly assumes the support is
there.
Fam Zheng (3):
docker: Use unconfined security
The LUKS cases in qemu-iotests requires this.
Signed-off-by: Fam Zheng
---
tests/docker/dockerfiles/fedora.docker | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/docker/dockerfiles/fedora.docker
b/tests/docker/dockerfiles/fedora.docker
index 4eaa8ed2a5..27e8201c54
Some by default blocked syscalls are required to run tests for example
userfaultfd.
Signed-off-by: Fam Zheng
---
tests/docker/Makefile.include | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include
index
Make the crypto driver implement the bdrv_co_preadv|pwritev
callbacks, and also use bdrv_co_preadv|pwritev for I/O
with the protocol driver beneath.
Signed-off-by: Daniel P. Berrange
---
block/crypto.c | 103 +
1 file
This series includes a previously posted patch that improves performance
of the luks crypto driver:
https://lists.gnu.org/archive/html/qemu-devel/2017-08/msg00781.html
And then adds three patches that switch over to use byte based APIs for
I/O, rather than the legacy sector based APIs.
Daniel
On 31 August 2017 at 11:47, Daniel P. Berrange wrote:
> If we can update to python 2.7 as our minimum, then supporting py2
> and py3 gets simpler, avoiding some of the nastier hacks, even
> without that though it isn't too hard.
Unfortunately RHEL6 is what's holding us to
Instead of sector offset, take the bytes offset when encrypting
or decrypting data.
Signed-off-by: Daniel P. Berrange
---
block/crypto.c | 8
block/qcow.c | 7 +--
block/qcow2-cluster.c | 8 +++-
block/qcow2.c | 4 ++--
Using 16KB bounce buffers creates a significant performance
penalty for I/O to encrypted volumes on storage which high
I/O latency (rotating rust & network drives), because it
triggers lots of fairly small I/O operations.
On tests with rotating rust, and cache=none|directsync,
write speed
Signed-off-by: Daniel P. Berrange
---
block/crypto.c | 32
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/block/crypto.c b/block/crypto.c
index cc8afe0e0d..e63f094379 100644
--- a/block/crypto.c
+++ b/block/crypto.c
@@
I found these pattern via grepping the source tree. I don't have a
coccinelle script for it!
Signed-off-by: Marc-André Lureau
Reviewed-by: Eduardo Habkost
Reviewed-by: Richard Henderson
---
hw/i386/multiboot.c | 3 +--
1 file
On Thu, Aug 31, 2017 at 11:55:18AM +0100, Peter Maydell wrote:
> On 31 August 2017 at 11:47, Daniel P. Berrange wrote:
> > If we can update to python 2.7 as our minimum, then supporting py2
> > and py3 gets simpler, avoiding some of the nastier hacks, even
> > without that
On 31 August 2017 at 11:34, Mahmood via Qemu-devel
wrote:
> Hello again,
> For the command
>
> mount -t 9p -o trans=virtio Downloads /media/Downloads
>
> inside the Centos-7 guest, I get this error
>
> mount: unknown filesystem type '9p'
>
> Any thought?
That's an
I found these pattern via grepping the source tree. I don't have a
coccinelle script for it!
Signed-off-by: Marc-André Lureau
Reviewed-by: Stefan Weil
Reviewed-by: Jason Wang
Reviewed-by: Richard Henderson
I found these pattern via grepping the source tree. I don't have a
coccinelle script for it!
Signed-off-by: Marc-André Lureau
Reviewed-by: Philippe Mathieu-Daudé
Reviewed-by: Richard Henderson
---
tests/test-iov.c | 3 +--
1 file
On 08/31/2017 12:04 PM, Cornelia Huck wrote:
> On Wed, 30 Aug 2017 18:36:00 +0200
> Halil Pasic wrote:
>
>> This series has a character of a refactoring, as the initial motivation
>> was improving readability and reducing complexity.
>
> But you reduced the cover
Factour out a common pattern to compute the ELF note size.
Signed-off-by: Marc-André Lureau
Reviewed-by: Eduardo Habkost
Reviewed-by: Richard Henderson
---
target/i386/arch_dump.c | 20 ++--
1 file changed, 10
On Thu, Aug 31, 2017 at 11:27:15AM +0100, Peter Maydell wrote:
> On 31 August 2017 at 07:35, Markus Armbruster wrote:
> > So, first we'll invest in work-arounds to make both 2 and 3 work. Once
> > 2 is gone, we can invest some more to clean them up. Which probably
> > won't
I used the clang-tidy qemu-round check to generate the fix:
https://github.com/elmarco/clang-tools-extra
Signed-off-by: Marc-André Lureau
Acked-by: David Gibson
Reviewed-by: Richard Henderson
---
I used the clang-tidy qemu-round check to generate the fix:
https://github.com/elmarco/clang-tools-extra
Signed-off-by: Marc-André Lureau
Reviewed-by: Philippe Mathieu-Daudé
Reviewed-by: Richard Henderson
---
hw/pci/msix.c | 4
I used the clang-tidy qemu-round check to generate the fix:
https://github.com/elmarco/clang-tools-extra
Signed-off-by: Marc-André Lureau
Reviewed-by: Philippe Mathieu-Daudé
Reviewed-by: Richard Henderson
---
hw/pci-host/piix.c |
101 - 200 of 306 matches
Mail list logo