On 08/13/2014 03:00 PM, Gonglei (Arei) wrote:
I noticed that QMP's device_add usb-ehci,id=i2,bus=pci.0 fails on PCI
hotplug. The same for pci-ohci and this is because their initfn() do
dc-hotpluggable = false. So I removed those and now I can hotplug
USB
hosts but none of them is able to
[This is http://bugs.debian.org/757927 -- trim stopped working in qemu 2.1]
12.08.2014 18:46, Michael Tokarev wrote:
12.08.2014 17:35, Roman Mamedov wrote:
Package: qemu-kvm
Version: 2.1+dfsg-2~bpo70+2
Severity: normal
Hello,
I was able to successfully use the passthrough TRIM support
On 2014-08-01 08:22, Danzer, Uwe wrote:
Hi there,
I'm implementing an emulated PCIe Memory class device, but can't get MSI-X
interrupt emulation working.
So far, the card appears in the guest system and the driver for the card
recognises it and the emulation of 1MB of accessible r/w
The spec says (and real HW confirms this) that, if the bus master bit
is 0, the device will not generate any PCI accesses. MSI and MSI-X
messages fall among these, so we should use the corresponding address
space to deliver them. This will prevent delivery if bus master support
is disabled.
09.08.2014 18:05, Jan Kiszka wrote:
From: Jan Kiszka jan.kis...@siemens.com
IA-32 SDM, Figure 10-14: Bits 27:0 are reserved as 1.
Fixes Jailhouse hypervisor start with in-kernel irqchips off.
Applied to -trivial, thank you!
Are the other similar cases in there okay?
Say, 0x0d or 0x02
Applied to -trivial, thank you!
/mjt
13.08.2014 07:20, Liming Wang wrote:
Change host to port.
A good one. Applied to -trivial, thank you!
/mjt
11.08.2014 12:10, arei.gong...@huawei.com wrote:
From: Gonglei arei.gong...@huawei.com
Gonglei (2):
pci-host: update obsolete reference about piix_pci.c
pci-host: update uncorresponding description
Applied both to -trivial, thank you!
/mjt
13.08.2014 10:16, Roman Mamedov wrote:
Thanks for working on this! Sorry for not being able to test an updated
version sooner.
You're welcome. I learned something too ;)
[]
I was only successful in using this with the virtual IDE interface disks on
Qemu/KVM 2.0, the virtio mode does not
[dropping debian bugreport]
13.08.2014 10:05, Michael Tokarev wrote:
[This is http://bugs.debian.org/757927 -- trim stopped working in qemu 2.1]
12.08.2014 18:46, Michael Tokarev wrote:
12.08.2014 17:35, Roman Mamedov wrote:
Package: qemu-kvm
Version: 2.1+dfsg-2~bpo70+2
Severity: normal
Applied all to -trivial. Thank you!
/mjt
On 2014-08-13 08:14, Michael Tokarev wrote:
09.08.2014 18:05, Jan Kiszka wrote:
From: Jan Kiszka jan.kis...@siemens.com
IA-32 SDM, Figure 10-14: Bits 27:0 are reserved as 1.
Fixes Jailhouse hypervisor start with in-kernel irqchips off.
Applied to -trivial, thank you!
Are the other
When disabling MSI/MSIX via ibm,change-msi RTAS call, no check was made
if MSI or MSIX is actually supported and the MSI message was reset
unconditionally. If this happened on a device which does not support MSI
(but does support MSIX, otherwise ibm,change-msi would not be called),
this device
Commit 58ac321135a introduced a check to ide dma processing which
constrains all requests to drive size. However, apparently, some
valid requests (like TRIM) does not fit in this constraint, and
fails in 2.1. So check the range only for reads and writes.
Cc: qemu-sta...@nongnu.org
On Mon, Aug 11, 2014 at 09:37:01PM +0200, Paolo Bonzini wrote:
Il 10/08/2014 05:46, Ming Lei ha scritto:
@@ -4356,6 +4353,20 @@ BlockDriverAIOCB *bdrv_aio_readv(BlockDriverState *bs,
int64_t sector_num,
{
trace_bdrv_aio_readv(bs, sector_num, nb_sectors, opaque);
+if (bs-drv
On Tue, Aug 12, 2014 at 6:47 PM, Nikolay Nikolaev
n.nikol...@virtualopensystems.com wrote:
Hello,
On Tue, Aug 12, 2014 at 5:41 AM, Li Liu john.li...@huawei.com wrote:
Hi all,
Is anyone there can tell the current status of vhost-net on kvm-arm?
Half a year has passed from Isa
Daniel Henrique Barboza danie...@linux.vnet.ibm.com writes:
The curl hardcoded timeout (5 seconds) sometimes is not long
enough depending on the remote server configuration and network
traffic. The user should be able to set how much long he is
willing to wait for the connection.
Adding a
On Wed, Aug 13, 2014 at 08:14:30AM +0200, Jan Kiszka wrote:
The spec says (and real HW confirms this) that, if the bus master bit
is 0, the device will not generate any PCI accesses. MSI and MSI-X
messages fall among these, so we should use the corresponding address
space to deliver them. This
On Tue, Aug 12, 2014 at 04:40:17PM +0200, Markus Armbruster wrote:
pc_fw_cfg_guest_info() never does anything, because has_pci_info is
always false.
Introduced in commit f8c457b pc: pass PCI hole ranges to Guests,
disabled in commit 9604f70 pc: disable pci-info for 1.6, and hasn't
been
Am 12.08.2014 um 21:08 hat Paolo Bonzini geschrieben:
Il 12/08/2014 10:12, Ming Lei ha scritto:
The below patch is basically the minimal change to bypass coroutines.
Of course
the block.c part is not acceptable as is (the change to
refresh_total_sectors
is broken, the others are
Am 13.08.2014 um 08:41 hat Michael Tokarev geschrieben:
[dropping debian bugreport]
13.08.2014 10:05, Michael Tokarev wrote:
[This is http://bugs.debian.org/757927 -- trim stopped working in qemu 2.1]
12.08.2014 18:46, Michael Tokarev wrote:
12.08.2014 17:35, Roman Mamedov wrote:
On Mon, Aug 11, 2014 at 7:59 PM, Ming Lei ming@canonical.com wrote:
This test uses getppid() syscall to simulate single operation
run inside coroutine, and compare how many operations done per
second between using coroutine and not using coroutine to
evalute cost introduced by running
This test runs dummy function with coroutine by using
two enter and one yield since which is a common usage.
So we can see the cost introduced by corouting for running
one function, for example:
Run operation 2000 iterations 4.841071 s, 4131K operations/s
242ns per coroutine
On Wed, Aug 13, 2014 at 3:08 AM, Paolo Bonzini pbonz...@redhat.com wrote:
Il 12/08/2014 10:12, Ming Lei ha scritto:
The below patch is basically the minimal change to bypass coroutines. Of
course
the block.c part is not acceptable as is (the change to
refresh_total_sectors
is broken,
Hi,
QMP command 'query-memory-devices' returns DIMM slots IDs as integers,
while 'query-acpi-ospm-status' returns them as strings. Why is this the
case? Aren't slot IDs numeric anyway?
I've looked up the ACPI specs but I can't find any specific mention of how
DIMM IDs should be represented, so
Add instructions of SRR opcode format.
Add helper for add/sub_ssov.
Signed-off-by: Bastian Koppelmann kbast...@mail.uni-paderborn.de
---
v4 - v5:
- gen_sub_d now saves result of substraction into tcg temp to handle ret =
r1 cases.
- gen_mul_i32s now calculates V, SV bits in bit 31.
-
Add tcg and cpu model initialization.
Add gen_intermediate_code function.
Activate target in configure and add softmmu config.
Signed-off-by: Bastian Koppelmann kbast...@mail.uni-paderborn.de
---
v4 - v5:
- gen_intermediate_code_internal: Move calculation of next_pc after the ifs
for
Add instructions of SC opcode format.
Add helper for begin interrupt service routine.
Signed-off-by: Bastian Koppelmann kbast...@mail.uni-paderborn.de
Reviewed-by: Richard Henderson r...@twiddle.net
---
target-tricore/helper.h| 1 +
target-tricore/op_helper.c | 59
Add masks and opcodes for decoding TriCore instructions.
Signed-off-by: Bastian Koppelmann kbast...@mail.uni-paderborn.de
---
target-tricore/translate.c |1 +
target-tricore/tricore-opcodes.h | 1406 ++
2 files changed, 1407 insertions(+)
create
Add instructions of SLR, SSRO and SRO opcode format.
Signed-off-by: Bastian Koppelmann kbast...@mail.uni-paderborn.de
Reviewed-by: Richard Henderson r...@twiddle.net
---
target-tricore/translate.c | 121 +
1 file changed, 121 insertions(+)
diff --git
Add instructions of SB opcode format.
Add helper call/ret.
Add micro-op generator functions for branches.
Add makro to generate helper functions.
Signed-off-by: Bastian Koppelmann kbast...@mail.uni-paderborn.de
---
v4 - v5:
- Change int cond to TCGCond in functions gen_branch_cond,
Add instructions of SRC opcode format.
Add micro-op generator functions for add, conditional add/sub and shi/shai.
Signed-off-by: Bastian Koppelmann kbast...@mail.uni-paderborn.de
---
v4 - v5:
- gen_shaci: Change case of shift_count == 32 to shift_count == -32 and add
the clear of V bit.
Add TriCore target stubs, and QOM cpu.
Signed-off-by: Bastian Koppelmann kbast...@mail.uni-paderborn.de
---
v4 - v5:
- Change documentation of S, SV bits to use bit 31.
- psw_read/_write now uses only bit 31 of S, SV bits.
arch_init.c | 2 +
cpu-exec.c
Add instructions of SBR opcode format.
Add gen_loop micro-op generator function.
Signed-off-by: Bastian Koppelmann kbast...@mail.uni-paderborn.de
Reviewed-by: Richard Henderson r...@twiddle.net
---
target-tricore/translate.c | 66 +-
1 file changed,
On 2014/8/13 17:10, Nikolay Nikolaev wrote:
On Tue, Aug 12, 2014 at 6:47 PM, Nikolay Nikolaev
n.nikol...@virtualopensystems.com wrote:
Hello,
On Tue, Aug 12, 2014 at 5:41 AM, Li Liu john.li...@huawei.com wrote:
Hi all,
Is anyone there can tell the current status of vhost-net on
Add instructions of SBC and SBRN opcode format.
Signed-off-by: Bastian Koppelmann kbast...@mail.uni-paderborn.de
Reviewed-by: Richard Henderson r...@twiddle.net
---
target-tricore/translate.c | 36
1 file changed, 36 insertions(+)
diff --git
Add instructions of SSRS and SLRO opcode format.
Add micro-op generator functions for offset loads.
Signed-off-by: Bastian Koppelmann kbast...@mail.uni-paderborn.de
---
v4 - v5:
- decode_16Bit_opc: Add if to handle ADDSC.A opcode being 6 bit instead of
7 bit long
target-tricore/translate.c
Add instructions of SSR opcode format.
Signed-off-by: Bastian Koppelmann kbast...@mail.uni-paderborn.de
Reviewed-by: Richard Henderson r...@twiddle.net
---
target-tricore/translate.c | 50 ++
1 file changed, 50 insertions(+)
diff --git
Add basic board to allow systemmode emulation
Signed-off-by: Bastian Koppelmann kbast...@mail.uni-paderborn.de
---
hw/tricore/Makefile.objs | 1 +
hw/tricore/tricore_testboard.c | 129 +
include/hw/tricore/tricore.h | 54 +
3
Add instructions of SR opcode format.
Add micro-op generator functions for saturate.
Add helper return from exception (rfe).
Signed-off-by: Bastian Koppelmann kbast...@mail.uni-paderborn.de
---
v4 - v5:
- Switched sat_neg and arg in first movcond in function gen_saturate.
- SR_NOT: Remove
Add basic softmmu support for TriCore
Signed-off-by: Bastian Koppelmann kbast...@mail.uni-paderborn.de
---
target-tricore/helper.c| 54 +-
target-tricore/op_helper.c | 33 +++-
2 files changed, 85 insertions(+), 2
Hi,
my aim is to add Infineon's TriCore architecture to QEMU. This series of
patches adds the target stubs, a basic testboard and a softmmu for system mode
emulation. Furthermore it adds all the 16 bit long instructions of the
architecture grouped by opcode format.
After this series of
David Gibson da...@gibson.dropbear.id.au writes:
As of qemu-2.1, spapr/pseries, has a set of versioned machine classes to
represent the machine type as it appeared to the guest in different qemu
versions. This allows for safe migration of guests between current and
future qemu versions.
In
If we configure qemu with realtime-mlock-on and memory-node-bind at the same
time,
Qemu will fail to start, and mbind() fails with message Input/output error.
From man page:
int mbind(void *addr, unsigned long len, int mode,
unsigned long *nodemask, unsigned long maxnode,
On Wed, Aug 13, 2014 at 12:10 PM, Nikolay Nikolaev
n.nikol...@virtualopensystems.com wrote:
On Tue, Aug 12, 2014 at 6:47 PM, Nikolay Nikolaev
n.nikol...@virtualopensystems.com wrote:
Hello,
On Tue, Aug 12, 2014 at 5:41 AM, Li Liu john.li...@huawei.com wrote:
Hi all,
Is anyone there
Hi Paolo,
On Tue, Aug 12, 2014 at 3:37 AM, Paolo Bonzini pbonz...@redhat.com wrote:
Il 10/08/2014 05:46, Ming Lei ha scritto:
Hi Kevin, Paolo, Stefan and all,
On Wed, 6 Aug 2014 10:48:55 +0200
Kevin Wolf kw...@redhat.com wrote:
Am 06.08.2014 um 07:33 hat Ming Lei geschrieben:
Anyhow,
On Wed, Aug 13, 2014 at 07:21:57PM +0800, zhanghailiang wrote:
If we configure qemu with realtime-mlock-on and memory-node-bind at the same
time,
Qemu will fail to start, and mbind() fails with message Input/output error.
From man page:
int mbind(void *addr, unsigned long len, int mode,
Il 12/08/2014 21:29, Eduardo Habkost ha scritto:
On Tue, Aug 12, 2014 at 09:12:00PM +0200, Paolo Bonzini wrote:
Il 12/08/2014 20:55, Eduardo Habkost ha scritto:
This makes the CPUID data change under the guest's feet during
live-migration.
Adding compat code to ensure older machine-types
On Tue, Aug 12, 2014 at 01:53:40PM -0500, Tom Musta wrote:
The ELF V2 ABI for PPC64 defines MINSIGSTKSZ as 4096 bytes whereas it was
2048 previously.
fails to build - need to make get_ppc64_abi a properly exported function.
Signed-off-by: Tom Musta tommu...@gmail.com
---
V2: Define and use
Il 13/08/2014 12:19, Ming Lei ha scritto:
The problem is that your patches to do touch too much code and subtly
break too much stuff. The one I wrote does have a little breakage
Could you give a hint about which stuff are broken? Last time, you mention
virtio-scsi need to keep AIOCB live
Il 13/08/2014 13:43, Ming Lei ha scritto:
The below patch is basically the minimal change to bypass coroutines. Of
course
the block.c part is not acceptable as is (the change to
refresh_total_sectors
is broken, the others are just ugly), but it is a start. Please run it
with
On 08/13/2014 06:15 AM, Markus Armbruster wrote:
Daniel Henrique Barboza danie...@linux.vnet.ibm.com writes:
The curl hardcoded timeout (5 seconds) sometimes is not long
enough depending on the remote server configuration and network
traffic. The user should be able to set how much long he is
On Wed, Aug 13, 2014 at 8:35 PM, Paolo Bonzini pbonz...@redhat.com wrote:
Il 13/08/2014 13:43, Ming Lei ha scritto:
The below patch is basically the minimal change to bypass coroutines. Of
course
the block.c part is not acceptable as is (the change to
refresh_total_sectors
is broken,
Hi,
Am 13.08.2014 03:23, schrieb David Gibson:
As of qemu-2.1, spapr/pseries, has a set of versioned machine classes to
represent the machine type as it appeared to the guest in different qemu
versions. This allows for safe migration of guests between current and
future qemu versions.
In
On Wed, Aug 13, 2014 at 9:16 PM, Paolo Bonzini pbonz...@redhat.com wrote:
Il 13/08/2014 11:54, Kevin Wolf ha scritto:
Am 12.08.2014 um 21:08 hat Paolo Bonzini geschrieben:
Il 12/08/2014 10:12, Ming Lei ha scritto:
The below patch is basically the minimal change to bypass coroutines.
Of
On 8/13/2014 7:31 AM, Riku Voipio wrote:
On Tue, Aug 12, 2014 at 01:53:40PM -0500, Tom Musta wrote:
The ELF V2 ABI for PPC64 defines MINSIGSTKSZ as 4096 bytes whereas it was
2048 previously.
fails to build - need to make get_ppc64_abi a properly exported function.
Riku:
Sorry about
Yes...
Time is a problem, and it‘s currently running out... ;-)
I think the first step is to reason about possible approaches and how
they can be implemented in QEMU. The implementation can follow later :-)
Thank you for the hint with the drive-mirror feature.
I will take a look at it and
Daniel H Barboza danie...@linux.vnet.ibm.com writes:
On 08/13/2014 09:39 AM, Daniel H Barboza wrote:
On 08/13/2014 06:15 AM, Markus Armbruster wrote:
Daniel Henrique Barboza danie...@linux.vnet.ibm.com writes:
The curl hardcoded timeout (5 seconds) sometimes is not long
enough depending on
On Tue, Aug 12, 2014 at 06:29:41PM +0200, Kevin Wolf wrote:
Signed-off-by: Kevin Wolf kw...@redhat.com
---
hw/ide/core.c| 4 +++-
tests/ide-test.c | 14 ++
2 files changed, 17 insertions(+), 1 deletion(-)
Thanks, applied to my block tree:
On 08/13/2014 11:07 AM, Markus Armbruster wrote:
Daniel H Barboza danie...@linux.vnet.ibm.com writes:
On 08/13/2014 09:39 AM, Daniel H Barboza wrote:
On 08/13/2014 06:15 AM, Markus Armbruster wrote:
Daniel Henrique Barboza danie...@linux.vnet.ibm.com writes:
The curl hardcoded timeout (5
On Tue, Aug 12, 2014 at 02:44:09PM -0400, John Snow wrote:
Currently, if the block device backing the IDE drive is resized,
the information about the device as cached inside of the IDEState
structure is not updated, thus when a guest OS re-queries the drive,
it is unable to see the expanded
On 08/12/2014 10:48 PM, Hitoshi Mitake wrote:
This patch makes the fault injection functionality of blkdebug
callable from QMP. Motivation of this change is for testing and
debugging distributed systems. Ordinal distributed systems must handle
hardware faults because of its reason for
The Wednesday 13 Aug 2014 à 18:08:47 (+0800), Ming Lei wrote :
This test runs dummy function with coroutine by using
two enter and one yield since which is a common usage.
So we can see the cost introduced by corouting for running
one function, for example:
Run operation 2000
On 13 août 2014 16:27:29 CEST, Benoît Canet benoit.ca...@irqsave.net wrote:
The Wednesday 13 Aug 2014 à 18:08:47 (+0800), Ming Lei wrote :
This test runs dummy function with coroutine by using
two enter and one yield since which is a common usage.
So we can see the cost introduced by
On Wed, Aug 13, 2014 at 01:48:41PM +0900, Hitoshi Mitake wrote:
@@ -485,6 +493,10 @@ static BlockDriverAIOCB
*blkdebug_aio_readv(BlockDriverState *bs,
BDRVBlkdebugState *s = bs-opaque;
BlkdebugRule *rule = NULL;
+if (s-qmp_fault_state != BLOCK_FAULT_STATE_NONE) {
+
The Tuesday 12 Aug 2014 à 16:12:57 (-0300), Daniel Henrique Barboza wrote :
The curl hardcoded timeout (5 seconds) sometimes is not long
enough depending on the remote server configuration and network
traffic. The user should be able to set how much long he is
willing to wait for the
Hi Edgar,
I was just writing a test to verify the correct behavior of the SCR AW/FW
bits and I think there is an issue.
During an SCR write an initial valid mask is set from SCR_MASK which is
defined to not include these bits. Then these bits are hard-coded into the
write value using RES1.
On Tue, Aug 12, 2014 at 02:44:09PM -0400, John Snow wrote:
Currently, if the block device backing the IDE drive is resized,
the information about the device as cached inside of the IDEState
structure is not updated, thus when a guest OS re-queries the drive,
it is unable to see the expanded
John Snow js...@redhat.com writes:
Currently, if the block device backing the IDE drive is resized,
the information about the device as cached inside of the IDEState
structure is not updated, thus when a guest OS re-queries the drive,
it is unable to see the expanded size.
This patch adds a
On 08/13/2014 11:38 AM, Benoît Canet wrote:
The Tuesday 12 Aug 2014 à 16:12:57 (-0300), Daniel Henrique Barboza wrote :
The curl hardcoded timeout (5 seconds) sometimes is not long
enough depending on the remote server configuration and network
traffic. The user should be able to set how much
Am 12.08.2014 um 17:30 hat Eric Blake geschrieben:
On 08/12/2014 08:14 AM, 吴兴博 wrote:
However FVD seems to have been ignored by community.
Care to give a pointer to a URL describing the FVD format?
http://lists.nongnu.org/archive/html/qemu-devel/2011-01/msg00398.html
This thread
The curl hardcoded timeout (5 seconds) sometimes is not long
enough depending on the remote server configuration and network
traffic. The user should be able to set how much long he is
willing to wait for the connection.
Adding a new option to set this timeout gives the user this
flexibility. The
Changes in v3:
- changed option name from 'curltimeout' to 'timeout'
Changes in v2:
- remove double quote from the int value in qemu-options.hx
Daniel Henrique Barboza (1):
block.curl: adding 'timeout' option
block/curl.c| 13 -
qemu-options.hx | 10 --
2 files
Am 12.08.2014 um 01:38 hat 吴兴博 geschrieben:
Hello,
The introduction in the wiki page present several advantages of qcow2 [1].
But I'm a little confused. I really appreciate if any one can give me some
help
on this :).
(1) Currently the raw format doesn't support COW. In other words,
Take IRQ target mask into account when determining the highest priority
pending interrupt.
Signed-off-by: Sergey Fedorov serge.f...@gmail.com
---
hw/intc/arm_gic.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/intc/arm_gic.c b/hw/intc/arm_gic.c
index 1532ef9..a5ad7b9
On 08/12/2014 10:02 AM, Artyom Tarasenko wrote:
Implement Short Floating-Point Store Instructions as described
in the chapter 13.5.2 of UltraSPARC-IIi User's Manual.
Particularly this instructions are used by NetBSD 4.0.1+ /sparc64
Signed-off-by: Artyom Tarasenko atar4q...@gmail.com
On Wed, Aug 13, 2014 at 11:54 AM, Kevin Wolf kw...@redhat.com wrote:
Am 12.08.2014 um 01:38 hat 吴兴博 geschrieben:
Hello,
The introduction in the wiki page present several advantages of qcow2 [1].
But I'm a little confused. I really appreciate if any one can give me some
help
on this :).
On Tue, Aug 12, 2014 at 01:41:48PM +0200, Marc Marí wrote:
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Marc Marí marc.mari.barc...@gmail.com
---
tests/libqtest.c |7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
Reviewed-by: Stefan Hajnoczi
On Tue, Aug 12, 2014 at 01:41:46PM +0200, Marc Marí wrote:
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í
On Tue, Aug 12, 2014 at 01:41:47PM +0200, Marc Marí wrote:
+static uint64_t qvirtio_pci_config_readq(QVirtioDevice *d, void *addr)
+{
+QVirtioPCIDevice *dev = (QVirtioPCIDevice *)d;
+return qpci_io_readl(dev-pdev, addr) | qpci_io_readl(dev-pdev, addr+4);
This is broken because it
On Tue, Aug 12, 2014 at 01:41:50PM +0200, Marc Marí wrote:
Reviewed-by: John Snow js...@redhat.com
Reviewed-by: Stefan Hajnoczi stefa...@redhat.com
Signed-off-by: Marc Marí marc.mari.barc...@gmail.com
---
tests/libqos/malloc.h |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
On Tue, Aug 12, 2014 at 01:41:48PM +0200, Marc Marí wrote:
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Marc Marí marc.mari.barc...@gmail.com
---
tests/libqtest.c |7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
Thanks, applied to my block tree:
On Tue, Aug 12, 2014 at 01:41:51PM +0200, Marc Marí wrote:
Without this correction, only a three descriptor layout is accepted, and
requests with just two descriptors are not completed and no error message is
displayed.
Signed-off-by: Stefan Hajnoczi stefa...@redhat.com
Signed-off-by: Marc
On Tue, Aug 12, 2014 at 01:41:49PM +0200, Marc Marí wrote:
Reviewed-by: John Snow js...@redhat.com
Reviewed-by: Stefan Hajnoczi stefa...@redhat.com
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Marc Marí marc.mari.barc...@gmail.com
---
tests/libqos/malloc-pc.c |2 +-
Signed-off-by: Peter Lieven p...@kamp.de
---
qemu-nbd.c | 75 +++-
1 file changed, 39 insertions(+), 36 deletions(-)
diff --git a/qemu-nbd.c b/qemu-nbd.c
index 6ef8b10..9bc152e 100644
--- a/qemu-nbd.c
+++ b/qemu-nbd.c
@@ -39,10 +39,10 @@
Signed-off-by: Peter Lieven p...@kamp.de
Reviewed-by: Eric Blake ebl...@redhat.com
---
qemu-nbd.c | 25 +
1 file changed, 25 insertions(+)
diff --git a/qemu-nbd.c b/qemu-nbd.c
index 626e584..6ef8b10 100644
--- a/qemu-nbd.c
+++ b/qemu-nbd.c
@@ -18,11 +18,13 @@
On Tue, Aug 12, 2014 at 01:41:52PM +0200, Marc Marí wrote:
+/* Check power of 2 */
+aux = vq-size;
+while ((aux 1) != 0) {
+aux = aux 1;
+}
+g_assert_cmpint(aux, !=, 1);
Power of 2 can be tested like this without a while loop:
g_assert_cmpint(vq-size (vq-size
relaxing the license to LGPLv2+ is intentional.
Suggested-by: Markus Armbruster arm...@redhat.com
Signed-off-by: Hu Tao hu...@cn.fujitsu.com
Signed-off-by: Peter Lieven p...@kamp.de
Reviewed-by: Eric Blake ebl...@redhat.com
---
blockdev.c | 30 ++
Currently, if the block device backing the IDE drive is resized,
the information about the device as cached inside of the IDEState
structure is not updated, thus when a guest OS re-queries the drive,
it is unable to see the expanded size.
This patch adds a resize callback that updates the
v1-v2: - state that relaxing the license for qapi-util.c to LGPLv2+
was intentional [Eric]
- split the qemu-nbd patch into 2 pieces [Eric]
Peter Lieven (3):
rename parse_enum_option to qapi_enum_parse and make it public
qemu-nbd: add option to set detect-zeroes mode
On Tue, Aug 12, 2014 at 01:41:54PM +0200, Marc Marí wrote:
@@ -349,7 +359,7 @@ int main(int argc, char **argv)
g_test_init(argc, argv, NULL);
g_test_add_func(/virtio/blk/pci/basic, pci_basic);
-g_test_add_func(/virtio/blk/pci/indirect, pci_indirect);
+
Hello,
Using qemu2.1 I'm starting a vm with this network interface:
[netdev vifA.0]
type = tap
vhost = on
ifname = vifA.0
downscript = no
script = no
queues = 2
[device vifA.0]
driver = virtio-net-pci
netdev = vifA.0
mac = 00:16:3e:1a:4e:11
mq = on
vectors = 5
during qemu
On 08/13/2014 11:20 AM, Peter Lieven wrote:
Signed-off-by: Peter Lieven p...@kamp.de
---
qemu-nbd.c | 75
+++-
1 file changed, 39 insertions(+), 36 deletions(-)
Reviewed-by: Eric Blake ebl...@redhat.com
Thanks for splitting the
Am 13.08.2014 um 18:38 hat Xingbo Wu geschrieben:
On Wed, Aug 13, 2014 at 11:54 AM, Kevin Wolf kw...@redhat.com wrote:
Am 12.08.2014 um 01:38 hat 吴兴博 geschrieben:
Hello,
The introduction in the wiki page present several advantages of qcow2
[1].
But I'm a little confused. I really
On Wed, Aug 13, 2014 at 8:03 PM, William Dauchy wdau...@gmail.com wrote:
Using qemu2.1 I'm starting a vm with this network interface:
[netdev vifA.0]
type = tap
vhost = on
ifname = vifA.0
downscript = no
script = no
queues = 2
[device vifA.0]
driver = virtio-net-pci
On Wed, Aug 13, 2014 at 09:47:40PM +0800, Hengjinxiao wrote:
Sometimes it is necessary to test whether virtio-net can send and receive
packets
normally, just as e1000 does. This patch adds loopback for virtio-net, when
the
command 'VIRTIO_NET_CTRL_LOOPBACK_SET' is sent from front-end
This series of patches is the result of executing the Linux Test Program
(LTP) System Call bucket (https://github.com/linux-test-project/ltp)
on the 64 bit big and little endian linux user mode targets for Power.
Some of the changes are not technically unique to Power, but are effectively
so.
The 64 bit PowerPC platforms eliminate the _unused1 and _unused2
elements of the semid_ds structure from sys/sem.h. So eliminate
these from the target_semid_ds structure.
Signed-off-by: Tom Musta tommu...@gmail.com
---
linux-user/syscall.c |4
1 files changed, 4 insertions(+), 0
When the ipc system call is used to wrap a semctl system call,
the ptr argument to ipc needs to be dereferenced prior to passing
it to the semctl handler. This is because the fourth argument to
semctl is a union and not a pointer to a union.
Signed-off-by: Tom Musta tommu...@gmail.com
---
V2:
The argument to the mlockall system call is not necessarily the same on
all platforms and thus may require translation prior to passing to the
host.
For example, PowerPC 64 bit platforms define values for MCL_CURRENT
(0x2000) and MCL_FUTURE (0x4000) which are different from Intel platforms
(0x1
1 - 100 of 145 matches
Mail list logo