On 26.09.2012 01:19, Anthony Liguori wrote:
> Combining -nographic and -daemonize don't make sense. I'd rather error
> out with this combination.
>
> I think what the user is after is -daemonize -vga none OR -daemonize
> -display none.
So what's the difference?
I know lots of people use -nograp
Anthony Liguori writes:
> Kevin Wolf writes:
>
>> Am 25.09.2012 14:57, schrieb Anthony Liguori:
>>> Paolo Bonzini writes:
>>>
Il 24/09/2012 13:28, Juan Quintela ha scritto:
> Hi
>
> Please send in any agenda items you are interested in covering.
URI parsing library f
Signed-off-by: Gerd Hoffmann
---
hw/pc_piix.c | 16
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/hw/pc_piix.c b/hw/pc_piix.c
index 5a0796b..afd8361 100644
--- a/hw/pc_piix.c
+++ b/hw/pc_piix.c
@@ -358,14 +358,30 @@ static QEMUMachine pc_machine_v1_3 = {
Parse route string in slot contexts and
support devices connected via hub.
---
hw/usb/hcd-xhci.c | 86 ++---
1 files changed, 55 insertions(+), 31 deletions(-)
diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c
index 1414826..8c0155b 100644
--- a/
Luiz Capitulino writes:
> v4
>
> - Fix misworded error message in monitor_get_fd() [Markus]
> - small doc & commit log improvements [Markus]
I'd still like 1/3 to describe the change to the parsing of property
"configfd". No biggie, so:
Reviewed-by: Markus Armbruster
Signed-off-by: Gerd Hoffmann
---
hw/pc_piix.c | 12 ++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/hw/pc_piix.c b/hw/pc_piix.c
index 88ff041..5a0796b 100644
--- a/hw/pc_piix.c
+++ b/hw/pc_piix.c
@@ -349,8 +349,8 @@ static void pc_xen_hvm_init(ram_addr_t ram_size,
Am 26.09.2012 01:22, schrieb ching:
> On 09/25/2012 09:33 PM, Kevin Wolf wrote:
>> Am 25.09.2012 00:40, schrieb ching:
>>> On 09/24/2012 08:30 PM, Kevin Wolf wrote:
Am 24.09.2012 13:32, schrieb ching:
> Hi all,
>
> My host is qemu-1.1.1 and x64 kernel 3.5.4. The guest is using
>>>
Markus Armbruster writes:
> Luiz Capitulino writes:
>
>> From: Paolo Bonzini
>>
>> There is no need to open-code the choice between a file descriptor
>> number or a named one. Just use monitor_handle_fd_param, which
>> also takes care of printing the error message.
>>
>> Signed-off-by: Paolo B
On 26 September 2012 08:09, Michael Tokarev wrote:
> On 26.09.2012 01:19, Anthony Liguori wrote:
>> Combining -nographic and -daemonize don't make sense. I'd rather error
>> out with this combination.
>>
>> I think what the user is after is -daemonize -vga none OR -daemonize
>> -display none.
>
>
From: Hans de Goede
There are several issues with our handling of the MULT epcap field
of interrupt qhs, which this patch fixes.
1) When we don't execute a transaction because of the transaction counter
being 0, p->async stays EHCI_ASYNC_NONE, and the next time we process the
same qtd we hit an
On 25.09.2012 19:08, Doug Goldstein wrote:
> On Tue, Sep 25, 2012 at 12:01 PM, Daniel P. Berrange
> wrote:
>> On Tue, Sep 25, 2012 at 10:57:23AM -0600, Eric Blake wrote:
>>> On 09/25/2012 06:54 AM, Daniel P. Berrange wrote:
On Tue, Sep 25, 2012 at 02:49:00PM +0200, Michal Privoznik wrote:
>>>
Hi Alex,
I checked all the rom_add_*() functions.
Multiple platforms of different architectures use rom_add_* to save images.
hw/arm_boot.c
hw/exynos4210.
hw/highbank.
hw/mips_fulong2e.c
hw/mips_malta.c
hw/mips_r4k.c
hw/r2d.c
Even for PowerP
Jason Baron writes:
> On Mon, Sep 24, 2012 at 06:52:29PM +0200, Markus Armbruster wrote:
>> Jason Baron writes:
>>
>> > On Fri, Sep 21, 2012 at 04:05:14PM +0200, Markus Armbruster wrote:
>> >> Jason Baron writes:
>> >>
>> >> > From: Isaku Yamahata
>> >> >
>> >> > Introduce a helper function
Hi,
This is the usb patch queue. Adds a pc-1.3 machine type (patch #1) so I
can add xhci compat properties (patch #2). xhci gets usb hub support.
Other that that just a bunch of bugfixes.
please pull,
Gerd
The following changes since commit d9b41bcda91ea7285d934a9c2333c49cd32d1ad3:
Merg
Signed-off-by: Gerd Hoffmann
---
hw/usb/hcd-xhci.c | 85 +++--
1 files changed, 43 insertions(+), 42 deletions(-)
diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c
index 8c0155b..e79a872 100644
--- a/hw/usb/hcd-xhci.c
+++ b/hw/usb/hcd-xhci.c
@@
On 26.09.2012 12:00, Peter Maydell wrote:
>> I know lots of people use -nographic -daemonize to run headless
>> guests in background (like, for example, a router). I guess it
>> come way before -vga option has been introduced, but at least I
>> know about -vga (but not about -vga none). For one,
For virtio block device, if user does not specify the serial attribute,
There will be no serial availabe, this is not convenient for identifying
the disk.
Doing something similar to ide disks, add a "VD?" default serial
number if user does not specify it.
Signed-off-by: Dave Young
---
hw/vi
From: David Gibson
With the IOMMU infrastructure introduced before 1.2, we need to use
dma_memory_map() to obtain a qemu pointer to memory from an IO bus address.
However, dma_memory_map() alters the given length to reflect the length
over which the used DMA translation is valid - which could be
> -Original Message-
> From: Stefano Stabellini [mailto:stefano.stabell...@eu.citrix.com]
> Sent: Tuesday, September 25, 2012 6:52 PM
> To: Hao, Xudong
> Cc: Stefano Stabellini; xen-de...@lists.xen.org; qemu-devel@nongnu.org;
> Zhang, Xiantao
> Subject: Re: [PATCH v2] qemu/xen: Add 64 bits
From: Hans de Goede
The usbredir 0.5 release introduced the new API for 64 bit packet ids, but
it kept the libusbredirparser.pc name as is, meaning that older versions of
qemu will still have their pkg-config check for usbredirparser fulfilled,
and build with the usb-redir device. Due to the API
Set maxports to 15. This is what the usb3 route string can handle.
Set maxslots to 64. This is more than the number of root ports we
can have, but with additional hubs you can end up with more devices.
Set maxintrs (aka msi vectors) to 16. Should be enougth, especially
considering that vectors
On 26 September 2012 09:17, Michael Tokarev wrote:
> On 26.09.2012 12:00, Peter Maydell wrote:
>
>>> I know lots of people use -nographic -daemonize to run headless
>>> guests in background (like, for example, a router). I guess it
>>> come way before -vga option has been introduced, but at least
Thanks Gerd.
Hi Alex,
Can this patch be pushed to upstream?
Thanks. -:)
On Wed, Sep 26, 2012 at 2:29 PM, Gerd Hoffmann wrote:
> On 09/26/12 06:20, Li Zhang wrote:
>> Would you please have a look at my patch when you have time?
>> Because it is related with USB, so I hope to get your approval be
On 26.09.2012, at 03:18, David Gibson wrote:
> On Wed, Sep 26, 2012 at 03:03:10AM +0200, Alexander Graf wrote:
>> On 26.09.2012, at 02:27, David Gibson wrote:
>>> On Mon, Sep 24, 2012 at 12:38:59PM +0200, Alexander Graf wrote:
On 24.09.2012, at 02:31, David Gibson wrote:
> [snip]
> So,
Hi, Eric
This is in fact same with v1 except the spelling fixes.
I switched back to v1 because of your concern about the same id reusing
issue. For v1, unplugging 10 times is not likely and insane, so I
think we can safely ignore it.
Unless qemu-img create some uuid for disk imgs I think the
On 26.09.2012, at 10:50, Li Zhang wrote:
> Thanks Gerd.
>
> Hi Alex,
> Can this patch be pushed to upstream?
Gerd, do you want to take this through the usb queue? If I get s formal ack
from you I can also take it into ppc-next, but it doesn't quite belong there :).
Alex
>
> Thanks. -:)
>
Il 25/09/2012 23:12, Anthony Liguori ha scritto:
> Just like sparse is a "compiler", so is qidl. We are free to use the
> '_' + lowercase prefix.
>
> ISADevice _immutable dev;
>
> It's an established practice in wide-use.
But QEMU is also compiled with GCC, so we're not. The Linux ke
Am 24.09.2012 11:13, schrieb Bharata B Rao:
> block: Support GlusterFS as a QEMU block backend.
>
> From: Bharata B Rao
>
> This patch adds gluster as the new block backend in QEMU. This gives
> QEMU the ability to boot VM images from gluster volumes. Its already
> possible to boot from VM image
Il 26/09/2012 12:00, Kevin Wolf ha scritto:
>> > +
>> > +ret = write(fd, (void *)&acb, sizeof(acb));
>> > +if (ret >= 0) {
>> > +break;
>> > +}
>> > +if (errno == EINTR) {
>> > +continue;
>> > +}
>> > +if (errno != EAGAIN) {
>>
On Tue, Sep 25, 2012 at 02:39:31PM -0700, Andrew Morton wrote:
> On Tue, 25 Sep 2012 17:13:27 +0900
> Minchan Kim wrote:
>
> > I see. To me, your saying is better than current comment.
> > I hope comment could be more explicit.
> >
> > diff --git a/mm/compaction.c b/mm/compaction.c
> > index df0
Am 25.09.2012 23:12, schrieb Anthony Liguori:
> Michael Roth writes:
>
>> On Tue, Sep 25, 2012 at 08:37:16AM +0200, Paolo Bonzini wrote:
>>> Il 24/09/2012 20:14, Michael Roth ha scritto:
I went with qUppercase because it avoids all the previous issues with
using leading undersco
Il 26/09/2012 12:20, Kevin Wolf ha scritto:
>>> >> QIDL_DECLARE(RTCState) {
>>> >>
>>> >> ISADevice dev qidl(immutable);
>>> >> MemoryRegion io qidl(immutable);
>> >
>> > Just like sparse is a "compile
Am 26.09.2012 10:15, schrieb Markus Armbruster:
> Jason Baron writes:
>> I think that -drive if=ide should result in a disk attached piix3-ide.
>> Not in an ide disk attached to the ahci controller (which is current q35
>> bahavior, and is 'broken' b/c we don't want that to change after q35 is
>>
On Wed, 26 Sep 2012, Hao, Xudong wrote:
> > -Original Message-
> > From: Stefano Stabellini [mailto:stefano.stabell...@eu.citrix.com]
> > Sent: Tuesday, September 25, 2012 6:52 PM
> > To: Hao, Xudong
> > Cc: Stefano Stabellini; xen-de...@lists.xen.org; qemu-devel@nongnu.org;
> > Zhang, Xian
On 26.09.2012, at 10:13, Yin Olivia-R63875 wrote:
> Hi Alex,
>
> I checked all the rom_add_*() functions.
> Multiple platforms of different architectures use rom_add_* to save images.
> hw/arm_boot.c
> hw/exynos4210.
> hw/highbank.
> hw/mips_fulong2e.c
> hw/mips_mal
LINK mipsel-softmmu/qemu-system-mipsel
hw/mips/../mips_malta.o: In function `mips_malta_init':
mips_malta.c:962: undefined reference to `piix4_pm_init'
Can reproduce with:
./configure --target-list=mipsel-softmmu --disable-werror
make
However only on qemu-kvm, not qemu.git or qemu 1.2.0.
Add multiport serial card implementation, with two variants,
one featuring two and one featuring four ports.
Signed-off-by: Gerd Hoffmann
---
docs/qemupciserial.inf |2 +
hw/serial-pci.c| 157
2 files changed, 159 insertions(+), 0 del
Hi,
Second version. Added comment specifying the virtual hardware.
Splitted windows inf file into a separate patch. Added multiport
versions (2x and 4x) of the card.
Gerd Hoffmann (4):
serial: split serial.c
serial: add pci variant
serial: add windows inf file for the pci card to docs
So we get a hot-pluggable 16550 uart.
Signed-off-by: Gerd Hoffmann
---
default-configs/pci.mak |2 +
hw/Makefile.objs|1 +
hw/pci_ids.h|1 +
hw/serial-pci.c | 115 +++
4 files changed, 119 insertions(+), 0 delet
Split serial.c into serial.c, serial.h and serial-isa.c. While being at
creating a serial.h header file move the serial prototypes from pc.h to
the new serial.h. The latter leads to s/pc.h/serial.h/ in tons of
boards which just want the serial bits from pc.h
Signed-off-by: Gerd Hoffmann
---
hw
Am 25.09.2012 14:55, schrieb Paolo Bonzini:
> This series removes the globals from async.c/aio-posix.c so that
> multiple AIO contexts (mini event loops) can be added. Right now,
> all block devices still use qemu_bh_new, but switching them to
> aio_bh_new would let you associate different files w
Signed-off-by: Gerd Hoffmann
---
docs/qemupciserial.inf | 107
1 files changed, 107 insertions(+), 0 deletions(-)
create mode 100644 docs/qemupciserial.inf
diff --git a/docs/qemupciserial.inf b/docs/qemupciserial.inf
new file mode 100644
index 0
Orit Wasserman writes:
> Changes from v4:
> - Rename ConnectHandler to NonBlockingConnectHandler
> - move function comments to functions definitions
> - move connect_state allocation to outside of the loop
> - fix comments text
>
> Changes from v3:
> - add missing pa
Gerd Hoffmann writes:
> Hi,
>
> Small series with tree patches, the first one adds a new machine type
> for the upcoming 1.3 release so we can add compat properties as needed,
> the other two patches actually add compat properties. The xhci one is
> a pure compat fix which turns off msi+msix o
Stefan Weil writes:
> The old code aborted configure when no emulation target was selected.
> Even after removing the 'exit 1', it tried to read from STDIN
> when QEMU was configured with
>
> configure' '--disable-user' '--disable-system'
>
> This is fixed here.
>
> Signed-off-by: Stefan Weil
Igor Mammedov writes:
> global variable qemu_system_powerdown in sysemu.h is the only dep for qemu_irq
> and qemu_rise_irq is not a generic way to signal guest that it should
> shutdown.
>
> replace it by notifiers and allow each implementation to have it's own way
> to notify guest.
>
> git rep
On 26.09.2012, at 05:12, David Gibson wrote:
> The PAPR specification requires a certain amount of NVRAM, accessed via
> RTAS, which we don't currently implement in qemu. This patch addresses
> this deficiency, implementing the NVRAM as a VIO device, with some glue to
> instantiate it automatica
On 26.09.2012, at 05:12, David Gibson wrote:
> Hi Alex,
>
> Here's another batch of updates for pseries, some of which affect
> wider target-ppc code. I have sent a few of these before, but I don't
> believe any have made it into ppc-next so far. 5/6 is an important
> bugfix we've discussed be
Gerd Hoffmann writes:
> On 09/26/12 01:43, Anthony Liguori wrote:
>> Gerd Hoffmann writes:
>>
>>> Hi,
>>>
>>> Two patches, first split up serial.c a bit,
>>> then actually add the pci-based serial device.
>>
>> The series looks good to me. A couple requests:
>>
>> 1) Could you add a spec d
Il 26/09/2012 14:28, Kevin Wolf ha scritto:
> Do you have a git tree where I could see what things would look like in
> the end?
I will push it to aio-context on git://github.com/bonzini/qemu.git as
soon as github comes back.
> I wonder how this relates to my plans of getting rid of qemu_aio_flus
On Thu, 6 Sep 2012 17:05:34 -0300
Eduardo Habkost wrote:
> The problem:
>
> - Some features are report at the same time on both CPUID[1].EDX and
>CPUID[8000_0001].EDX on AMD CPUs (e.g. fpu, tsc, msr, pae, mmx).
> - "-cpu ,+feature" should enable the bit only on CPUID[1] if
>it's not a
Peter Maydell writes:
> On 26 September 2012 09:17, Michael Tokarev wrote:
>> On 26.09.2012 12:00, Peter Maydell wrote:
>>
I know lots of people use -nographic -daemonize to run headless
guests in background (like, for example, a router). I guess it
come way before -vga option ha
Alex Williamson writes:
> Enabled for all softmmu guests supporting PCI on Linux hosts. Note
> that currently only x86 hosts have the kernel side VFIO IOMMU support
> for this. PPC (g3beige) is the only non-x86 guest known to work.
> ARM (veratile) hangs in firmware, others untested.
>
> Signed
Am 25.09.2012 18:29, schrieb Jeff Cody:
> Add bdrv_find_overlay(), and bdrv_drop_intermediate().
>
> bdrv_find_overlay(): given 'bs' and the active (topmost) BDS of an image
> chain,
> find the image that is the immediate top of 'bs'
>
> bdrv_drop_intermediate():
>
On Tue, 2012-09-25 at 21:08 -0600, Alex Williamson wrote:
> On Tue, 2012-09-25 at 20:01 -0500, m...@cs.wisc.edu wrote:
> > From: Matt Renzelmann
> >
> > The current implementation of pci_find_space does not correctly align
> > PCI capabilities in the PCI configuration space. This patch fixes
> >
Am 25.09.2012 18:29, schrieb Jeff Cody:
> This adds the live commit coroutine. This iteration focuses on the
> commit only below the active layer, and not the active layer itself.
>
> The behaviour is similar to block streaming; the sectors are walked
> through, and anything that exists above 'ba
Am 25.09.2012 18:29, schrieb Jeff Cody:
> The command for live block commit is added, which has the following
> arguments:
>
> device: the block device to perform the commit on (mandatory)
> base: the base image to commit into; optional (if not specified,
> it is the underlying original
On Wed, 2012-09-26 at 08:50 -0500, Anthony Liguori wrote:
> Alex Williamson writes:
>
> > Enabled for all softmmu guests supporting PCI on Linux hosts. Note
> > that currently only x86 hosts have the kernel side VFIO IOMMU support
> > for this. PPC (g3beige) is the only non-x86 guest known to w
Am 25.09.2012 18:29, schrieb Jeff Cody:
> Currently, after a live snapshot of a drive, the image that has
> been 'demoted' to be below the new active layer remains r/w.
> This patch reopens it read-only.
>
> Note that we do not check for error on the reopen(), because we
> will not abort the snaps
On 09/26/2012 10:20 AM, Kevin Wolf wrote:
> Am 25.09.2012 18:29, schrieb Jeff Cody:
>> Currently, after a live snapshot of a drive, the image that has
>> been 'demoted' to be below the new active layer remains r/w.
>> This patch reopens it read-only.
>>
>> Note that we do not check for error on the
On 09/26/2012 10:13 AM, Kevin Wolf wrote:
> Am 25.09.2012 18:29, schrieb Jeff Cody:
>> The command for live block commit is added, which has the following
>> arguments:
>>
>> device: the block device to perform the commit on (mandatory)
>> base: the base image to commit into; optional (if not spe
Am 26.09.2012 15:32, schrieb Paolo Bonzini:
> Il 26/09/2012 14:28, Kevin Wolf ha scritto:
>> Do you have a git tree where I could see what things would look like in
>> the end?
>
> I will push it to aio-context on git://github.com/bonzini/qemu.git as
> soon as github comes back.
>
>> I wonder how
Am 26.09.2012 16:25, schrieb Jeff Cody:
> On 09/26/2012 10:13 AM, Kevin Wolf wrote:
>> Am 25.09.2012 18:29, schrieb Jeff Cody:
>>> The command for live block commit is added, which has the following
>>> arguments:
>>>
>>> device: the block device to perform the commit on (mandatory)
>>> base: the
On 09/26/2012 08:25 AM, Jeff Cody wrote:
>>> +# @top:#optional The file name of the backing image within the image
>>> chain,
>>> +#which contains the topmost data to be committed down.
>>> +#If not specified, this is one layer below the active
>>> +#
On 25 September 2012 13:44, Paolo Bonzini wrote:
> It makes sense to use it for other implementations than ucontext, too.
> Coroutine *qemu_coroutine_create(CoroutineEntry *entry)
> {
> -Coroutine *co = qemu_coroutine_new();
> +Coroutine *co;
> +
> +co = QSLIST_FIRST(&pool);
> +i
Signed-off-by: Paolo Bonzini
---
qapi-schema.json | 4 ++--
1 file modificato, 2 inserzioni(+), 2 rimozioni(-)
diff --git a/qapi-schema.json b/qapi-schema.json
index 8719a9d..26ac21f 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -1402,7 +1402,7 @@
# @format: #optional the format of th
HI,
Attached patch adds amd iommu emulation for Xen. Please review it.
Thanks,
Wei
From 122517435641384e4f5e36eaad8302ff273648e8 Mon Sep 17 00:00:00 2001
From: Wei Wang
Date: Wed, 26 Sep 2012 16:43:40 +0200
Subject: [PATCH] Add amd iommu emulation for Xen.
To passthrough amd southern island
From 0e5259161a6055dcbebb7b9e978b5c384c7a3efe Mon Sep 17 00:00:00 2001
From: Wei Wang
Date: Wed, 26 Sep 2012 11:47:03 +0200
Subject: [PATCH 4/6] libxc: add wrappers for new hypercalls
Please see patch 1 for hypercall description.
Signed-off-by: Wei Wang
---
tools/libxc/xc_domain.c | 53 ++
On 26.09.2012 17:46, Anthony Liguori wrote:
[]
> This is a good example of where we need improved documentation but I
> agree 100% with Peter.
So what do we do?
We've a clear bug, I can only fix it in the patch to the Debian
package, since I've been asked about this bug multiple times,
and I care
On 20.08.2012, at 16:28, Jens Freimann wrote:
> From: Heinz Graalfs
>
> This adds a more generic infrastructure for handling Service-Call
> requests on s390. Currently we only support a small subset of Read
> SCP Info directly in target-s390x. This patch provides the base
> infrastructure for s
On Wed, Sep 26, 2012 at 12:33:17PM +0200, Paolo Bonzini wrote:
> Il 26/09/2012 12:20, Kevin Wolf ha scritto:
> >>> >> QIDL_DECLARE(RTCState) {
> >>> >>
> >>> >> ISADevice dev qidl(immutable);
> >>> >> M
On Thursday, September 20, 2012 06:00:59 PM Eduardo Otubo wrote:
> Seccomp syscall whitelist updated after tests running qemu under
> libvirt ...
Hi Eduardo,
I know from our discussions offlist that you have an additional debugging
patch to help identify missing syscalls, perhaps you could also
Il 26/09/2012 16:34, Peter Maydell ha scritto:
>> It makes sense to use it for other implementations than ucontext, too.
>> > Coroutine *qemu_coroutine_create(CoroutineEntry *entry)
>> > {
>> > -Coroutine *co = qemu_coroutine_new();
>> > +Coroutine *co;
>> > +
>> > +co = QSLIST_FIRST(
From: Matt Renzelmann
The current implementation of pci_find_space does not correctly align
PCI capabilities in the PCI configuration space. It also does not
distinguish PCI and PCI-Express devices. This patch fixes these
issues.
Thanks to Alex Williamson for continuing feedback.
Signed-off-b
On 25 September 2012 23:52, Aurelien Jarno wrote:
> Now that the movcond TCG op is available, it's possible to replace
> shl and shr helpers by TCG code. The code generated by TCG is slightly
> longer than the code generated by GCC for the helper but is still worth
> it as this avoid all the conse
On 25 September 2012 23:51, Aurelien Jarno wrote:
> This patch series optimizes the ARM target by:
> - using globals instead of ld/st function
> - using TCG code instead of helpers
> - marking some helpers const and pure
I've put this series into target-arm.next. Thanks!
-- PMM
Il 26/09/2012 16:31, Kevin Wolf ha scritto:
>>> In fact, after removing io_flush, I don't really see what makes AIO
>>> fd handlers special any more.
>>
>> Note that while the handlers aren't that special indeed, there is still
>> some magic because qemu_aio_wait() bottom halves.
>
> Do you mean
On 19 September 2012 16:57, Francesco Lavra wrote:
> This patch adds modelling of the two NOR flash banks found on the
> Versatile Express motherboard. Tested with U-Boot running on an emulated
> Versatile Express, with either A9 or A15 CoreTile.
>
> Signed-off-by: Francesco Lavra
Reviewed-by: P
Hi all, this is the resubmission of my block job patches, originally
meant for 1.2. This still does not include a persistent dirty bitmap,
which I hope to post in October.
The patches are organized as follows:
01-13 preparatory work for block job errors, including support for
pausing a
The DeviceNotActive text is not a particularly good match, add
a separate text while keeping the same class.
Signed-off-by: Paolo Bonzini
---
v1->v2: rebased for Error changes
blockdev.c | 4 ++--
qerror.h | 3 +++
2 file modificati, 5 inserzioni(+), 2 rimozioni(-)
diff --git a/block
Extract it out of the implementation of info block-jobs.
Signed-off-by: Paolo Bonzini
---
v1->v2: use g_new0.
blockdev.c | 15 ++-
blockjob.c | 11 +++
blockjob.h | 8
3 file modificati, 21 inserzioni(+), 13 rimozioni(-)
diff --git a/blockdev.c b/blockdev.
There is really no change in the behavior of the job here, since
there is still a maximum of one in-flight I/O operation between
the source and the target. However, this patch already introduces
the AIO callbacks (which are unmodified in the next patch)
and some of the logic to count in-flight ope
On 26/09/12 17:00, Alexander Graf wrote:
>> +/* Provide information about the configuration, CPUs and storage */
>> +static void read_SCP_info(SCCB *sccb)
>> +{
>> +ReadInfo *read_info = (ReadInfo *) sccb;
>> +int shift = 0;
>> +
>> +while ((ram_size >> (20 + shift)) > 65535) {
>> +
With AIO support in place, we can start copying more than one chunk
in parallel. This patch introduces the required infrastructure for
this: the buffer is split into multiple granularity-sized chunks,
and there is a free list to access them.
Because of copy-on-write, a single operation may alread
On Wed, Sep 26, 2012 at 12:00:47PM +0200, Kevin Wolf wrote:
> Am 24.09.2012 11:13, schrieb Bharata B Rao:
> > +static int parse_volume_options(GlusterConf *gconf, char *path)
> > +{
> > +char *token, *saveptr;
> > +
> > +/* volname */
> > +token = strtok_r(path, "/", &saveptr);
> > +
From: Brendan Fennell
Reading VECTADDR was causing us to set the current priority to
the wrong value, the most obvious effect of which was that we
would return the vector for the wrong interrupt as the result
of the read.
Signed-off-by: Brendan Fennell
Signed-off-by: Peter Maydell
---
hw/pl19
From: Francesco Lavra
In the A series memory map (implemented in the Cortex A15 CoreTile), the
first NOR flash bank (flash 0) is mapped to address 0x0800, while
address 0x can be configured as alias to either the first or the
second flash bank. This patch fixes the definition of flash
HBitmaps provides an array of bits. The bits are stored as usual in an
array of unsigned longs, but HBitmap is also optimized to provide fast
iteration over set bits; going from one bit to the next is O(logB n)
worst case, with B = sizeof(long) * CHAR_BIT: the result is low enough
that the number
We can provide fast versions based on the other functions defined
by host-utils.h. Some care is required on glibc, which provides
ffsl already.
Signed-off-by: Paolo Bonzini
---
host-utils.h | 26 ++
1 file modificato, 26 inserzioni(+)
diff --git a/host-utils.h b/host-ut
On Wed, 2012-09-26 at 10:30 -0500, m...@cs.wisc.edu wrote:
> From: Matt Renzelmann
>
> The current implementation of pci_find_space does not correctly align
> PCI capabilities in the PCI configuration space. It also does not
> distinguish PCI and PCI-Express devices. This patch fixes these
> is
Extract it out of the implementation of "info block".
Signed-off-by: Paolo Bonzini
---
v1->v2: moved bdrv_query_info close to qmp_query_block.
Fixed conflicts for the new field 'encryption_key_missing'
too.
block.c | 104 +++---
When mirroring runs, the backing files for the target may not yet be
ready. However, this means that a copy-on-write operation on the target
would fill the missing sectors with zeros. Copy-on-write only happens
if the granularity of the dirty bitmap is smaller than the cluster size
(and only for
This patch adds the implementation of a new job that mirrors a disk to
a new image while letting the guest continue using the old image.
The target is treated as a "black box" and data is copied from the
source to the target in the background. This can be used for several
purposes, including stora
On Wed, Sep 26, 2012 at 11:14:29AM -0400, Paul Moore wrote:
> On Thursday, September 20, 2012 06:00:59 PM Eduardo Otubo wrote:
> > Seccomp syscall whitelist updated after tests running qemu under
> > libvirt ...
>
> Hi Eduardo,
>
> I know from our discussions offlist that you have an additional d
We want to remove knowledge of BLOCK_ERR_STOP_ENOSPC from drivers;
drivers should only be told whether to stop/report/ignore the error.
On the other hand, we want to keep using the nicer BlockErrorAction
name in the drivers. So rename the enums, while leaving aside the
names of the enum values for
This will let block-stream reuse the enum. Places that used the enums
are renamed accordingly.
Signed-off-by: Paolo Bonzini
---
block.c | 6 +++---
block.h | 5 -
blockdev.c| 12 ++--
hw/fdc.c | 4 ++--
hw/ide/core.c | 6 +++---
hw/scsi-d
Il 26/09/2012 18:11, Bharata B Rao ha scritto:
>>> +static int parse_volume_options(GlusterConf *gconf, char *path)
>>> > > +{
>>> > > +char *token, *saveptr;
>>> > > +
>>> > > +/* volname */
>>> > > +token = strtok_r(path, "/", &saveptr);
>>> > > +if (!token) {
>>> > > +ret
Yet another optimization is to extend the mirroring iteration to include more
adjacent dirty blocks. This limits the number of I/O operations and makes
mirroring efficient even with a small granularity. Most of the infrastructure
is already in place; we only need to put a loop around the computat
Job pausing reuses the existing support for cancellable sleeps. A pause
happens at the next sleeping point and lasts until the coroutine is
re-entered explicitly. Cancellation was already doing a forced resume,
so implement it explicitly in terms of resume.
Paused jobs cannot be canceled without
Alex Williamson writes:
> On Wed, 2012-09-26 at 08:50 -0500, Anthony Liguori wrote:
>> Alex Williamson writes:
>>
>> > Enabled for all softmmu guests supporting PCI on Linux hosts. Note
>> > that currently only x86 hosts have the kernel side VFIO IOMMU support
>> > for this. PPC (g3beige) is
1 - 100 of 263 matches
Mail list logo