[skipped...]
> Hi Denis,
>
> I've read this entire thread now and I really like Berto's summary which
> I think is one of the best recaps of existing qcow2 problems and this
> discussion so far.
>
> I understand your opinion that we should focus on compatible changes
> before incompatible ones, an
During block job completion, nothing is preventing
block_job_defer_to_main_loop_bh from being called in a nested
aio_poll(), which is a trouble, such as in this code path:
qmp_block_commit
commit_active_start
bdrv_reopen
bdrv_reopen_multiple
bdrv_reopen_prep
On Fri, 04/14 16:02, Fam Zheng wrote:
> @@ -167,8 +167,12 @@ static bool bdrv_drain_recurse(BlockDriverState *bs)
> bs->drv->bdrv_drain(bs);
> }
>
> -QLIST_FOREACH(child, &bs->children, next) {
> -waited |= bdrv_drain_recurse(child->bs);
> +QLIST_FOREACH_SAFE(child,
Hi,
The Aspeed SoCs AST2400 and AST2500 have two FTGMAC100 ethernet
controllers. This series proposes a model for this device and a way to
customize the bit definitions which are slightly different from the
Faraday definitions.
The last patch adds a fake NC-SI (Network Controller Sideband
Interfa
This adds comments on the Basic mode control and status registers bit
definitions. It also adds a couple of bits for 1000BASE-T and the
RealTek 8211E PHY for the FTGMAC100 model to use.
Signed-off-by: Cédric Le Goater
Reviewed-by: Philippe Mathieu-Daudé
---
include/hw/net/mii.h | 71 +++
The Aspeed SoCs have a different definition of the end of the ring
buffer bit. Add a property to specify which set of bits should be used
by the NIC.
Signed-off-by: Cédric Le Goater
---
hw/net/ftgmac100.c | 17 +++--
include/hw/net/ftgmac100.h | 4
2 files changed, 19 i
The FTGMAC100 device is an Ethernet controller with DMA function that
can be found on Aspeed SoCs (which include NCSI).
It is fully compliant with IEEE 802.3 specification for 10/100 Mbps
Ethernet and IEEE 802.3z specification for 1000 Mbps Ethernet and
includes Reduced Media Independent Interface
On 04/14/2017 12:34 AM, Michael S. Tsirkin wrote:
On Thu, Apr 13, 2017 at 05:35:05PM +0800, Wei Wang wrote:
So we don't need the bitmap to talk to host, it is just
a data structure we chose to maintain lists of pages, right?
Right. bitmap is the way to gather pages to chunk.
It's only needed in
There is a second NIC but we do not use it for the moment. We use the
'aspeed' property to tune the definition of the end of ring buffer bit
for the Aspeed SoCs.
Signed-off-by: Cédric Le Goater
---
hw/arm/aspeed_soc.c | 21 +
include/hw/arm/aspeed_soc.h | 2 ++
2 fil
NC-SI (Network Controller Sideband Interface) enables a BMC to manage
a set of NICs on a system. This model takes the simplest approach and
reverses the NC-SI packets to pretend a NIC is present and exercise
the Linux driver.
The NCSI header file comes from mainline Linux and was
untabified.
Sig
cannot_destroy_with_object_finalize_yet was added by 4c315c2
("qdev: Protect device-list-properties against broken devices")
because "realview_pci" and "versatile_pci" were hanging
during "device-list-properties" cleanup (an infinite loop in
bus_unparent()).
We have this problem because the child
This removes the assert(kvm_enabled()) from kvmppc_host_cpu_initfn()
This assert can never be triggered as the function is only registered
when KVM is available (see also 4c315c2
"qdev: Protect device-list-properties against broken devices").
So we can remove the cannot_destroy_with_object_finali
With commit ce5b1bbf624b ("exec: move cpu_exec_init() calls to
realize functions"), we can now remove all the
remaining cannot_destroy_with_object_finalize_yet as
unsafe references have been moved to cpu_exec_realizefn().
(tested with QOM command provided by commit 4c315c27).
Suggested-by: Markus
This series removes all the remaining uses of
cannot_destroy_with_object_finalize_yet to finally remove
the flag itself.
The ARM patch has already been sent alone and reviewed by Markus.
I have tested the ppc one on ppc64 machine with KVM and using
QDM device-list-properties command.
For the vers
As all users have been removed, we can remove
cannot_destroy_with_object_finalize_yet field
from the DeviceClass structure.
Signed-off-by: Laurent Vivier
---
include/hw/qdev-core.h | 13 -
qmp.c | 5 -
2 files changed, 18 deletions(-)
diff --git a/include/hw/qd
On Fri, Apr 14, 2017 at 9:02 AM, Fam Zheng wrote:
> During block job completion, nothing is preventing
> block_job_defer_to_main_loop_bh from being called in a nested
> aio_poll(), which is a trouble, such as in this code path:
>
> qmp_block_commit
> commit_active_start
> bdrv_re
we found this problem for a long time 。For example, if we has three network
card in virtual xml file ,such as "network connection 1" / "network connection
2"/"network connection 3" 。
Echo network card has own ip address ,such as 192.168.1.1 / 2.1 /3.1 , when
delete the first card ,reboot the w
On 14/04/17 08:06, Oleksandr Andrushchenko wrote:
> On 04/14/2017 03:12 AM, Stefano Stabellini wrote:
>> On Tue, 11 Apr 2017, Oleksandr Andrushchenko wrote:
>>> From: Oleksandr Andrushchenko
>>>
>>> For some use cases when Xen framebuffer/input backend
>>> is not a part of Qemu it is required to d
On Fri, Apr 14, 2017 at 9:02 AM, Fam Zheng wrote:
> @@ -398,11 +399,15 @@ void bdrv_drain_all(void);
> */\
> assert(!bs_->wakeup); \
> bs_->wakeup = true;\
> -
On 04/14/2017 10:58 AM, Matthew Wilcox wrote:
On Fri, Apr 14, 2017 at 10:30:27AM +0800, Wei Wang wrote:
OK. What do you think if we add this:
#if defined(CONFIG_VIRTIO_BALLOON) || defined(CONFIG_VIRTIO_BALLOON_MODULE)
That's spelled "IS_ENABLED(CONFIG_VIRTIO_BALLOON)", FYI.
Right, thanks.
B
Hi
On Tue, Apr 11, 2017 at 5:53 PM Maxime Coquelin
wrote:
> Hi Marc-André,
>
> On 04/11/2017 03:06 PM, Marc-André Lureau wrote:
> > Hi
> >
> > On Tue, Apr 11, 2017 at 12:10 PM Maxime Coquelin
> > mailto:maxime.coque...@redhat.com>> wrote:
> >
> > This vhost-user specification update aims at
On 06/04/2017 23:37, Kevin Wolf wrote:
> We used to poll BHs in earlier times. Commit 99723548 ('block: add BDS
> field to count in-flight requests') changed this, without an explanation
> in the commit message.
>
> Paolo, is this simply a bug in that commit, or do you rely on it
> somewhere? I
On Fri, Apr 14, 2017 at 04:50:48AM +0300, Michael S. Tsirkin wrote:
> On Thu, Apr 13, 2017 at 01:44:11PM -0700, Matthew Wilcox wrote:
> > On Thu, Apr 13, 2017 at 05:35:03PM +0800, Wei Wang wrote:
> > > 2) transfer the guest unused pages to the host so that they
> > > can be skipped to migrate in li
Hi
- Original Message -
> We use fd_in_tag to find a GSource, fd_in_tag is return value of
> g_source_attach(GSource *source, GMainContext *context), the return
> value is unique only in the same context, so we may get the same
> values with different 'context' parameters.
>
> It is no pr
Hi,
On 2017/4/14 18:10, Marc-André Lureau wrote:
Hi
- Original Message -
We use fd_in_tag to find a GSource, fd_in_tag is return value of
g_source_attach(GSource *source, GMainContext *context), the return
value is unique only in the same context, so we may get the same
values with dif
On Thu, Apr 13, 2017 at 09:06:19PM -0400, John Snow wrote:
> So if we have a 1MB cluster with 64k subclusters as a hypothetical, if
> we write just the first subcluster, we'll have a map like:
>
> X---
>
> Whatever actually happens to exist in this space, whether it be a hole
> we pun
Hi,
Thank you for your email, I remember this issue. Unfortunately I don’t
have the time to try this right now, but I may be able to get to it in
the next couple of weeks.
Regards,
Legorol
From: Thomas Huth
Sent: 07 April 2017 14:59
To: legorol@gmail.com
Subject: [Bug 1030666] Re: gdb can't
This series allows ITS save/restore and migration use cases.
It relies on not upstreamed kernel series [1].
ITS tables are flushed into guest RAM on VM stop while registers
are save on pre_save() callback. Tables and registers are restored
on ITS post_load().
Redistributor pending tables also are
This is a linux header update against 4.11-rc6 plus the non
upstreamed ITS migration series.
https://github.com/eauger/linux/tree/v4.11-rc6-its-mig-v5
It aims at enhancing the KVM user API with vITS save/restore
capability. Those are new attributes supported in the
ITS and GICv3 KVM device KVM_DE
We change the restoration priority of both the GICv3 and ITS. The
GICv3 must be restored before the ITS and the ITS needs to be restored
before PCIe devices since it translates their MSI transactions.
Signed-off-by: Eric Auger
Reviewed-by: Juan Quintela
---
v2 -> v3:
- reword migration blocker
We need to handle both registers and ITS tables. While
register handling is standard, ITS table handling is more
challenging since the kernel API is devised so that the
tables are flushed into guest RAM and not in vmstate buffers.
Flushing the ITS tables on device pre_save() is too late
since the
This patch adds the flush of the LPI pending bits into the
redistributor pending tables. This happens on VM stop.
There is no explicit restore as the tables are implicitly sync'ed
on ITS table restore and on LPI enable at redistributor level.
Signed-off-by: Eric Auger
---
v5: new
---
hw/intc/
This patch set includes downtime calculation on destination,
sending it to source machine for statistics (query-migration).
Also additional traceses here for track down who was pagefault
initiator.
This patch set is based on master branch of git://git.qemu-project.org/qemu.git
base commit is comm
Userfaultfd mechanism is able to provide process thread id,
in case when client request it with UFDD_API ioctl.
Signed-off-by: Alexey Perevalov
---
include/migration/postcopy-ram.h | 2 +-
migration/migration.c| 2 +-
migration/postcopy-ram.c | 12 ++--
migration/sa
This commit duplicates header of "userfaultfd: provide pid in userfault msg"
into linux kernel.
Signed-off-by: Alexey Perevalov
---
linux-headers/linux/userfaultfd.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/linux-headers/linux/userfaultfd.h
b/linux-headers/linux/userfaultfd.h
in
There is a lack of g_int_cmp which compares pointers value in glib,
xen_disk.c introduced its own, so the same function now requires
in migration.c. So logically to move it into common place.
Futher: maybe extend glib.
Also this commit moves existing glib-compat.h into util/glib
folder for consoli
This patch provides downtime calculation per vCPU,
as a summary and as a overlapped value for all vCPUs.
This approach just keeps tree with page fault addr as a key,
and t1-t2 interval of pagefault time and page copy time, with
affected vCPU bit mask.
For more implementation details please see com
Right now to initiate postcopy live migration need to
send request to source machine and specify destination.
User could request migration status by query-migrate qmp command on
source machine, but postcopy downtime is being evaluated on destination,
so it should be transmitted back to source. For
It could help to track down vCPU state during page fault and
page fault sources.
This patch showes proc's status/stack/syscall file at the moment of pagefault,
it's very interesting to know who was page fault initiator.
Signed-off-by: Alexey Perevalov
---
migration/postcopy-ram.c | 98 +
On Fri, Apr 14, 2017 at 02:47:40AM -0700, Matthew Wilcox wrote:
> On Fri, Apr 14, 2017 at 04:50:48AM +0300, Michael S. Tsirkin wrote:
> > On Thu, Apr 13, 2017 at 01:44:11PM -0700, Matthew Wilcox wrote:
> > > On Thu, Apr 13, 2017 at 05:35:03PM +0800, Wei Wang wrote:
> > > > 2) transfer the guest unu
On 04/13/2017 05:33 PM, Max Reitz wrote:
Otherwise the qemu-img process will exit with EXIT_SUCCESS instead of
EXIT_FAILURE.
Cc: qemu-stable
Signed-off-by: Max Reitz
Reviewed-by: Philippe Mathieu-Daudé
---
qemu-img.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/qemu-img.c b/qemu
Hi Alexey,
On 04/14/2017 10:17 AM, Alexey Perevalov wrote:
There is a lack of g_int_cmp which compares pointers value in glib,
xen_disk.c introduced its own, so the same function now requires
in migration.c. So logically to move it into common place.
Futher: maybe extend glib.
Also this commit
On 14/04/2017 16:51, Stefan Hajnoczi wrote:
> On Fri, Apr 14, 2017 at 9:02 AM, Fam Zheng wrote:
>> @@ -398,11 +399,15 @@ void bdrv_drain_all(void);
>> */\
>> assert(!bs_->wakeup); \
>> bs_->w
From: Marc-André Lureau
Next patches will add more fields to the structure
Signed-off-by: Marc-André Lureau
Signed-off-by: Maxime Coquelin
---
hw/virtio/vhost-user.c | 19 ---
1 file changed, 16 insertions(+), 3 deletions(-)
diff --git a/hw/virtio/vhost-user.c b/hw/virtio/vho
Some backends might want to know when things went wrong.
Signed-off-by: Maxime Coquelin
---
hw/virtio/vhost.c | 15 ++-
include/hw/virtio/vhost.h | 2 +-
2 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/hw/virtio/vhost.c b/hw/virtio/vhost.c
index 613494d..c490
This series aims at specifying ans implementing the protocol update
required to support device IOTLB with user backends.
In this second version, the slave requests channel part is re-used
from Marc-André's series submitted last year[0], with main changes
from original version being request/feature
This patch specifies and implements the master/slave communication
to support device IOTLB in slave.
The vhost_iotlb_msg structure introduced for kernel backends is
re-used, making the design close between the two backends.
An exception is the use of the secondary channel to enable the
slave to s
From: Marc-André Lureau
Learn to give a socket to the slave to let him make requests to the
master.
Signed-off-by: Marc-André Lureau
Signed-off-by: Maxime Coquelin
---
docs/specs/vhost-user.txt | 30 +++-
hw/virtio/vhost-user.c| 117 ++
On 04/14/2017 07:40 PM, Maxime Coquelin wrote:
static void slave_read(void *opaque)
{
struct vhost_dev *dev = opaque;
@@ -611,6 +639,8 @@ static void slave_read(void *opaque)
}
switch (msg.request) {
Oops, I missed "case VHOST_USER_SLAVE_IOTLB_MSG:" here..
+ret = vho
On Fri, 14 Apr 2017, Juergen Gross wrote:
> On 14/04/17 08:06, Oleksandr Andrushchenko wrote:
> > On 04/14/2017 03:12 AM, Stefano Stabellini wrote:
> >> On Tue, 11 Apr 2017, Oleksandr Andrushchenko wrote:
> >>> From: Oleksandr Andrushchenko
> >>>
> >>> For some use cases when Xen framebuffer/input
On Wed, 5 Apr 2017, Anthony Xu wrote:
>
> move xen related files to corresponding xen directory
>
> move xen-common.c to hw/xen/
> move xen-hvm.c to hw/i386/xen/
> move xen-mapcache.c to hw/i386/xen/
>
> Signed-off -by: Anthony Xu
Reviewed-by: Stefano Stabellini
I queued this series
On current versions (QEMU 2.8, GNOME-Shell 3.22.3 on Wayland), the
screensaver will activate. Cursor control is given to the lock screen,
everything works properly. After the screen is unlocked, the cursor is
given back to QEMU and is still in "mouse grab" mode.
** Changed in: qemu
Status:
On Fri, Apr 14, 2017 at 1:37 AM, Laurent Vivier wrote:
> With commit ce5b1bbf624b ("exec: move cpu_exec_init() calls to
> realize functions"), we can now remove all the
> remaining cannot_destroy_with_object_finalize_yet as
> unsafe references have been moved to cpu_exec_realizefn().
> (tested wit
On Sun, Apr 9, 2017 at 4:19 AM, Subbaraya Sundeep
wrote:
> Emulated Emcraft's Smartfusion2 System On Module starter
> kit.
>
> Signed-off-by: Subbaraya Sundeep
Hey Sundeep,
Cool patch, I have some comments below.
> ---
> default-configs/arm-softmmu.mak | 1 +
> hw/arm/Makefile.objs
On Sun, Apr 9, 2017 at 4:19 AM, Subbaraya Sundeep
wrote:
> Modelled System Timer in Microsemi's Smartfusion2 Soc.
> Timer has two 32bit down counters and two interrupts.
>
> Signed-off-by: Subbaraya Sundeep
Hey Sundeep,
I have some comments inline below.
> ---
> hw/timer/Makefile.objs | 1 +
On Sun, Apr 9, 2017 at 4:19 AM, Subbaraya Sundeep
wrote:
> Added Sytem register block of Smartfusion2.
> This block has PLL registers which are accessed by guest.
>
> Signed-off-by: Subbaraya Sundeep
> ---
> hw/misc/Makefile.objs | 1 +
> hw/misc/msf2_sysreg.c | 168
>
On Fri, Apr 14, 2017 at 04:37:52PM +0800, Wei Wang wrote:
> On 04/14/2017 12:34 AM, Michael S. Tsirkin wrote:
> > On Thu, Apr 13, 2017 at 05:35:05PM +0800, Wei Wang wrote:
> >
> > So we don't need the bitmap to talk to host, it is just
> > a data structure we chose to maintain lists of pages, righ
Hi Paul,
The following commit in my qemu "next" branch breaks the build on arm
and arm64:
commit 670271647ad15e9d937ced7a72c892349c709216
Author: Paul Durrant
Date: Tue Mar 7 10:55:34 2017 +
xen: use libxendevicemodel when available
See the appended build log. Sorry for not realizing
On Fri, 14 Apr 2017, Stefano Stabellini wrote:
> Hi Paul,
>
> The following commit in my qemu "next" branch breaks the build on arm
> and arm64:
>
> commit 670271647ad15e9d937ced7a72c892349c709216
> Author: Paul Durrant
> Date: Tue Mar 7 10:55:34 2017 +
>
> xen: use libxendevicemodel
On 13/04/2017 15:21, Fam Zheng wrote:
> Paolo, maybe you want to submit a formal patch for 2.10? (Sorry for the
> confusion, these series of mine went a bit messy.)
Yes, will do. Or just submit the alternative fix that is mentioned in
the comment.
Paolo
[Expired for QEMU because there has been no activity for 60 days.]
** Changed in: qemu
Status: Incomplete => Expired
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/966316
Title:
Can't load A
[Expired for QEMU because there has been no activity for 60 days.]
** Changed in: qemu
Status: Incomplete => Expired
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/988909
Title:
Assert faile
[Expired for QEMU because there has been no activity for 60 days.]
** Changed in: qemu
Status: Incomplete => Expired
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/989504
Title:
assertion fa
[Expired for QEMU because there has been no activity for 60 days.]
** Changed in: qemu
Status: Incomplete => Expired
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/821078
Title:
virtio-seria
64 matches
Mail list logo