On Mon, Mar 14, 2016 at 11:55:31PM +0700, miny...@acm.org wrote:
> From: Gerd Hoffmann
>
> Entries are inserted at the correct place instead of being
> appended to the end in case sorting is enabled.
>
> Signed-off-by: Gerd Hoffmann
>
> Added a machine type handling for compatibility.
>
> Sig
On Mon, Mar 14, 2016 at 11:23:51PM +0700, miny...@acm.org wrote:
> From: Gerd Hoffmann
>
> Entries are inserted at the correct place instead of being
> appended to the end in case sorting is enabled.
>
> Signed-off-by: Gerd Hoffmann
>
> Added a new machine type for compatibility.
>
> Signed-o
Pooja Dhannawat writes:
> On Mon, Mar 14, 2016 at 10:20 PM, Daniel P. Berrange
> wrote:
>
>> On Mon, Mar 14, 2016 at 10:07:53PM +0530, Pooja Dhannawat wrote:
>> > net_socket_send has a huge stack usage of 69712 bytes approx.
>> > Moving large arrays to heap to reduce stack usage.
>> >
>> > Signe
On Fri, Mar 11, 2016 at 10:24:34AM +0530, Bharata B Rao wrote:
> Add an abstract CPU core type that could be used by machines that want
> to define and hotplug CPUs in core granularity.
>
> Signed-off-by: Bharata B Rao
Reviewed-by: David Gibson
> ---
> hw/cpu/Makefile.objs | 1 +
> hw/cpu/c
On Fri, Mar 11, 2016 at 08:03:43PM +1100, Alexey Kardashevskiy wrote:
> On 03/04/2016 03:51 PM, David Gibson wrote:
> >On Tue, Mar 01, 2016 at 08:10:41PM +1100, Alexey Kardashevskiy wrote:
> >>This adds support for Dynamic DMA Windows (DDW) option defined by
> >>the SPAPR specification which allows
On Fri, Mar 11, 2016 at 10:24:32AM +0530, Bharata B Rao wrote:
> From: Gu Zheng
>
> In order to deal well with the kvm vcpus (which can not be removed without any
> protection), we do not close KVM vcpu fd, just record and mark it as stopped
> into a list, so that we can reuse it for the appendin
On Thu, Mar 10, 2016 at 06:39:39PM +1100, Alexey Kardashevskiy wrote:
> On 03/03/2016 02:00 PM, David Gibson wrote:
> >On Tue, Mar 01, 2016 at 08:10:29PM +1100, Alexey Kardashevskiy wrote:
> >>Currently TCE tables are created once at start and their sizes never
> >>change. We are going to change th
On Tue, Mar 15, 2016 at 01:53:48PM +1100, Alexey Kardashevskiy wrote:
> On 03/03/2016 05:30 PM, David Gibson wrote:
> >On Tue, Mar 01, 2016 at 08:10:36PM +1100, Alexey Kardashevskiy wrote:
> >>This makes use of the new "memory registering" feature. The idea is
> >>to provide the userspace ability t
On Thu, Mar 10, 2016 at 11:39:46AM +0100, Igor Mammedov wrote:
> On Thu, 10 Mar 2016 11:32:44 +0530
> Bharata B Rao wrote:
>
> > On Thu, Mar 10, 2016 at 04:22:43PM +1100, David Gibson wrote:
> > > On Wed, Mar 09, 2016 at 11:07:40AM +0100, Igor Mammedov wrote:
> > > > On Tue, 8 Mar 2016 20:04:12
On Thu, Mar 10, 2016 at 04:47:04PM +1100, Alexey Kardashevskiy wrote:
> On 03/03/2016 12:40 PM, David Gibson wrote:
> >On Tue, Mar 01, 2016 at 08:10:27PM +1100, Alexey Kardashevskiy wrote:
> >>We are going to have multiple DMA windows soon so let's start preparing.
> >>
> >>This adds a new helper t
On Fri, Mar 11, 2016 at 10:24:31AM +0530, Bharata B Rao wrote:
> cpu_exec_init() does vmstate_register for the CPU device. This needs to be
> undone from cpu_exec_exit(). This change is needed to support CPU hot
> removal.
>
> Signed-off-by: Bharata B Rao
Reviewed-by: David Gibson
> ---
> exe
ePAPR defines "hcall-instructions" device-tree property which contains
code to call hypercalls in ePAPR paravirtualized guests. However this
property is also present for pseries guests where it does not make sense,
even though it contains dummy code which simply fails.
Instead of maintaining the p
Filter-mirror is a netfilter plugin.
It gives qemu the ability to mirror
packets to a chardev.
usage:
-netdev tap,id=hn0
-chardev socket,id=mirror0,host=ip_primary,port=X,server,nowait
-filter-mirror,id=m0,netdev=hn0,queue=tx/rx/all,outdev=mirror0
Signed-off-by: Zhang Chen
Signed-off-by: Wen Co
In this unit test we will test the mirror function.
start qemu with:
-netdev socket,id=qtest-bn0,fd=sockfd
-device e1000,netdev=qtest-bn0,id=qtest-e0
-chardev socket,id=mirror0,path=/tmp/filter-mirror-test.sock,server,nowait
-object filter-mirror,id=qtest-f0,netdev=qtest-bn
Filter-mirror is a netfilter plugin.
It gives qemu the ability to mirror
packets to a chardev.
v9:
- add qmp("{ 'execute' : 'query-status'}")
before iov_send() and change pipe
to socket in test-filter-mirror.c
v8:
- The outdev of filter-mirror test changed
from -chardev socket to -char
On Mon, Mar 14, 2016 at 03:16:46PM +0100, Paolo Bonzini wrote:
>
>
> On 14/03/2016 14:30, Corey Minyard wrote:
> > On 03/13/2016 09:03 PM, Michael S. Tsirkin wrote:
> >> On Wed, Feb 24, 2016 at 12:59:13PM -0600, miny...@acm.org wrote:
> >>> From: Corey Minyard
> >>>
> >>> This is the same place
On Tue, 2016-03-15 at 12:34 +0800, Jeremy Kerr wrote:
> Hi Andrew,
>
> > This patch series models enough of the ASPEED AST2400 ARM9 SoC[0] to
> > boot an aspeed_defconfig Linux kernel[1][2]. Specifically, the series
> > implements the ASPEED timer and VIC devices, integrates them into an
> > AST24
On Fri, Nov 27, 2015 at 04:02:39PM +0100, Patrik Hermansson wrote:
> This patch adds the option to specify virtio queue sizes. Currently the
> queue sizes is hard coded to 256, which might not be suitable for all types
> of applications.
Any more data here? 256 packets seems plenty. Is there a cha
This patchset adds memory hot removal support for PowerPC sPAPR.
This new version switches to using the proposed "count-indexed" type of
hotplug identifier which allows to hot remove a number of LMBs starting
with a given DRC index.
This count-indexed hotplug identifier isn't yet part of PAPR.
Ch
Add support to hot remove pc-dimm memory devices.
Signed-off-by: Bharata B Rao
---
hw/ppc/spapr.c | 93 +-
hw/ppc/spapr_drc.c | 18 +++
2 files changed, 110 insertions(+), 1 deletion(-)
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
Add support for DRC count indexed hotplug ID type which is primarily
needed for memory hot unplug. This type allows for specifying the
number of DRs that should be plugged/unplugged starting from a given
DRC index.
NOTE: This new hotplug identifier type is not yet part of PAPR.
Signed-off-by: Bha
Hi Andrew,
> This patch series models enough of the ASPEED AST2400 ARM9 SoC[0] to
> boot an aspeed_defconfig Linux kernel[1][2]. Specifically, the series
> implements the ASPEED timer and VIC devices, integrates them into an
> AST2400 SoC and exposes it all through a new opbmc2400 machine. The
> d
On 03/15/2016 11:33 AM, Li Zhijian wrote:
>
>
> On 03/15/2016 11:08 AM, Jason Wang wrote:
>>
>>
>> On 03/09/2016 04:02 PM, Li Zhijian wrote:
>>>
>>>
>>> On 03/08/2016 04:04 PM, Yang Hongyang wrote:
Hi Chen,
What's the motivation that you want to change this name? The
funct
On 03/15/2016 11:08 AM, Jason Wang wrote:
On 03/09/2016 04:02 PM, Li Zhijian wrote:
On 03/08/2016 04:04 PM, Yang Hongyang wrote:
Hi Chen,
What's the motivation that you want to change this name? The
function actually is not
intent to iterate every filter.
Right. but this function i
> > > Hi,
> > > I'm just catching back up on this thread; so without reference to
> > > any particular previous mail in the thread.
> > >
> > > 1) How many of the free pages do we tell the host about?
> > > Your main change is telling the host about all the
> > > free pages.
> >
> > Y
On 03/08/2016 06:34 PM, Samuel Thibault wrote:
> Hello,
>
> This is another respin of IPv6 in Qemu -net user mode.
>
>
> These patches add ICMPv6, NDP, make UDP and TCP compatible with
> IPv6, and add TFTP over IPv6.
>
>
> Difference with version 9 is:
> - split icmp error patch in two
> - fix se
This allows dynamic allocation for migrating arrays.
Already existing VMSTATE_VARRAY_UINT32 requires an array to be
pre-allocated, however there are cases when the size is not known in
advance and there is no real need to enforce it.
This defines another variant of VMSTATE_VARRAY_UINT32 with WMS_
On 03/15/2016 11:07 AM, Jason Wang wrote:
On 03/10/2016 11:51 AM, Li Zhijian wrote:
On 03/10/2016 10:28 AM, Jason Wang wrote:
On 03/08/2016 05:54 PM, Peter Maydell wrote:
On 8 March 2016 at 16:06, Zhang Chen
wrote:
I found the reason for this problem is that
unix_connect() have not c
On 03/09/2016 12:26 PM, Li Zhijian wrote:
>
>
> On 03/09/2016 09:36 AM, Wen Congyang wrote:
>> On 03/08/2016 05:54 PM, Peter Maydell wrote:
>>> On 8 March 2016 at 16:06, Zhang Chen
>>> wrote:
I found the reason for this problem is that
unix_connect() have not connect to sock_path befor
> On Mar 13, 2016, at 8:42 PM, Fam Zheng wrote:
>
> On Sun, 03/13 14:37, Huaicheng Li (coperd) wrote:
>> Hi all,
>>
>> What I’m confused about is that:
>>
>> If one I/O is too large and may need several rounds (say 2) of DMA transfers,
>> it seems the second round transfer begins only after t
On 03/09/2016 04:02 PM, Li Zhijian wrote:
>
>
> On 03/08/2016 04:04 PM, Yang Hongyang wrote:
>> Hi Chen,
>>
>>What's the motivation that you want to change this name? The
>> function actually is not
>> intent to iterate every filter.
>
> Right. but this function isn't always pass packet to *a
On 03/10/2016 11:51 AM, Li Zhijian wrote:
>
>
> On 03/10/2016 10:28 AM, Jason Wang wrote:
>>
>>
>> On 03/08/2016 05:54 PM, Peter Maydell wrote:
>>> On 8 March 2016 at 16:06, Zhang Chen
>>> wrote:
I found the reason for this problem is that
unix_connect() have not connect to sock_path b
On 03/03/2016 05:30 PM, David Gibson wrote:
On Tue, Mar 01, 2016 at 08:10:36PM +1100, Alexey Kardashevskiy wrote:
This makes use of the new "memory registering" feature. The idea is
to provide the userspace ability to notify the host kernel about pages
which are going to be used for DMA. Having
From: Chen Fan
Signed-off-by: Chen Fan
---
hw/pci/pci.c | 2 ++
hw/vfio/pci.c| 14 ++
hw/vfio/pci.h| 1 +
include/hw/pci/pci_bus.h | 2 ++
4 files changed, 19 insertions(+)
diff --git a/hw/pci/pci.c b/hw/pci/pci.c
index e67664d..953745d 100644
From: Chen Fan
because we make the vfio functions are combined
in the same way as on the host for aer, so we can
do the aer check when the function 0 was hotplugged.
Signed-off-by: Chen Fan
---
hw/vfio/pci.c | 50 ++
1 file changed, 50 insertions
From: Chen Fan
when boot up a VM that assigning vfio devices with aer enabled, we
must check the vfio device whether support host bus reset. because
when one error occur. OS driver always recover the device by do a
bus reset, in order to recover the vfio device, qemu must able to do
a host bus re
From: Chen Fan
add 'aer' property to let user able to decide whether expose
the aer capability. by default we should disable aer feature,
because it needs configuration restrictions.
Signed-off-by: Chen Fan
---
hw/vfio/pci.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/vfio/pci.c b
From: Chen Fan
when the vfio device encounters an uncorrectable error in host,
the vfio_pci driver will signal the eventfd registered by this
vfio device, resulting in the qemu eventfd handler getting
invoked.
this patch is to pass the error to guest and let the guest driver
recover from the err
From: Chen Fan
For vfio pcie device, we could expose the extended capability on
PCIE bus. due to add a new pcie capability at the tail of the chain,
in order to avoid config space overwritten, we introduce a copy config
for parsing extended caps. and rebuild the pcie extended config space.
Signe
From: Chen Fan
v2-v3:
1. fix patch 4/9, 5/9 as Alex sugguestion.
2. patches 5/9 ~ 8/9 are made to force limiting that all vfio functions
are combined in the same way as on the host.
v1-v2:
1. limit all devices on same bus in guest are on same bus in host in patch
5/11.
2. patc
From: Chen Fan
the function is used to get affected devices by bus reset.
so here extract it, and can used for aer soon.
Signed-off-by: Chen Fan
---
hw/vfio/pci.c | 66 +++
1 file changed, 48 insertions(+), 18 deletions(-)
diff --git a/h
From: Chen Fan
squeeze out vfio_pci_do_hot_reset to do host bus reset when AER recovery.
Signed-off-by: Chen Fan
---
hw/vfio/pci.c | 75 +++
1 file changed, 44 insertions(+), 31 deletions(-)
diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c
ind
From: Chen Fan
Calling pcie_aer_init to initilize aer related registers for
vfio device, then reload physical related registers to expose
device capability.
Signed-off-by: Chen Fan
---
hw/vfio/pci.c | 85 ---
hw/vfio/pci.h | 3 +++
2 fil
On Mon, Mar 14, 2016 at 05:56:23PM +0100, Cédric Le Goater wrote:
> Hello,
>
> This is a first mini-serie of patches adding support for new ppc SPRs.
> They were taken from Ben's larger patchset adding the ppc powernv
> platform and they should already be useful for the pseries guest
> migration.
On Fri, Mar 11, 2016 at 07:48:47PM +0100, Greg Kurz wrote:
> Since commit "60253ed1e6ec rng: add request queue support to rng-random",
> the use of a spapr_rng device may hang vCPU threads.
>
> The following path is taken without holding the lock to the main loop mutex:
>
> h_random()
> rng_bac
On Mar 14, 2016, at 7:06 PM, Programmingkid wrote:
>
> On Mar 13, 2016, at 11:40 AM, Peter Maydell wrote:
>
>> On 12 March 2016 at 05:40, Programmingkid wrote:
>>>
>>> On Mar 11, 2016, at 10:30 PM, Peter Maydell wrote:
>>>
> +}
> +keycode = s->data[s->rptr];
> +
On Mar 13, 2016, at 11:40 AM, Peter Maydell wrote:
> On 12 March 2016 at 05:40, Programmingkid wrote:
>>
>> On Mar 11, 2016, at 10:30 PM, Peter Maydell wrote:
>>
>>>
+}
+keycode = s->data[s->rptr];
+if (++s->rptr == sizeof(s->data)) {
+s->rptr = 0;
From: Chen Gang
Original implementation uses do_rt_sigreturn directly in host space,
when a guest program is in unwind procedure in guest space, it will get
an incorrect restore address, then causes unwind failure.
Also cleanup the original incorrect indentation.
Signed-off-by: Chen Gang
---
Public bug reported:
Problem : Windows 10 guest cannot wake up from S3 using rtc wake
Steps to reproduce.
1. Boot Windows 10 Guest VM.
2. Create scheduled task (using Task Scheduler) to +5 minutes time from
current time to run notepad and enabling "Wake the computer to run this task"
option
Juan, have you had the chance to look at this yet?
--js
On 03/14/2016 07:37 AM, Vladimir Sementsov-Ogievskiy wrote:
> ping
>
> On 12.02.2016 21:00, Vladimir Sementsov-Ogievskiy wrote:
>> Hi all!
>>
>> These series are derived from my 'Dirty bitmaps migration' series. The
>> core idea is switch t
On Mon, 2016-03-14 at 21:54 +0100, Thomas Huth wrote:
> I think it would also be possible to use spr_access_nop() for now
> instead of introducing more dummy functions like spr_write_vtb.
Well, the goal was to eventually put some real code in there...
Cheers,
Ben.
On 14.03.2016 17:56, Cédric Le Goater wrote:
> From: Benjamin Herrenschmidt
>
> The Hypervisor can write it. We don't handle that properly yet but
> at least let's not blow up when it is written.
>
> Signed-off-by: Benjamin Herrenschmidt
> ---
> target-ppc/translate_init.c | 15 +++
On Mon, Mar 14, 2016 at 04:21:44PM +, Peter Maydell wrote:
> On 11 March 2016 at 18:47, Eduardo Habkost wrote:
> > The following changes since commit a648c137383d84bc4f95696e5293978d9541a26e:
> >
> > Merge remote-tracking branch 'remotes/kraxel/tags/pull-ui-20160309-1'
> > into staging (201
On 14.03.2016 17:56, Cédric Le Goater wrote:
> From: Benjamin Herrenschmidt
>
> With appropriate AMR-like masks. Not actually used by the translation
> logic at that point
>
> Signed-off-by: Benjamin Herrenschmidt
> [clg: add the use of spr_register_kvm_hv()]
> Signed-off-by: Cédric Le Goater
On 14.03.2016 17:56, Cédric Le Goater wrote:
> From: Benjamin Herrenschmidt
>
> The masks weren't chosen nor applied properly. The architecture specifies
> that writes to AMR are masked by UAMOR for PR=1, otherwise AMOR for HV=0.
>
> The writes to UAMOR are masked by AMOR for HV=0
>
> Signed-of
From: Lan Tianyu
x2apic feature is in the kvm_default_props and automatically added to all
CPU models when KVM is enabled. But userspace devices don't support x2apic
which can't be enabled without the in-kernel irqchip. It will trigger
warning of "host doesn't support requested feature: CPUID.01H
Now with the submodule updates removed.
The following changes since commit 618a5a8bc52ba0f2ecbb3dffd01e657f4d841f75:
Merge remote-tracking branch 'remotes/stefanha/tags/tracing-pull-request'
into staging (2016-03-14 16:22:17 +)
are available in the git repository at:
git://github.com/e
From: "Denis V. Lunev"
With Hyper-V enabled CPU hotplug stops working. The CPU appears
in device manager on Windows but does not appear in peformance
monitor and control panel.
The root of the problem is the following. Windows checks
HV_X64_CPU_DYNAMIC_PARTITIONING_AVAILABLE bit in CPUID. The
pr
On 14.03.2016 17:56, Cédric Le Goater wrote:
> From: Benjamin Herrenschmidt
>
> Make sure we give the guest full authorization
>
> Signed-off-by: Benjamin Herrenschmidt
> ---
> target-ppc/translate_init.c | 4
> 1 file changed, 4 insertions(+)
>
> diff --git a/target-ppc/translate_init.c
On 14.03.2016 17:56, Cédric Le Goater wrote:
> From: Benjamin Herrenschmidt
>
> Signed-off-by: Benjamin Herrenschmidt
> [clg: squashed in patch 'ppc: Add dummy ACOP SPR' ]
> Signed-off-by: Cédric Le Goater
> ---
> target-ppc/cpu.h| 3 +++
> target-ppc/translate_init.c | 12 +++
On 14.03.2016 17:56, Cédric Le Goater wrote:
> From: Benjamin Herrenschmidt
>
> We should implement HW breakpoint/watchpoint, qemu supports them...
>
> Signed-off-by: Benjamin Herrenschmidt
> ---
> target-ppc/cpu.h| 1 +
> target-ppc/translate_init.c | 5 +
> 2 files changed, 6
* Daniel P. Berrange (berra...@redhat.com) wrote:
> Currently if an application initiates an outgoing migration,
> it may or may not, get an error reported back on failure. If
> the error occurs synchronously to the 'migrate' command
> execution, the client app will see the error message. This
> is
* Daniel P. Berrange (berra...@redhat.com) wrote:
> The QIOChannelBuffer's close implementation will free
> the internal data buffer. It failed to reset the pointer
> to NULL though, so when the object is later finalized
> it will free it a second time with predictable crash.
>
> Signed-off-by: Da
On 14.03.2016 17:56, Cédric Le Goater wrote:
> From: Benjamin Herrenschmidt
>
> It's supposed to be an instruction counter. For now make us not
> crash when accessing it.
>
> Signed-off-by: Benjamin Herrenschmidt
> ---
> target-ppc/cpu.h| 1 +
> target-ppc/translate_init.c | 12 ++
On 14.03.2016 17:56, Cédric Le Goater wrote:
> From: Benjamin Herrenschmidt
>
> Those are HV writeable, so we provide a dummy write. We eventually need
> to provide a better emulation but for now this will get us going.
>
> We also make them non-user readable as per the architecture.
>
> Signed
On 14.03.2016 17:56, Cédric Le Goater wrote:
> From: Benjamin Herrenschmidt
>
> We still need to eventually implement doorbells but at least this
> makes us not crash when the SPRs are accessed.
>
> Signed-off-by: Benjamin Herrenschmidt
> ---
> target-ppc/cpu.h| 2 ++
> target-ppc
On 03/14/2016 05:38 PM, Daniel P. Berrange wrote:
On Mon, Mar 14, 2016 at 03:33:53PM +0100, Paolo Bonzini wrote:
On 14/03/2016 12:21, Denis V. Lunev wrote:
From: Pavel Butsykin
This log would be very welcome for long-term diagnostics of the system
in the production. This log is at least nece
On 14.03.2016 17:56, Cédric Le Goater wrote:
> From: Benjamin Herrenschmidt
>
> This helper is only used by the various instructions that can alter
> MSR and not interrupts. Add a comment to that effect to the interrupt
> code as well in case somebody wants to change this
>
> Signed-off-by: Benj
On 14.03.2016 17:56, Cédric Le Goater wrote:
> From: Benjamin Herrenschmidt
>
> Also use it to clamp the max SMT mode and ensure that the cpu_dt_id
> are offset by that value in order to preserve consistency with the
> HW implementations.
>
> Signed-off-by: Benjamin Herrenschmidt
> ---
> targe
On 14.03.2016 17:56, Cédric Le Goater wrote:
> From: Benjamin Herrenschmidt
>
> We don't give them a KVM reg number to most of the registers yet as no
> current KVM version supports HV mode. For DAWR and DAWRX, the KVM reg
> number is needed since this register can be set by the guest via the
> H
On 2016-03-14 19:52, Marcel Apfelbaum wrote:
> On 03/12/2016 06:13 PM, Aviv B.D. wrote:
>> From: "Aviv B.D." mailto:bd.a...@gmail.com>>
>>
>> * Fix bug that prevent qemu from starting up when vIOMMU and VFIO
>> device are present.
>> * Advertise Cache Mode capability in iommu cap register.
On 03/12/2016 06:13 PM, Aviv B.D. wrote:
From: "Aviv B.D." mailto:bd.a...@gmail.com>>
* Fix bug that prevent qemu from starting up when vIOMMU and VFIO
device are present.
* Advertise Cache Mode capability in iommu cap register.
* Register every VFIO device with IOMMU state.
* On pa
On 14.03.2016 17:56, Cédric Le Goater wrote:
> From: Benjamin Herrenschmidt
>
> The current set of spr_register_* macros only take the user and
> supervisor function pointers. To make the transition easy, we
> don't change that but we add "_hv" variants that can be used to
> register all 3 sets.
Instead of just checking for bind(), use socket_listen()
so that we check getaddrinfo() can resolve IPv6 addrs
too. This should avoids test failures on QEMU travis
build systems which can't resolve IPv6 addrs.
Signed-off-by: Daniel P. Berrange
---
tests/test-io-channel-socket.c | 62
On Mon, Mar 14, 2016 at 11:57:11AM -0600, Eric Blake wrote:
> On 02/29/2016 05:00 AM, Daniel P. Berrange wrote:
> > Add a 'log' method to iotests.py which prints messages to
> > stdout, with optional filtering of data. Port over some
> > standard filters for present in the shell common.filter
> > c
On 14.03.2016 17:56, Cédric Le Goater wrote:
> From: Benjamin Herrenschmidt
>
> Add definitions for additional SPR numbers and SPR bit definitions
> that will be relevant for subsequent improvements to POWER8 emulation
>
> Also fix the definition of LPIDR which was incorrect (and is different
>
From: Fam Zheng
The only code change is making bdrv_dirty_bitmap_truncate public. It is
used in block.c.
Also two long lines (bdrv_get_dirty) are wrapped.
Signed-off-by: Fam Zheng
Reviewed-by: John Snow
Message-id: 1457412306-18940-5-git-send-email-f...@redhat.com
Signed-off-by: Max Reitz
--
nc_sendv_compat has a huge stack usage of 69680 bytes approx.
Moving large arrays to heap to reduce stack usage.
Signed-off-by: Pooja Dhannawat
---
net/net.c | 14 ++
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/net/net.c b/net/net.c
index b0c832e..89589c0 100644
--
This patch adds an option to the drive_add HMP command to create only a
BlockDriverState without a BlockBackend on top.
The motivation for this is that libvirt needs to specify options to a
migration target (specifically, detect-zeroes). drive-mirror doesn't
allow specifying options, and the prope
As soon as setjmp.h is included from qemu/osdep.h, those old include
statements are no longer needed.
Add also setjmp.h to the list in scripts/clean-includes.
Signed-off-by: Stefan Weil
---
This patch is based on my previous patch
"Include setjmp.h in qemu/osdep.h (bug fix for w64)".
disas/i3
From: Alberto Garcia
This test verifies that the rate-limited QMP events are emitted at a
maximum rate of 1 per second as defined in monitor_qapi_event_conf in
monitor.c
It also checks that QUORUM_REPORT_BAD events generated from different
nodes are kept in separate queues so they don't mask eac
On 02/29/2016 05:00 AM, Daniel P. Berrange wrote:
> Add a 'log' method to iotests.py which prints messages to
> stdout, with optional filtering of data. Port over some
> standard filters for present in the shell common.filter
> code.
I'm not sure what you meant by 'for present'.
>
> Signed-off-b
> From: Stefan Weil [mailto:s...@weilnetz.de]
> Sent: Friday, 11 March 2016 10:32 PM
>
> setjmp must be declared before sysemu/os-win32.h
> because it is redefined there for 64 bit Windows.
>
> Signed-off-by: Stefan Weil
> ---
Tested-by: Andrew Baumann
Thanks Stefan,
Andrew
The new functions handles the data that is taken from the BlockBackend.
Signed-off-by: Kevin Wolf
Reviewed-by: Max Reitz
---
block/qapi.c | 131 +++
1 file changed, 68 insertions(+), 63 deletions(-)
diff --git a/block/qapi.c b/block/qapi.
Am 14.03.2016 um 08:02 schrieb Markus Armbruster:
> Stefan Weil writes:
[...]
>> diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h
>> index 4538fdc..5bb374c 100644
>> --- a/include/qemu/osdep.h
>> +++ b/include/qemu/osdep.h
>> @@ -76,6 +76,9 @@ extern int daemon(int, int);
>> #include
>>
net_socket_send has a huge stack usage of 69712 bytes approx.
Moving large arrays to heap to reduce stack usage.
Signed-off-by: Pooja Dhannawat
---
net/socket.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/net/socket.c b/net/socket.c
index e32e3cb..d7fa8ce 100644
-
following changes since commit 618a5a8bc52ba0f2ecbb3dffd01e657f4d841f75:
Merge remote-tracking branch 'remotes/stefanha/tags/tracing-pull-request'
into staging (2016-03-14 16:22:17 +)
are available in the git repository at:
git://github.com/rth7680/qemu.git tags/pull-i386-20160314
Removing support for DEPTH != 32 from blizzard template header
and file that includes it, as macro DEPTH == 32 only used.
Signed-off-by: Pooja Dhannawat
---
hw/display/blizzard.c | 24
hw/display/blizzard_template.h | 30 +-
2 files c
All users of the block layers are supposed to go through a BlockBackend.
The .bdrv_create() implementation is one such user, so this patch
converts it.
Signed-off-by: Kevin Wolf
---
block/vhdx.c | 29 -
1 file changed, 16 insertions(+), 13 deletions(-)
diff --git a/b
From: Fam Zheng
Signed-off-by: Fam Zheng
Reviewed-by: John Snow
Message-id: 1457412306-18940-3-git-send-email-f...@redhat.com
Signed-off-by: Max Reitz
---
include/block/block.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/block/block.h b/include/block/block.h
in
From: Fam Zheng
Signed-off-by: Fam Zheng
Reviewed-by: John Snow
Message-id: 1457412306-18940-6-git-send-email-f...@redhat.com
Signed-off-by: Max Reitz
---
include/block/block.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/block/block.h b/include/block/block.h
index 9688d7f..ea
From: Fam Zheng
Following patches to refactor and move block dirty bitmap code could use
this.
Signed-off-by: Fam Zheng
Reviewed-by: John Snow
Message-id: 1457412306-18940-4-git-send-email-f...@redhat.com
Signed-off-by: Max Reitz
---
include/block/block.h | 1 -
include/qemu/typedefs.h | 1
All users of the block layers are supposed to go through a BlockBackend.
The .bdrv_create() implementation is one such user, so this patch
converts it.
Signed-off-by: Kevin Wolf
---
block/qed.c | 28 +++-
1 file changed, 15 insertions(+), 13 deletions(-)
diff --git a/blo
Removing support for DEPTH != 32 from blizzard template header
and file that includes it, as macro DEPTH == 32 only used.
Signed-off-by: Pooja Dhannawat
---
hw/display/blizzard.c | 24
hw/display/blizzard_template.h | 30 +-
2 files c
From: Alberto Garcia
The QUORUM_REPORT_BAD event is emitted whenever there's an I/O error
in a child of a Quorum device. This event is emitted at a maximum rate
of 1 per second. This means that an error in one of the children will
mask errors in the other children if they happen within the same 1
All users of the block layers are supposed to go through a BlockBackend.
The .bdrv_create() implementation is one such user, so this patch
converts it.
Signed-off-by: Kevin Wolf
---
block/vpc.c | 37 +
1 file changed, 21 insertions(+), 16 deletions(-)
diff --
All users of the block layers are supposed to go through a BlockBackend.
The .bdrv_create() implementation is one such user, so this patch
converts it.
Signed-off-by: Kevin Wolf
---
block/qcow.c | 25 ++---
1 file changed, 14 insertions(+), 11 deletions(-)
diff --git a/block
From: Alberto Garcia
quorum_aio_cb() emits the QUORUM_REPORT_BAD event if there's
an I/O error in a Quorum child. However sacb->aiocb must be
correctly initialized for this to happen. read_quorum_children() and
read_fifo_child() are not doing this, which results in a QEMU crash.
Signed-off-by: A
From: Alberto Garcia
This allows us to perform tests on the monitor queues to verify that
the rate limits are enforced.
Signed-off-by: Alberto Garcia
Reviewed-by: Max Reitz
Message-id:
dde511809e954a5c32d5b648bb184c03c89ed5d5.1457610443.git.be...@igalia.com
Signed-off-by: Max Reitz
---
moni
All users of the block layers are supposed to go through a BlockBackend.
The .bdrv_create() implementation is one such user, so this patch
converts it.
Signed-off-by: Kevin Wolf
---
block/sheepdog.c | 43 ---
1 file changed, 24 insertions(+), 19 deletions(
1 - 100 of 296 matches
Mail list logo