On Fri, Jan 12, 2018 at 02:28:32PM +, Stefan Hajnoczi wrote:
> On Fri, Jan 12, 2018 at 12:51:49PM +0800, Peter Xu wrote:
> > On Mon, Jan 08, 2018 at 04:49:36PM +, Stefan Hajnoczi wrote:
> > > On Mon, Dec 25, 2017 at 11:26:13AM +0800, Peter Xu wrote:
> > > > On Thu, Dec 21, 2017 at 07:27:38P
On Fri, Jan 12, 2018 at 03:48:10PM -0600, Eric Blake wrote:
> On 12/19/2017 02:45 AM, Peter Xu wrote:
> > Monitor code now can be run in more than one thread. Let it be thread
> > safe when accessing suspend_cnt counter.
> >
> > Signed-off-by: Peter Xu
> > ---
> > monitor.c | 13 +++--
>
On Thu, Jan 18, 2018 at 03:51:17PM -0600, Eric Blake wrote:
> On 01/18/2018 02:44 PM, Michael S. Tsirkin wrote:
> > From: Yuval Shaia
> >
> > This function should be declared in generic header file so we can
> > utilize it.
> >
> > Reviewed-by: Philippe Mathieu-Daudé
> > Signed-off-by: Yuval Sh
On 19.12.2017 17:17, Thomas Huth wrote:
> The "default" parameter of the "-mon" option is useless since
> QEMU v2.4.0, and marked as deprecated since QEMU v2.8.0. That
> should have been long enough to let people update their scripts,
> so time to remove it now.
>
> Signed-off-by: Thomas Huth
> -
Public bug reported:
The new commit: 4fe6d78 break the existing vhost-user devices, such as
vhost-user-scsi/blk and vhost-vsocks when exit the host driver,
kvm_io_ioeventfd_del will hit the abort().
** Affects: qemu
Importance: Undecided
Status: New
** Tags: vhost-user virtio
--
On Fri, Jan 12, 2018 at 02:57:23PM -0600, Eric Blake wrote:
> On 12/19/2017 02:45 AM, Peter Xu wrote:
> > After this patch, we will allow QMP clients to enable QMP capabilities
> > when sending the first "qmp_capabilities" command. Originally we are
> > starting QMP session with no arguments like:
> So please simply rebase on top of master now.
>
Hi Michael,
Having done that and pls help to review again.
Regards,
Jay
If the user specifies image format through driver-specific options, The
format probing should be prohibited and the warning message should not
be printed.
e.g.:
$ qemu-system-x86_64 ... -drive file.file.filename=disk0.raw,file.driver=raw ...
WARNING: Image format was not specified for 'disk0.raw'
Le 21/01/2018 à 20:57, Rob Landley a écrit :
> On 01/18/2018 01:38 PM, Laurent Vivier wrote:
>> Only add MC68040 MMU page table processing and related
>> registers (Special Status Word, Translation Control Register,
>> User Root Pointer and Supervisor Root Pointer).
>>
>> Transparent Translation Re
Since used_memslots will be updated to the actual value after
registering memory listener for the first time, move the
memslots limit checking to the right place.
Reviewed-by: Igor Mammedov
Signed-off-by: Jay Zhou
---
hw/virtio/vhost.c | 19 ---
1 file changed, 12 insertions(+),
On Wed, Jan 10, 2018 at 01:47:13PM +0100, Juan Quintela wrote:
> We create new channels for each new thread created. We send through
> them in a packed struct. This way we can check we connect the right
> channels in both sides.
>
> Signed-off-by: Juan Quintela
>
> --
> Split SocketArgs into in
Used_memslots is shared by vhost kernel and user, it is equal to
dev->mem->nregions, which is correct for vhost kernel, but not for
vhost user, the latter one uses memory regions that have file
descriptor. E.g. a VM has a vhost-user NIC and 8(vhost user memslot
upper limit) memory slots, it will be
v6 -> v7:
rebase on the master
Jay Zhou (2):
vhost: fix memslot limit check
vhost: used_memslots refactoring
hw/virtio/vhost-backend.c | 15 +++-
hw/virtio/vhost-user.c| 77 ++-
hw/virtio/vhost.c | 30 -
> From: Paolo Bonzini [mailto:pbonz...@redhat.com]
> On 19/01/2018 13:36, Pavel Dovgalyuk wrote:
> >> From: Paolo Bonzini [mailto:pbonz...@redhat.com]
> >> On 19/01/2018 13:25, Pavel Dovgalyuk wrote:
> > It means, that I'll have to fix all the has_work function to avoid
> > races,
> >
On 22.01.2018 03:10, Philippe Mathieu-Daudé wrote:
> Hi Thomas,
>
>> This series introduces 5 different flavors of deprecation
>> messages:
>>
>> * "Too old"
>> * "Unmaintained"
>> * "The ZCU102 machine has the same features supported"
>> * "Use the \"pc\" machine instead"
>> * "Obsoleted by the \
When unregister memory listeners, we should call, e.g.,
region_del() (and possibly other undo operations) on every existing
memory region sections there, otherwise we may leak resources that are
held during the region_add(). This patch undo the stuff for the
listeners, which emulates the case when
It's a preparation for follow-up patch to call region_del() in
memory_listener_unregister(), otherwise all device addr attached with
kvm_devices_head will be reset before calling kvm_arm_set_device_addr.
Signed-off-by: Peter Xu
---
target/arm/kvm.c | 2 +-
1 file changed, 1 insertion(+), 1 delet
Trace these operations on two memory listeners. It helps to verify the
new memory listener fix, and good to keep them there.
Signed-off-by: Peter Xu
---
hw/virtio/trace-events | 6 ++
hw/virtio/vhost.c | 7 +++
2 files changed, 13 insertions(+)
diff --git a/hw/virtio/trace-events
After next patch, listener unregister will need the container to be
alive. Let's move this unregister phase to be before unset container,
since that operation will free the backend container in kernel,
otherwise we'll get these after next patch:
qemu-system-x86_64: VFIO_UNMAP_DMA: -22
qemu-system
v2
- add begin() hooks [Paolo]
- move vfio patch to front [Paolo]
- one more patch for arm devlistener unregister [Paolo]
- one more patch for vhost traces
- removing RFC tag
This series fixes bug reported here:
https://bugzilla.redhat.com/show_bug.cgi?id=1531393
The first patch only adds trac
On Fri, Jan 19, 2018 at 12:41:01PM +0100, Paolo Bonzini wrote:
> On 19/01/2018 09:42, Peter Xu wrote:
> > I encountered an event loss problem during unplugging vfio devices:
> >
> > https://bugzilla.redhat.com/show_bug.cgi?id=1531393
> >
> > I thought it should be a simple VT-d issue but I was
Hi,
This series seems to have some coding style problems. See output below for
more information:
Type: series
Message-id: 20180122034217.19593-1-richard.hender...@linaro.org
Subject: [Qemu-devel] [PULL 00/43] Add hppa-softmmu
=== TEST SCRIPT BEGIN ===
#!/bin/bash
BASE=base
n=1
total=$(git log -
Signed-off-by: Richard Henderson
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 753e7996ce..bee6b2bec7 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -133,6 +133,7 @@ HPPA (PA-RISC)
M: Richard Henderson
S: Maintained
F: target/hppa/
+F: hw/h
Signed-off-by: Richard Henderson
---
target/hppa/cpu.h | 6 ++
configure | 1 +
2 files changed, 7 insertions(+)
diff --git a/target/hppa/cpu.h b/target/hppa/cpu.h
index 79763b254c..3df3ebd19d 100644
--- a/target/hppa/cpu.h
+++ b/target/hppa/cpu.h
@@ -42,6 +42,12 @@
#define TARGET_P
On 2018年01月20日 01:20, Stefan Hajnoczi wrote:
I don't propose any new idea. I just want to know what's the advantage of
vhost-pci over zerocopy. Both needs one time of copy, the difference is the
vhost-pci did it inside a guest but zerocopy did in on host.
Exitless VM2VM communication is desira
From: Helge Deller
Signed-off-by: Helge Deller
Message-Id: <20180102203145.ga17...@ls3530.fritz.box>
Signed-off-by: Richard Henderson
---
target/hppa/translate.c | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/target/hppa/translate.c b/target/hppa/translate.c
On 01/19/2018 03:44 AM, Laurent Vivier wrote:
> t64 is also unconditionally freed after the switch () { ... }
>
> Signed-off-by: Laurent Vivier
> ---
> target/m68k/translate.c | 1 -
> 1 file changed, 1 deletion(-)
Reviewed-by: Richard Henderson
r~
Bypass any tlb protection checks, as this is not a "real"
access to memory per the architecture.
Signed-off-by: Richard Henderson
---
target/hppa/int_helper.c | 2 +-
target/hppa/mem_helper.c | 19 ++-
2 files changed, 15 insertions(+), 6 deletions(-)
diff --git a/target/hppa/i
This is an extension to the base ISA, but we can use this in
the kernel idle loop to reduce the host cpu time consumed.
Signed-off-by: Richard Henderson
---
target/hppa/translate.c | 36
1 file changed, 36 insertions(+)
diff --git a/target/hppa/translate.c b
From: Helge Deller
Signed-off-by: Helge Deller
Message-Id: <20171212212319.ga31...@ls3530.fritz.box>
Signed-off-by: Richard Henderson
---
target/hppa/translate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/hppa/translate.c b/target/hppa/translate.c
index 6cf4e370
Unknown why this works, but if we return EXCP_ITLB_MISS we
will triple-fault the first userland instruction fetch.
Is it something to do with having a combined I/DTLB?
Signed-off-by: Richard Henderson
---
target/hppa/mem_helper.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --g
From: Helge Deller
Now that we have the prerequisites in target/hppa/,
implement the hardware for a PA7100LC.
This also enables build for hppa-softmmu.
Signed-off-by: Helge Deller
[rth: Since it is all new code, squashed all branch development
withing hw/hppa/ to a single patch.]
Signed-off-by
Signed-off-by: Richard Henderson
---
target/hppa/gdbstub.c | 156 ++
1 file changed, 156 insertions(+)
diff --git a/target/hppa/gdbstub.c b/target/hppa/gdbstub.c
index fc27aec073..e2e9c4d77f 100644
--- a/target/hppa/gdbstub.c
+++ b/target/hppa/gdbs
HP-UX 10.20 CD contains "add r0, r0, r27" in a delay slot,
which uses at least 5 temps.
Signed-off-by: Richard Henderson
---
target/hppa/translate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/hppa/translate.c b/target/hppa/translate.c
index c064c9d17b..6cf4e37062
This lets us tell bottom levels of virtual memory translation
routines that the access is from within QEMU itself and bypass
certain tests.
Cc: Andreas Färber
Signed-off-by: Richard Henderson
---
include/qom/cpu.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/qom
Signed-off-by: Richard Henderson
---
target/hppa/translate.c | 19 ++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/target/hppa/translate.c b/target/hppa/translate.c
index 8884754f05..74f78ab4e0 100644
--- a/target/hppa/translate.c
+++ b/target/hppa/translate.c
@@
Signed-off-by: Richard Henderson
---
target/hppa/cpu.h | 1 +
target/hppa/cpu.c | 1 +
target/hppa/machine.c | 181 ++
target/hppa/Makefile.objs | 1 +
4 files changed, 184 insertions(+)
create mode 100644 target/hppa/machine.
Signed-off-by: Richard Henderson
---
target/hppa/cpu.h| 1 +
target/hppa/mem_helper.c | 8
target/hppa/translate.c | 48
3 files changed, 57 insertions(+)
diff --git a/target/hppa/cpu.h b/target/hppa/cpu.h
index 8a87b8a9b3..797
Signed-off-by: Richard Henderson
---
target/hppa/translate.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/target/hppa/translate.c b/target/hppa/translate.c
index b207ae192a..a311a464bf 100644
--- a/target/hppa/translate.c
+++ b/target/hppa/translate.c
@@ -2301,7 +2301,8 @
Linux sets sr4-sr7 all to the same value, which means that we
need not do any runtime computation to find out what space to
use in forming the GVA.
Signed-off-by: Richard Henderson
---
target/hppa/cpu.h | 11 ++-
target/hppa/translate.c | 29 -
2 files c
Signed-off-by: Richard Henderson
---
target/hppa/translate.c | 20
1 file changed, 20 insertions(+)
diff --git a/target/hppa/translate.c b/target/hppa/translate.c
index bbef2f0d7f..b207ae192a 100644
--- a/target/hppa/translate.c
+++ b/target/hppa/translate.c
@@ -2451,6 +2451
Signed-off-by: Richard Henderson
---
target/hppa/cpu.h| 1 +
target/hppa/helper.h | 1 +
target/hppa/mem_helper.c | 13 +
target/hppa/op_helper.c | 10 +-
target/hppa/translate.c | 30 ++
5 files changed, 50 insertions(+), 5 deletion
The TLB can now be populated, but it cannot yet be cleared.
Signed-off-by: Richard Henderson
---
target/hppa/helper.h | 2 ++
target/hppa/mem_helper.c | 80 ++--
target/hppa/translate.c | 54 ++--
3 files changed, 132
Signed-off-by: Richard Henderson
---
target/hppa/cpu.h| 2 ++
target/hppa/helper.h | 3 +++
target/hppa/cpu.c| 8
target/hppa/int_helper.c | 6 ++
target/hppa/op_helper.c | 36
target/hppa/translate.c | 16 ---
From: Helge Deller
Real hardware would use an external device to control the power.
But for the moment let's invent instructions in reserved space,
to be used by our custom firmware.
Signed-off-by: Helge Deller
Signed-off-by: Richard Henderson
---
target/hppa/helper.h| 2 ++
target/hppa/
Signed-off-by: Richard Henderson
---
target/hppa/translate.c | 38 ++
1 file changed, 38 insertions(+)
diff --git a/target/hppa/translate.c b/target/hppa/translate.c
index 44e566837d..5b49cc5332 100644
--- a/target/hppa/translate.c
+++ b/target/hppa/translate.
These instructions force the destination privilege level
of the branch destination to be no higher than current.
Signed-off-by: Richard Henderson
---
target/hppa/translate.c | 52 -
1 file changed, 47 insertions(+), 5 deletions(-)
diff --git a/tar
We now have all of the TLB manipulation instructions.
Signed-off-by: Richard Henderson
---
target/hppa/helper.h | 2 ++
target/hppa/mem_helper.c | 37 +
target/hppa/translate.c | 40
3 files changed, 79 insertions
Signed-off-by: Richard Henderson
---
target/hppa/cpu.h| 1 +
target/hppa/helper.h | 2 ++
target/hppa/cpu.c| 6 +
target/hppa/int_helper.c | 59
target/hppa/translate.c | 16 -
5 files changed, 83 insertions(
Any one TB will have only one space value. If we change spaces,
we change TBs. Thus BE and BEV must exit the TB immediately.
Signed-off-by: Richard Henderson
---
target/hppa/cpu.h| 53 -
target/hppa/cpu.c| 15 ++
target/hppa/helper.c | 3 +-
targ
Signed-off-by: Richard Henderson
---
target/hppa/cpu.c | 2 +
target/hppa/helper.c | 63 -
target/hppa/int_helper.c | 176 ++
target/hppa/translate.c | 16 -
target/hppa/Makefile.objs | 1 +
5 files changed, 192
This changes the system virtual address width to 64-bit and
incorporates the space registers into load/store operations.
Signed-off-by: Richard Henderson
---
target/hppa/cpu.h | 14 ++
target/hppa/translate.c | 334 +++-
2 files changed, 201 ins
Signed-off-by: Richard Henderson
---
target/hppa/translate.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/target/hppa/translate.c b/target/hppa/translate.c
index cad661e39f..7334206b44 100644
--- a/target/hppa/translate.c
+++ b/target/hppa/translate.c
@@ -4207,6 +4207,8 @@ static DisasJu
However since HPPA has a software-managed TLB, and the relevant
TLB manipulation instructions are not implemented, this does not
actually do anything.
Signed-off-by: Richard Henderson
---
target/hppa/cpu.h| 29 -
target/hppa/int_helper.c | 12
target/hppa/mem_helper.c | 14
Signed-off-by: Richard Henderson
---
target/hppa/cpu.h | 1 +
target/hppa/helper.h| 2 ++
target/hppa/op_helper.c | 24
target/hppa/translate.c | 30 --
4 files changed, 55 insertions(+), 2 deletions(-)
diff --git a/target/hppa/cpu
For system mode, we will need 64-bit virtual addresses even when
we have 32-bit register sizes. Since the rest of QEMU equates
TARGET_LONG_BITS with the address size, redefine everything
related to register size in terms of a new TARGET_REGISTER_BITS.
Signed-off-by: Richard Henderson
---
target
While the E bit is only used for pa2.0 mfctl,w from sar,
the otherwise reserved bit does not appear to be decoded.
Signed-off-by: Richard Henderson
---
target/hppa/translate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/hppa/translate.c b/target/hppa/translate.c
in
Signed-off-by: Richard Henderson
---
target/hppa/cpu.h| 39 +++
linux-user/main.c| 26 ++---
target/hppa/helper.c | 61 ++--
target/hppa/mem_helper.c | 4 +++-
target/hppa/op_helper.c |
Signed-off-by: Richard Henderson
---
linux-user/hppa/target_cpu.h | 2 +-
target/hppa/cpu.h| 23 +++
linux-user/main.c| 4 +--
linux-user/signal.c | 4 +--
target/hppa/gdbstub.c| 12
target/hppa/mem_helper.c | 2 +-
target/hppa
Signed-off-by: Richard Henderson
---
target/hppa/translate.c | 27 +--
1 file changed, 17 insertions(+), 10 deletions(-)
diff --git a/target/hppa/translate.c b/target/hppa/translate.c
index 31d9a2a31b..8e357cc60c 100644
--- a/target/hppa/translate.c
+++ b/target/hppa/tran
Most aspects of privilege are not yet handled. But this
gives us the start from which to begin checking.
Signed-off-by: Richard Henderson
---
target/hppa/cpu.h | 19 +
target/hppa/cpu.c | 2 +-
target/hppa/translate.c | 55 ++-
Signed-off-by: Richard Henderson
---
target/hppa/helper.h| 4 +++
target/hppa/op_helper.c | 14
target/hppa/translate.c | 96 -
3 files changed, 113 insertions(+), 1 deletion(-)
diff --git a/target/hppa/helper.h b/target/hppa/helper.h
Signed-off-by: Richard Henderson
---
target/hppa/cpu.c | 17 -
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/target/hppa/cpu.c b/target/hppa/cpu.c
index ca619578dd..6b2d22118d 100644
--- a/target/hppa/cpu.c
+++ b/target/hppa/cpu.c
@@ -48,6 +48,21 @@ static void hpp
:
Merge remote-tracking branch
'remotes/ehabkost/tags/machine-next-pull-request' into staging (2018-01-19
16:35:25 +)
are available in the Git repository at:
git://github.com/rth7680/qemu.git tags/pull-hppa-20180121
for you to fetch changes up to 350e2a714ac8db559b255f9e8fe91c
We don't actually do anything with most of the bits yet,
but at least they have names and we have somewhere to
store them.
Signed-off-by: Richard Henderson
---
target/hppa/cpu.h| 47 ++
target/hppa/helper.c | 53
Not used where they should be yet, but we can copy them.
Signed-off-by: Richard Henderson
---
target/hppa/cpu.h | 1 +
target/hppa/helper.c| 14 ++
target/hppa/translate.c | 73 +
3 files changed, 77 insertions(+), 11 deletions(-
From: Helge Deller
With the addition of default-configs/hppa-softmmu.mak, this
will compile. It is not enabled with this patch, however.
Signed-off-by: Helge Deller
Signed-off-by: Richard Henderson
---
include/sysemu/arch_init.h | 1 +
target/hppa/cpu.h | 1 +
arch_init.c
On 2018年01月19日 21:06, Stefan Hajnoczi wrote:
These patches implement the virtio-vhost-user device design that I have
described here:
https://stefanha.github.io/virtio/vhost-user-slave.html#x1-2830007
Thanks for the patches, looks rather interesting and similar to split
device model used by X
Hello,
I create a virtual disk-image using qemu-img.
And then I use /dev/nbd to map the image.
I mount the /dev/nbd to a local dir with ext4-format
Finally, I have some trouble about ext4-filesystem and block device,
with using demand of rsync or dd to write the image.
Reproduce :
qemu
Hi Thomas,
> This series introduces 5 different flavors of deprecation
> messages:
>
> * "Too old"
> * "Unmaintained"
> * "The ZCU102 machine has the same features supported"
> * "Use the \"pc\" machine instead"
> * "Obsoleted by the \"40p\" machine"
>
> Can we clearly document guidelines and ex
Reference:
https://github.com/novnc/noVNC/issues/431#issuecomment-71883085
QEMU uses many more (30x) operations with much smaller amounts of data
than other VNC server, perhaps this leads to the different result.
** Bug watch added: github.com/novnc/noVNC/issues #431
https://github.com/novnc/n
On 01/21/2018 02:46 AM, Stefan Berger wrote:
> On 01/20/2018 07:54 AM, Philippe Mathieu-Daudé wrote:
>> On 01/19/2018 11:11 AM, Marc-André Lureau wrote:
>>> tpm_crb is a device for TPM 2.0 Command Response Buffer (CRB)
>>> Interface as defined in TCG PC Client Platform TPM Profile (PTP)
>>> Specifi
On 01/21/2018 02:24 PM, Marc-Andre Lureau wrote:
Hi
On Sun, Jan 21, 2018 at 6:46 AM, Stefan Berger
wrote:
On 01/20/2018 07:54 AM, Philippe Mathieu-Daudé wrote:
On 01/19/2018 11:11 AM, Marc-André Lureau wrote:
tpm_crb is a device for TPM 2.0 Command Response Buffer (CRB)
Interface as defined
qemu-system-ppcemb has been once split of qemu-system-ppc to support
CPU page sizes < 4096 for some of the embedded 4xx PowerPC CPUs.
However, there was hardly any OS available in the wild that really
used such small page sizes (Linux uses 4096 on PPC), so there is
no known recent use case for this
On 01/18/2018 01:38 PM, Laurent Vivier wrote:
> Only add MC68040 MMU page table processing and related
> registers (Special Status Word, Translation Control Register,
> User Root Pointer and Supervisor Root Pointer).
>
> Transparent Translation Registers, DFC/SFC and pflush/ptest
> will be added l
Hi
On Sun, Jan 21, 2018 at 6:46 AM, Stefan Berger
wrote:
> On 01/20/2018 07:54 AM, Philippe Mathieu-Daudé wrote:
>>
>> On 01/19/2018 11:11 AM, Marc-André Lureau wrote:
>>>
>>> tpm_crb is a device for TPM 2.0 Command Response Buffer (CRB)
>>> Interface as defined in TCG PC Client Platform TPM Prof
Le 19/01/2018 à 22:15, Corey Minyard a écrit :
On 01/19/2018 08:07 AM, Corey Minyard wrote:
On 01/18/2018 09:17 PM, Michael S. Tsirkin wrote:
On Thu, Jan 18, 2018 at 07:55:41PM -0600, miny...@acm.org wrote:
From: Corey Minyard
This reverts commit 880b1ffe6ec2f0ae25cc4175716227ad275e8b8a.
Th
On Thu, Jan 18, 2018 at 03:31:07PM -0300, Philippe Mathieu-Daudé wrote:
> Signed-off-by: Philippe Mathieu-Daudé
> Acked-by: Alistair Francis
> ---
> Krzysztof kindly checked those values with Manaul, the Samsung datasheet :)
>
> hw/arm/exynos4210.c | 21 +++--
> 1 file changed,
From: Gonglei
Impliment the vhost-crypto's funtions, such as startup,
stop and notification etc. Introduce an enum
QCryptoCryptoDevBackendOptionsType in order to
identify the cryptodev vhost backend is vhost-user
or vhost-kernel-module (If exist).
At this point, the cryptdoev-vhost-user works.
From: Gonglei
Introduce two vhost-user meassges: VHOST_USER_CREATE_CRYPTO_SESSION
and VHOST_USER_CLOSE_CRYPTO_SESSION. At this point, the QEMU side
support crypto operation in cryptodev host-user backend.
Signed-off-by: Gonglei
Signed-off-by: Longpeng(Mike)
Signed-off-by: Jay Zhou
---
backen
From: Gonglei
I posted the RFC verion a few months ago for DPDK
vhost-crypto implmention, and now it's time to send
the formal version. Because we need an user space scheme
for better performance.
The vhost user crypto server side patches had been
sent to DPDK community, pls see
[RFC PATCH 0/6]
From: Gonglei
Signed-off-by: Gonglei
---
backends/cryptodev-vhost-user.c | 4
include/sysemu/cryptodev-vhost-user.h | 3 +++
2 files changed, 7 insertions(+)
diff --git a/backends/cryptodev-vhost-user.c b/backends/cryptodev-vhost-user.c
index 7bd0929..11b834b 100644
--- a/backends/c
From: Gonglei
Usage:
-chardev socket,id=charcrypto0,path=/path/to/your/socket
-object cryptodev-vhost-user,id=cryptodev0,chardev=charcrypto0
-device virtio-crypto-pci,id=crypto0,cryptodev=cryptodev0
Signed-off-by: Gonglei
Signed-off-by: Longpeng(Mike)
Signed-off-by: Jay Zhou
---
backends/
On Fri, Jan 19, 2018 at 09:15:11AM +0100, Cédric Le Goater wrote:
> This redefinition generates warnings on some clang compilers and older
> gcc4.4.
>
> ...include/hw/ppc/pnv_xscom.h:24:24: warning: redefinition of typedef
> 'PnvChip' is a C11
> feature [-Wtypedef-redefinition]
> typedef st
Hi,
This series seems to have some coding style problems. See output below for
more information:
Type: series
Message-id: 20180121091154.17426-1-mark.cave-ayl...@ilande.co.uk
Subject: [Qemu-devel] [PATCHv2 00/10] sun4u: APB tidy-up/rename and tracepoint
conversions
=== TEST SCRIPT BEGIN ===
#!/
Signed-off-by: Mark Cave-Ayland
Reviewed-by: Philippe Mathieu-Daudé
Acked-by: Artyom Tarasenko
---
hw/sparc64/sparc64.c| 85 -
hw/sparc64/trace-events | 18 +++
2 files changed, 52 insertions(+), 51 deletions(-)
diff --git a/hw/sparc6
Signed-off-by: Mark Cave-Ayland
CC: Michael S. Tsirkin
CC: Marcel Apfelbaum
Reviewed-by: Philippe Mathieu-Daudé
Acked-by: Artyom Tarasenko
[for addition of trace-events to hw/pci-host]
Acked-by: Michael S. Tsirkin
---
Makefile.objs| 1 +
hw/pci-host/sabre.c | 32 ++-
As hinted in the comment at the top of the file, the naming convention for the
APB types/QOM functions isn't correct. As a starting point we can at least
rename the APB type and related functions to improve the readability of apb.c.
Signed-off-by: Mark Cave-Ayland
Reviewed-by: Philippe Mathieu-Da
Similarly rename the corresponding APBState typedef to SabreState.
Signed-off-by: Mark Cave-Ayland
Reviewed-by: Philippe Mathieu-Daudé
Acked-by: Artyom Tarasenko
---
hw/pci-host/apb.c | 30 +++---
hw/sparc64/sun4u.c| 6 +++---
include/hw/pci-host/apb.h
This patchset is the next round of sun4u tidy-ups mostly centered around the
APB (PCI host bridge). In its current form apb.c contains both the PCI host
bridge and the secondary PCI bridge, so we split the PCI bridge into a new
file and move it under hw/pci-bridge.
To order to avoid further confus
This is the final stage in correcting the naming convention with respect to
sabre, APB and PBM. It is effectively a file rename from apb.c to sabre.c
along with touching up a few constants to remove the remaining references
to APB.
Note that as part of the rename process the configuration variable
Move the QOM type and macros into a new include/hw/pci-bridge/simba.h
file, and add a new CONFIG_SIMBA Makefile.objs variable which is enabled
for sparc64-softmmu builds only.
Signed-off-by: Mark Cave-Ayland
CC: Michael S. Tsirkin
CC: Marcel Apfelbaum
Reviewed-by: Philippe Mathieu-Daudé
Acked-
On 20/01/18 20:10, Artyom Tarasenko wrote:
Hi Mark,
On Mon, Jan 15, 2018 at 9:58 PM, Mark Cave-Ayland
wrote:
This inbuilt device contains a single 4-byte register, of which bit 24 is used
to power down the machine on a real Ultra 5.
The power device exists at offset 0x724000 on a real machi
In order to reflect the previous change of TYPE_APB to TYPE_SABRE, update
the corresponding variable names to keep the terminology consistent.
Signed-off-by: Mark Cave-Ayland
Reviewed-by: Philippe Mathieu-Daudé
Acked-by: Artyom Tarasenko
---
hw/sparc64/sun4u.c | 41 +---
This is the proper name for the PBM host bridge as referenced in the Sun
documentation.
Signed-off-by: Mark Cave-Ayland
Reviewed-by: Philippe Mathieu-Daudé
Acked-by: Artyom Tarasenko
---
hw/pci-host/apb.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/hw/pci-h
Here we rename PBMPCIBridge to SimbaPCIBridge and the QOM type from
TYPE_PBM_PCI_BRIDGE to TYPE_SIMBA_PCI_BRIDGE in improve the clarity
of the device name.
Also touch up the relevant spots in apb.c and various other function
names as appropriate.
Signed-off-by: Mark Cave-Ayland
Reviewed-by: Phil
Signed-off-by: Mark Cave-Ayland
Reviewed-by: Philippe Mathieu-Daudé
Acked-by: Artyom Tarasenko
---
hw/pci-host/apb.c | 6 +++---
include/hw/pci-host/apb.h | 14 +++---
2 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/hw/pci-host/apb.c b/hw/pci-host/apb.c
index 98
97 matches
Mail list logo