Hello Alan,
On 09/03/2017 18:46, Dr. David Alan Gilbert wrote:
* Christian Pinto (c.pi...@virtualopensystems.com) wrote:
This patch series introduces a set of fixes to the previous work proposed by
Hailiang Zhang to enable in QEMU live memory snapshot based
on userfaultfd. See discussion here
Architecture such as ARM use a page size of 1KB, while write protection
is done at the granularity of host pages (generally 4KB).
All addresses must always be aligned to the size of a host page.
Signed-off-by: Christian Pinto
Signed-off-by: Baptiste Reynal
---
migration/postcopy-ram.c | 6
VM execution was resumed while migration was still in setup.
This was causing a bus error because the userfault thread was
waking up VM too early during migration setup.
Signed-off-by: Christian Pinto
Signed-off-by: Baptiste Reynal
---
migration/migration.c| 9 +
migration
The UFFD_PAGEFAULT_FLAG_WP should be set every time the page fault is due to a
write to a write-protected page. Flag should be checked at every time
to be sure the page fault is due to a write into WP area.
Signed-off-by: Christian Pinto
Signed-off-by: Baptiste Reynal
---
migration/postcopy
setting UFFDIO_WRITEPROTECT_MODE_DONTWAKE when write un-protecting a page
does not wake up the faulting thread.
Set to 0 to force the faulting (VM) thread to wake-up.
Signed-off-by: Christian Pinto
Signed-off-by: Baptiste Reynal
---
migration/postcopy-ram.c | 2 +-
1 file changed, 1 insertion
ex-a57\
-m 256 -kernel Image \
-initrd rootfs.cpio.gz \
-append "earlyprintk rw console=ttyAMA0" \
-net nic -net user \
-nographic -serial stdio -monitor pty \
-incoming file:/root/test_snapshot
Christian Pinto (4):
migration/postcopy-r
Thanks a lot Hailiang
On 28/02/2017 02:48, Hailiang Zhang wrote:
Hi,
On 2017/2/27 23:37, Christian Pinto wrote:
Hello Hailiang,
are there any updates on this patch series? Are you planning to release
a new version?
No, userfaultfd still does not support write-protect for KVM.
You can see
Hello Hailiang,
are there any updates on this patch series? Are you planning to release
a new version?
You say there are some issues with the current snapshot-v2 version,
which issues were you referring to? On my side the only problem I have
seen was that the live snapshot was not working on
Hello Edgar,
sorry for the delay.
On 08/09/2016 17:38, Edgar E. Iglesias wrote:
On Thu, Sep 08, 2016 at 09:06:00AM +0200, Christian Pinto wrote:
Hello Edgar,
On 07/09/2016 18:02, Edgar E. Iglesias wrote:
On Wed, Sep 07, 2016 at 05:39:08PM +0200, Christian Pinto wrote:
On 07/09/2016 09
Hello Edgar,
On 07/09/2016 18:02, Edgar E. Iglesias wrote:
On Wed, Sep 07, 2016 at 05:39:08PM +0200, Christian Pinto wrote:
On 07/09/2016 09:51, Edgar E. Iglesias wrote:
On Wed, Sep 07, 2016 at 09:24:39AM +0200, Christian Pinto wrote:
Hello Edgar,
thanks for your comments.
Thanks for the
On 07/09/2016 09:51, Edgar E. Iglesias wrote:
On Wed, Sep 07, 2016 at 09:24:39AM +0200, Christian Pinto wrote:
Hello Edgar,
thanks for your comments.
Thanks for the clarification, I have a few follow-up questions/comments.
On 06/09/2016 23:43, Edgar E. Iglesias wrote:
Hi,
Sorry for
ion to make it more clear.
Thanks,
Christian
Best regards,
Edgar
On Tue, Aug 30, 2016 at 01:22:26PM +0200, Christian Pinto wrote:
Hello,
are there any comments?
Christian
On 09/08/2016 09:37, Christian Pinto wrote:
This patch adds the specification of the Signal Dristribution Module vir
Hello,
are there any comments?
Christian
On 09/08/2016 09:37, Christian Pinto wrote:
This patch adds the specification of the Signal Dristribution Module virtio
device to the current virtio specification document.
Signed-off-by: Christian Pinto
Signed-off-by: Baptiste Reynal
---
v2
This patch adds the specification of the Signal Dristribution Module virtio
device to the current virtio specification document.
Signed-off-by: Christian Pinto
Signed-off-by: Baptiste Reynal
---
v2 -> v3:
- Removed master field from configuration and replaced with device_id
- Added new RE
Hello Stefan,
thanks for the feedback.I will rework the specification and send a v3 patch
series.
Christian
On Thu, Aug 4, 2016 at 10:46 AM, Stefan Hajnoczi
wrote:
> On Fri, Jul 22, 2016 at 06:18:25PM +0200, Christian Pinto wrote:
> > Hello Stefan,
> >
> > On Tue, Jul
Hello Stefan,
On Tue, Jul 19, 2016 at 10:40 AM, Stefan Hajnoczi
wrote:
> On Tue, Jul 19, 2016 at 09:47:13AM +0200, Christian Pinto wrote:
> > > > +During the initialization phase the device connects also to the
> > > communication
> > > > +channel. It has
Hello Stefan,
thanks for your comments.
On Thu, Jul 14, 2016 at 2:17 PM, Stefan Hajnoczi wrote:
> On Tue, Jun 28, 2016 at 01:03:44PM +0200, Christian Pinto wrote:
> > This patch adds the specification of the Signal Dristribution Module
> virtio
> > device to the current vi
Thanks a lot Stefan.
Looking forward for your feedback.
Christian
On Thu, Jun 30, 2016 at 10:47 AM, Stefan Hajnoczi
wrote:
> On Thu, Jun 30, 2016 at 10:26:56AM +0200, Christian Pinto wrote:
> > Ping...
> >
> > are there any comments?
>
> Hi Christian,
> I w
Ping...
are there any comments?
Thanks,
Christian
On Fri, Jun 17, 2016 at 5:54 PM, Christian Pinto <
c.pi...@virtualopensystems.com> wrote:
> This patch series introduces a new device to QEMU, the SDM (Signal
> Distribution
> Module),
> intended to route inter-processor
This patch adds the specification of the Signal Dristribution Module virtio
device to the current virtio specification document.
Signed-off-by: Christian Pinto
Signed-off-by: Baptiste Reynal
---
v1 -> v2:
- Fixed some typos
- Removed dependencies from QEMU
- Added explanation on how SDM can
Signed-off-by: Christian Pinto
Signed-off-by: Baptiste Reynal
---
v1 -> v2:
- removed edit including virtio-sdm specs text
---
content.tex | 2 ++
1 file changed, 2 insertions(+)
diff --git a/content.tex b/content.tex
index d989d98..3317916 100644
--- a/content.tex
+++ b/content.
since v1:
- Fixed some typos
- Removed dependencies from QEMU
- Added explanation on how SDM can be used in AMP systems
- Explained semantics of payload field in SDMSignalData struct
---
Christian Pinto (2):
content: reserve virtio device ID
virtio-sdm: new device specification
content.tex
On Fri, Jun 24, 2016 at 3:04 PM, Cornelia Huck
wrote:
> On Fri, 24 Jun 2016 14:45:29 +0200
> Christian Pinto wrote:
>
> > On Thu, Jun 23, 2016 at 8:57 PM, Stefan Hajnoczi
> > wrote:
> >
> > > On Fri, Jun 17, 2016 at 06:03:13PM +0200, Christian Pinto
Hello Stefan,
On Thu, Jun 23, 2016 at 8:57 PM, Stefan Hajnoczi
wrote:
> On Fri, Jun 17, 2016 at 06:03:13PM +0200, Christian Pinto wrote:
> > Signed-off-by: Christian Pinto
> > ---
> > content.tex | 4
> > 1 file changed, 4 insertions(+)
> >
> >
Hello Stefan,
On Thu, Jun 23, 2016 at 9:39 PM, Stefan Hajnoczi
wrote:
> On Fri, Jun 17, 2016 at 06:03:14PM +0200, Christian Pinto wrote:
> > This patch adds the specification of the Signal Dristribution Module
> virtio
> > device to the current virtio specification document.
This patch adds the specification of the Signal Dristribution Module virtio
device to the current virtio specification document.
Signed-off-by: Christian Pinto
---
virtio-sdm.tex | 126 +
1 file changed, 126 insertions(+)
create mode
Christian Pinto (2):
content: reserve virtio device ID
virtio-sdm: new device specification
content.tex| 4 ++
virtio-sdm.tex | 126 +
2 files changed, 130 insertions(+)
create mode 100644 virtio-sdm.tex
--
1.9.1
Signed-off-by: Christian Pinto
---
content.tex | 4
1 file changed, 4 insertions(+)
diff --git a/content.tex b/content.tex
index d989d98..0d98926 100644
--- a/content.tex
+++ b/content.tex
@@ -2990,6 +2990,8 @@ Device ID & Virtio Device\\
\hline
18 & Inpu
slaves
len-signals=[signals_number] - specifies the number of signals
signals[x]=[signal_id] - add a signal to the device, with the ID x
Signed-off-by: Christian Pinto
Signed-off-by: Baptiste Reynal
---
v2 -> v3
- add configuration space to virtio sdm device
- add accessor methods (get, set) to
From: Baptiste Reynal
This patch introduces local implementation for SDM devices. It allows a
master to communicate with a slave on the same QEMU instance.
Instantiation:
-object sdm-communication-local,id=
Signed-off-by: Baptiste Reynal
Signed-off-by: Christian Pinto
---
v2 ->
machine).
Signed-off-by: Baptiste Reynal
Signed-off-by: Christian Pinto
---
v2 -> v3:
- Added sdm_device_set_num_slaves function to sdm-device class
- Added sdm_communication_update_num_slaves to sdm-communication class
---
---
default-configs/arm-softmmu.mak | 1 +
hw/misc/Makefile.o
This patch series introduces a new device to QEMU, the SDM (Signal Distribution
Module),
intended to route inter-processor signals intra and inter QEMU instances.
To be as modular as possible, the device is split between the interface
(virtio/platform) and the communication channel (local/socket)
From: Baptiste Reynal
Added node creation for dynamically instantiated sysbus SDM device.
Support added for all ARM machines modeling dynamic sysbus devices
instantiation.
Signed-off-by: Christian Pinto
Signed-off-by: Baptiste Reynal
---
hw/arm/sysbus-fdt.c | 62
number
of slaves
len-signals=[signals_number] - specifies the number of signals
signals[x]=[signal_id] - add a signal to the device, with the ID x
Signed-off-by: Baptiste Reynal
Signed-off-by: Christian Pinto
---
hw/misc/Makefile.objs | 1 +
hw/misc/sdm-platform.c
t;
Signed-off-by: Baptiste Reynal
Signed-off-by: Christian Pinto
---
v2 -> v3:
- added sdm_socket_update_num_slaves to socket based communication channel
- realloc slaves array in case of max slaves num change
---
hw/misc/Makefile.objs | 1 +
hw/misc/sdm-communica
Hello Cornelia,
thanks for this clarification. I will immediately start looking into this
and soon release the two patches.
Best,
Christian
On Fri, Jun 10, 2016 at 10:15 AM, Cornelia Huck
wrote:
> On Fri, 10 Jun 2016 10:01:05 +0200
> Christian Pinto wrote:
>
> > I am writin
Hi all,
we are working on a new virtio device, namely the Signal Distribution
Module (SDM). The SDM routes inter-processor signals intra and inter QEMU
instances, using a user-defined communication channel. At the current state
the
SDM provides a local channel, for intra-QEMU signals, and a channe
Hello Peter,
Apologies for the highly delayed response.
On Nov 13, 2015 08:02, "Peter Crosthwaite"
wrote:
>
> Hi Christian,
>
> Sorry about the delayed response.
>
> On Tue, Oct 27, 2015 at 3:30 AM, Christian Pinto <
c.pi...@virtualopensystems.com> wrote:
>
On 25/10/2015 22:38, Peter Crosthwaite wrote:
On Thu, Oct 22, 2015 at 2:21 AM, Christian Pinto
wrote:
Hello Peter,
On 07/10/2015 17:48, Peter Crosthwaite wrote:
On Mon, Oct 5, 2015 at 8:50 AM, Christian Pinto
wrote:
Hello Peter,
thanks for your comments
On 01/10/2015 18:26, Peter
Hello Peter,
On 07/10/2015 17:48, Peter Crosthwaite wrote:
On Mon, Oct 5, 2015 at 8:50 AM, Christian Pinto
wrote:
Hello Peter,
thanks for your comments
On 01/10/2015 18:26, Peter Crosthwaite wrote:
On Tue, Sep 29, 2015 at 6:57 AM, Christian Pinto
wrote:
Hi all,
This RFC patch-series
Hello Peter,
thanks for your comments
On 01/10/2015 18:26, Peter Crosthwaite wrote:
On Tue, Sep 29, 2015 at 6:57 AM, Christian Pinto
wrote:
Hi all,
This RFC patch-series introduces the set of changes enabling the
architectural elements to model the architecture presented in a previous RFC
d memory backend
migration: add shared migration type
Christian Pinto (5):
hw/misc: IDM Device
hw/arm: sysbus-fdt
qemu: slave machine flag
hw/arm: boot
qemu: numa
backends/Makefile.objs | 4 +-
backends/hostmem-shared.c | 203 +
This patch adds a new machine flag, to configure qemu as a slave instance.
Usage
-machine -slave=[on|off] (default=off)
Signed-off-by: Christian Pinto
---
hw/core/machine.c | 27 +++
include/hw/boards.h | 2 ++
qemu-options.hx | 5 -
util/qemu-config.c
model executed.
Signed-off-by: Christian Pinto
---
hw/arm/boot.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/hw/arm/boot.c b/hw/arm/boot.c
index bef451b..ee0c4a1 100644
--- a/hw/arm/boot.c
+++ b/hw/arm/boot.c
@@ -590,6 +590,19 @@ static void arm_load_kernel_notify(Notifier
backend
socket=[socket_id] - id of the multi-client socket
Signed-off-by: Christian Pinto
---
default-configs/arm-softmmu.mak| 1 +
default-configs/i386-softmmu.mak | 1 +
default-configs/x86_64-softmmu.mak | 1 +
hw/misc/Makefile.objs | 2 +
hw/misc/idm.c
From: Baptiste Reynal
A QEMU instance can now wait for the instantiation of the memory by the
master while shared-memory backend is used.
Use:
-incoming "shared:"
Signed-off-by: Baptiste Reynal
---
backends/hostmem-shared.c | 9 +
include/migration/migration.h | 2 ++
migration/
.)
and vmstate_register would fail.
The patch skips the call to vmstate_register in case of slave shared memory
backend, that will be performed later after the actual memory pointer is
available.
Signed-off-by: Christian Pinto
---
numa.c | 17 -
1 file changed, 16 insertions(+), 1
Added node creation for dynamically instantiated sysbus IDM device.
Support added for all ARM machines modeling dynamic sysbus devices
instantiation.
Signed-off-by: Christian Pinto
---
hw/arm/sysbus-fdt.c | 60 +
1 file changed, 60 insertions
From: Baptiste Reynal
This patch introduces a shared memory backend, allowing to share memory
between a master and many slaves.
The memory is implemented using hugetlbfs, and relies on the
multi-socket backend to share informations (size and offset for the
slaves).
Instantiation on the master:
From: Baptiste Reynal
This patch introduces a new socket for QEMU, called multi-socket. This
socket allows multiple QEMU instances to communicate by sharing messages
and file descriptors.
A socket can be instantiated with the following parameters:
-object multi-socket-backend,id=,path=,listen=
Hello Paolo,
On 31/07/2015 15:10, Paolo Bonzini wrote:
On 27/07/2015 15:54, Christian Pinto wrote:
From the user point of view there is usually an operating system
booting on the Master processor (e.g. Linux) at platform startup,
while the other processors are used to offload the Master one
Hello Cristopher,
On 31/07/2015 14:03, Christopher Covington wrote:
Hi Christian,
On 07/27/2015 09:54 AM, Christian Pinto wrote:
Hi all,
this message is to present, and get feedback, on a QEMU enhancement which we
are working on. Most of the state-of-the-art SoCs use the heterogeneous
Hi all,
this message is to present, and get feedback, on a QEMU enhancement
which we
are working on. Most of the state-of-the-art SoCs use the heterogeneous
paradigm, in which a Master processor is surrounded by multiple (Slave) co-
processors (other CPUs, MCUs, hardware accelerators, etc) tha
53 matches
Mail list logo