Re: of AVR target page size

2021-03-18 Thread Michael Rolnik
I guess we can add some bits TARGET_PAGE_BITS, this will make us to push some portion of SRAM into the CPU. Michael Rolnik On Thu, Mar 18, 2021 at 12:33 AM Peter Maydell wrote: > On Wed, 17 Mar 2021 at 20:17, Dr. David Alan Gilbert > wrote: > > > > Hi Michael, > > I noticed your AVR code def

Re: [RFC PATCH 0/3] vfio/migration: Support manual clear vfio dirty log

2021-03-18 Thread Kunkun Jiang
Hi Kevin, On 2021/3/18 14:28, Tian, Kevin wrote: From: Kunkun Jiang Sent: Wednesday, March 10, 2021 5:41 PM Hi all, In the past, we clear dirty log immediately after sync dirty log to userspace. This may cause redundant dirty handling if userspace handles dirty log iteratively: After vfio cle

Re: [PATCH v3 00/36] block: update graph permissions update

2021-03-18 Thread Vladimir Sementsov-Ogievskiy
17.03.2021 20:33, Eric Blake wrote: On 3/17/21 10:38 AM, Vladimir Sementsov-Ogievskiy wrote: 6/36 Checking commit 5780b805277e (block: drop ctx argument from bdrv_root_attach_child) 7/36 Checking commit 68189c099a3a (block: make bdrv_reopen_{prepare, commit, abort} private) ERROR: Author email

Re: [RFC v2 11/13] vhost: Shadow virtqueue buffers forwarding

2021-03-18 Thread Eugenio Perez Martin
On Thu, Mar 18, 2021 at 4:14 AM Jason Wang wrote: > > > 在 2021/3/17 下午10:38, Eugenio Perez Martin 写道: > > On Wed, Mar 17, 2021 at 3:51 AM Jason Wang wrote: > >> > >> 在 2021/3/17 上午12:05, Eugenio Perez Martin 写道: > >>> On Tue, Mar 16, 2021 at 9:15 AM Jason Wang wrote: > 在 2021/3/16 上午3:48, E

Re: [PATCH] hw/arm/virt: Disable pl011 clock migration if needed

2021-03-18 Thread Andrew Jones
On Thu, Mar 18, 2021 at 10:38:01AM +0800, Gavin Shan wrote: > A clock is added by commit aac63e0e6ea3 ("hw/char/pl011: add a clock > input") since v5.2.0 which corresponds to virt-5.2 machine type. It > causes backwards migration failure from upstream to downstream (v5.1.0) > when the machine type

Re: [PATCH V3] file-posix: allow -EBUSY -EINVAL errors during write zeros on block

2021-03-18 Thread Vladimir Sementsov-Ogievskiy via
18.03.2021 02:23, John Snow wrote: On 3/9/21 7:16 PM, ChangLimin wrote: Since Linux 5.10, write zeros to a multipath device using ioctl(fd, BLKZEROOUT, range) with cache none or directsync return -EBUSY permanently. When do we get -EINVAL? Both of the commits referenced below don't specifical

Re: [RFC v9 29/50] target/arm: cleanup cpu includes

2021-03-18 Thread Claudio Fontana
On 3/17/21 8:01 PM, Philippe Mathieu-Daudé wrote: > On 3/17/21 7:29 PM, Claudio Fontana wrote: >> cpu.c, >> cpu32.c, >> cpu64.c, >> tcg/sysemu/tcg-cpu.c, >> >> all need a good cleanup when it comes to included header files. >> >> Signed-off-by: Claudio Fontana >> --- >> target/arm/cpu.c

Re: "make check" broken with everything but tools disabled

2021-03-18 Thread Philippe Mathieu-Daudé
On 3/17/21 11:35 PM, John Snow wrote: > On 3/16/21 9:28 AM, Markus Armbruster wrote: >> Watch this: >> >> $ mkdir bld-tools >> $ cd bld-tools >> $ ../configure --disable-system --disable-user --enable-tools >> $ make check >> [...] >> make: *** No rule to make target >

Re: [PATCH 0/2] *** This is based on pull request from Alex Bennée ***

2021-03-18 Thread Markus Armbruster
Please use the subject line for explaining the purpose of the series. "Based on" information should go into the body. Ideally also in machine-readable form, like Based-on: <20171220185924.32756-1-arm...@redhat.com> where the thing in is the pull request's Message-id. Note: I used one of my

Re: Serious doubts about Gitlab CI

2021-03-18 Thread Philippe Mathieu-Daudé
On 3/18/21 2:28 AM, Bin Meng wrote: > On Thu, Mar 18, 2021 at 4:32 AM Philippe Mathieu-Daudé > wrote: >> >> Hi, >> >> For some (unclear) reason I got my free tier Gitlab account renewed and >> lost the privilege for users opening account before the quota limit. >> >> I pushed a single branch to m

RE: [RFC PATCH 0/3] vfio/migration: Support manual clear vfio dirty log

2021-03-18 Thread Tian, Kevin
> From: Kunkun Jiang > Sent: Thursday, March 18, 2021 3:59 PM > > Hi Kevin, > > On 2021/3/18 14:28, Tian, Kevin wrote: > >> From: Kunkun Jiang > >> Sent: Wednesday, March 10, 2021 5:41 PM > >> > >> Hi all, > >> > >> In the past, we clear dirty log immediately after sync dirty log to > >> userspa

Re: "make check" broken with everything but tools disabled

2021-03-18 Thread Claudio Fontana
On 3/16/21 2:28 PM, Markus Armbruster wrote: > Watch this: > > $ mkdir bld-tools > $ cd bld-tools > $ ../configure --disable-system --disable-user --enable-tools > $ make check > [...] > make: *** No rule to make target 'tests/qemu-iotests/socket_scm_helper', > needed by '

[PATCH v2 2/7] ui/vdagent: core infrastructure

2021-03-18 Thread Gerd Hoffmann
The vdagent protocol allows the guest agent (spice-vdagent) and the spice client exchange messages to implement features which require guest cooperation, for example clipboard support. This is a qemu implementation of the spice client side. This allows the spice guest agent talk to qemu directly

[PATCH v2 0/7] ui: add vdagent implementation and clipboard support.

2021-03-18 Thread Gerd Hoffmann
Fist sketch of cut+paste support for vnc. On the guest side we are going to reuse the spice vdagent, so things should work out-of-the-box with guests in the wild. So this patch set brings a qemu implemenation of the vdagent protocol. Beside that there is the clipboard infrastructure of course.

[PATCH v2 4/7] ui/vdagent: add clipboard support

2021-03-18 Thread Gerd Hoffmann
This patch adds support for clipboard messages to the qemu vdagent implementation, which allows the guest exchange clipboard data with qemu. Clipboard support can be enabled/disabled using the new 'clipboard' parameter for the vdagent chardev. Default is off. Signed-off-by: Gerd Hoffmann --- c

[PATCH v2 1/7] ui: add clipboard infrastructure

2021-03-18 Thread Gerd Hoffmann
Add some infrastructure to manage the clipboard in qemu. TODO: Add API docs. Signed-off-by: Gerd Hoffmann --- include/ui/clipboard.h | 68 +++ ui/clipboard.c | 92 ++ ui/meson.build | 1 + 3 files changed, 161

Re: [RFC v2 11/13] vhost: Shadow virtqueue buffers forwarding

2021-03-18 Thread Jason Wang
在 2021/3/18 下午4:06, Eugenio Perez Martin 写道: On Thu, Mar 18, 2021 at 4:14 AM Jason Wang wrote: 在 2021/3/17 下午10:38, Eugenio Perez Martin 写道: On Wed, Mar 17, 2021 at 3:51 AM Jason Wang wrote: 在 2021/3/17 上午12:05, Eugenio Perez Martin 写道: On Tue, Mar 16, 2021 at 9:15 AM Jason Wang wrote:

[PATCH v2 5/7] ui/vnc: clipboard support

2021-03-18 Thread Gerd Hoffmann
This patch adds support for cut+paste to the qemu vnc server, which allows the vnc client exchange clipbaord data with qemu and other peers like the qemu vdagent implementation. Signed-off-by: Gerd Hoffmann --- ui/vnc.h | 24 ui/vnc-clipboard.c | 323 +

Re: [RFC v2 05/13] vhost: Route guest->host notification through shadow virtqueue

2021-03-18 Thread Eugenio Perez Martin
On Thu, Mar 18, 2021 at 4:11 AM Jason Wang wrote: > > > 在 2021/3/18 上午12:47, Eugenio Perez Martin 写道: > > On Wed, Mar 17, 2021 at 3:05 AM Jason Wang wrote: > >> > >> 在 2021/3/16 下午6:31, Eugenio Perez Martin 写道: > >>> On Tue, Mar 16, 2021 at 8:18 AM Jason Wang wrote: > 在 2021/3/16 上午3:48, Eu

[PATCH v2 3/7] ui/vdagent: add mouse support

2021-03-18 Thread Gerd Hoffmann
This patch adds support for mouse messages to the vdagent implementation. This can be enabled/disabled using the new 'mouse' parameter for the vdagent chardev. Default is on. Signed-off-by: Gerd Hoffmann --- chardev/char.c | 3 ++ ui/vdagent.c | 141

[PATCH v2 6/7] ui/gtk: move struct GtkDisplayState to ui/gtk.h

2021-03-18 Thread Gerd Hoffmann
Want place gtk clipboard code in a separate C file, which in turn requires GtkDisplayState being in a header file. So move it. No functional change. Signed-off-by: Gerd Hoffmann --- include/ui/gtk.h | 57 ui/gtk.c | 55 --

Re: [PULL 5/5] m68k: add Virtual M68k Machine

2021-03-18 Thread Philippe Mathieu-Daudé
Hi Laurent, +Paolo / Thomas On 3/15/21 9:42 PM, Laurent Vivier wrote: > The machine is based on Goldfish interfaces defined by Google > for Android simulator. It uses Goldfish-rtc (timer and RTC), > Goldfish-pic (PIC) and Goldfish-tty (for serial port and early tty). > > The machine is created w

[PATCH v2 7/7] ui/gtk: add clipboard support

2021-03-18 Thread Gerd Hoffmann
This patch adds clipboard support to the qemu gtk ui. Signed-off-by: Gerd Hoffmann --- include/ui/gtk.h | 10 +++ ui/gtk-clipboard.c | 189 + ui/gtk.c | 1 + ui/meson.build | 2 +- 4 files changed, 201 insertions(+), 1 deletion(-)

[PULL 01/13] ui, monitor: remove deprecated VNC ACL option and HMP commands

2021-03-18 Thread Daniel P . Berrangé
The VNC ACL concept has been replaced by the pluggable "authz" framework which does not use monitor commands. Reviewed-by: Thomas Huth Reviewed-by: Dr. David Alan Gilbert Signed-off-by: Daniel P. Berrangé --- docs/system/deprecated.rst | 16 --- docs/system/removed-features.rst | 12 ++

[PULL v2 00/13] misc patches removing deprecated features

2021-03-18 Thread Daniel P . Berrangé
The following changes since commit 571d413b5da6bc6f1c2aaca8484717642255ddb0: Merge remote-tracking branch 'remotes/mcayland/tags/qemu-openbios-20210316' into staging (2021-03-17 21:02:37 +) are available in the Git repository at: https://gitlab.com/berrange/qemu tags/dep-many-pull-reque

[PULL 03/13] monitor: remove 'query-events' QMP command

2021-03-18 Thread Daniel P . Berrangé
The code comment suggests removing QAPIEvent_(str|lookup) symbols too, however, these are both auto-generated as standard for any enum in QAPI. As such it they'll exist whether we use them or not. Reviewed-by: Eric Blake Reviewed-by: Thomas Huth Signed-off-by: Daniel P. Berrangé --- docs/syste

[PULL 04/13] migrate: remove QMP/HMP commands for speed, downtime and cache size

2021-03-18 Thread Daniel P . Berrangé
The generic 'migrate_set_parameters' command handle all types of param. Only the QMP commands were documented in the deprecations page, but the rationale for deprecating applies equally to HMP, and the replacements exist. Furthermore the HMP commands are just shims to the QMP commands, so removing

[PULL 10/13] block: remove 'encryption_key_missing' flag from QAPI

2021-03-18 Thread Daniel P . Berrangé
This has been hardcoded to "false" since 2.10.0, since secrets required to unlock block devices are now always provided up front instead of using interactive prompts. Reviewed-by: Eric Blake Reviewed-by: Thomas Huth Signed-off-by: Daniel P. Berrangé --- block/qapi.c | 1 -

[PULL 02/13] monitor: raise error when 'pretty' option is used with HMP

2021-03-18 Thread Daniel P . Berrangé
This is only semantically useful for QMP. Reviewed-by: Dr. David Alan Gilbert Signed-off-by: Daniel P. Berrangé --- docs/system/deprecated.rst | 7 --- docs/system/removed-features.rst | 6 ++ monitor/monitor.c| 4 ++-- qemu-options.hx | 5 +++-- 4

[PULL 06/13] machine: remove 'arch' field from 'query-cpus-fast' QMP command

2021-03-18 Thread Daniel P . Berrangé
Reviewed-by: Thomas Huth Signed-off-by: Daniel P. Berrangé --- docs/system/deprecated.rst | 6 - docs/system/removed-features.rst | 6 + hw/core/machine-qmp-cmds.c | 41 qapi/machine.json| 22 - 4 files change

[PULL 05/13] machine: remove 'query-cpus' QMP command

2021-03-18 Thread Daniel P . Berrangé
The newer 'query-cpus-fast' command avoids side effects on the guest execution. Note that some of the field names are different in the 'query-cpus-fast' command. Reviewed-by: Wainer dos Santos Moschetta Tested-by: Wainer dos Santos Moschetta Signed-off-by: Daniel P. Berrangé --- docs/system/de

Re: [PATCH v2 0/7] ui: add vdagent implementation and clipboard support.

2021-03-18 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20210318091647.3233178-1-kra...@redhat.com/ Hi, This series seems to have some coding style problems. See output below for more information: Type: series Message-id: 20210318091647.3233178-1-kra...@redhat.com Subject: [PATCH v2 0/7] ui: add vdagent implem

[PULL 07/13] chardev: reject use of 'wait' flag for socket client chardevs

2021-03-18 Thread Daniel P . Berrangé
This only makes sense conceptually when used with listener chardevs. Reviewed-by: Marc-André Lureau Signed-off-by: Daniel P. Berrangé --- chardev/char-socket.c| 12 docs/system/deprecated.rst | 6 -- docs/system/removed-features.rst | 6 ++ 3 files chang

Re: [RFC v2 05/13] vhost: Route guest->host notification through shadow virtqueue

2021-03-18 Thread Jason Wang
在 2021/3/18 下午5:18, Eugenio Perez Martin 写道: On Thu, Mar 18, 2021 at 4:11 AM Jason Wang wrote: 在 2021/3/18 上午12:47, Eugenio Perez Martin 写道: On Wed, Mar 17, 2021 at 3:05 AM Jason Wang wrote: 在 2021/3/16 下午6:31, Eugenio Perez Martin 写道: On Tue, Mar 16, 2021 at 8:18 AM Jason Wang wrote:

[PULL 12/13] block: remove 'dirty-bitmaps' field from 'BlockInfo' struct

2021-03-18 Thread Daniel P . Berrangé
The same data is available in the 'BlockDeviceInfo' struct. Reviewed-by: Vladimir Sementsov-Ogievskiy Signed-off-by: Daniel P. Berrangé --- block/qapi.c| 5 - docs/system/deprecated.rst | 13 - docs/system/removed

[PULL 13/13] block: remove support for using "file" driver with block/char devices

2021-03-18 Thread Daniel P . Berrangé
The 'host_device' and 'host_cdrom' drivers must be used instead. Reviewed-by: Eric Blake Signed-off-by: Daniel P. Berrangé --- block/file-posix.c | 17 ++--- docs/system/deprecated.rst | 7 --- docs/system/removed-features.rst | 7 +++ tests/qemu-iotest

[PULL 08/13] hw/ide: remove 'ide-drive' device

2021-03-18 Thread Daniel P . Berrangé
The 'ide-hd' and 'ide-cd' devices provide suitable alternatives. Reviewed-by: Thomas Huth Signed-off-by: Daniel P. Berrangé --- docs/qdev-device-use.txt | 2 +- docs/system/deprecated.rst | 6 - docs/system/removed-features.rst | 8 +++ hw/i386/pc.c

[PULL 09/13] hw/scsi: remove 'scsi-disk' device

2021-03-18 Thread Daniel P . Berrangé
The 'scsi-hd' and 'scsi-cd' devices provide suitable alternatives. Reviewed-by: Thomas Huth Signed-off-by: Daniel P. Berrangé --- docs/system/deprecated.rst | 9 - docs/system/removed-features.rst | 6 hw/i386/pc.c | 1 - hw/scsi/scsi-disk.c |

The windows guest can't bootup

2021-03-18 Thread Yang Zhong
Hello, I synced today qemu code, and found the qemu can't bootup the windows guest. This issue was caused by commit id 39205528 and revert this patch, the windows guest can bootup. qemu-system-x86_64: ../accel/kvm/kvm-all.c:690: kvm_log_clear_one_slot: Assertion `(((start | size) % (psize)) == 0

Re: Serious doubts about Gitlab CI

2021-03-18 Thread Daniel P . Berrangé
On Wed, Mar 17, 2021 at 09:29:32PM +0100, Philippe Mathieu-Daudé wrote: > Hi, > > For some (unclear) reason I got my free tier Gitlab account renewed and > lost the privilege for users opening account before the quota limit. > > I pushed a single branch to my namespace repo to trigger a pipeline.

[PULL 11/13] block: remove dirty bitmaps 'status' field

2021-03-18 Thread Daniel P . Berrangé
The same information is available via the 'recording' and 'busy' fields. Reviewed-by: Vladimir Sementsov-Ogievskiy Signed-off-by: Daniel P. Berrangé --- block/dirty-bitmap.c | 38 docs/system/deprecated.rst | 7 - docs/system/removed-features.rst | 7 + include/block

[Bug 1880518] Re: issue while installing docker inside s390x container

2021-03-18 Thread Nayana
Yes we have observed the issue with multiarch/qemu-user-static image v5.2.0-1 and 5.2.0-2 -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1880518 Title: issue while installing docker inside s390x con

Re: [PATCH 0/2] *** This is based on pull request from Alex Bennée ***

2021-03-18 Thread Yonggang Luo
On Thu, Mar 18, 2021 at 8:50 AM Markus Armbruster wrote: > > Please use the subject line for explaining the purpose of the series. > "Based on" information should go into the body. Ideally also in > machine-readable form, like > > Based-on: <20171220185924.32756-1-arm...@redhat.com> > > where

Re: [PULL v3 00/42] Block layer patches and object-add QAPIfication

2021-03-18 Thread Kevin Wolf
Am 17.03.2021 um 22:01 hat Peter Maydell geschrieben: > On Tue, 16 Mar 2021 at 18:12, Kevin Wolf wrote: > > > > The following changes since commit 6e31b3a5c34c6e5be7ef60773e607f189eaa15f3: > > > > Merge remote-tracking branch 'remotes/jasowang/tags/net-pull-request' > > into staging (2021-03-16

Re: [PATCH v2 3/3] target/arm: Restrict v7A TCG cpus to TCG accel

2021-03-18 Thread Philippe Mathieu-Daudé
Hi Peter, On 3/11/21 11:43 AM, Claudio Fontana wrote: > On 2/21/21 11:26 PM, Philippe Mathieu-Daudé wrote: >> KVM requires the target cpu to be at least ARMv8 architecture >> (support on ARMv7 has been dropped in commit 82bf7ae84ce: >> "target/arm: Remove KVM support for 32-bit Arm hosts"). >> >>

[PULL v4 00/42] Block layer patches and object-add QAPIfication

2021-03-18 Thread Kevin Wolf
The following changes since commit 571d413b5da6bc6f1c2aaca8484717642255ddb0: Merge remote-tracking branch 'remotes/mcayland/tags/qemu-openbios-20210316' into staging (2021-03-17 21:02:37 +) are available in the Git repository at: git://repo.or.cz/qemu/kevin.git tags/for-upstream for yo

RE: The windows guest can't bootup

2021-03-18 Thread zhukeqian
Hi, Yep. It is known issue. Paolo will revert it. Thanks. Hello, I synced today qemu code, and found the qemu can't bootup the windows guest. This issue was caused by commit id 39205528 and revert this patch, the windows guest can bootup. qemu-system-x86_64: ../accel/kvm/kvm-all.c:690:

Re: Serious doubts about Gitlab CI

2021-03-18 Thread Philippe Mathieu-Daudé
On 3/18/21 10:33 AM, Daniel P. Berrangé wrote: > On Wed, Mar 17, 2021 at 09:29:32PM +0100, Philippe Mathieu-Daudé wrote: >> Hi, >> >> For some (unclear) reason I got my free tier Gitlab account renewed and >> lost the privilege for users opening account before the quota limit. >> >> I pushed a sing

Re: [PULL 5/5] m68k: add Virtual M68k Machine

2021-03-18 Thread Laurent Vivier
Le 18/03/2021 à 10:19, Philippe Mathieu-Daudé a écrit : > Hi Laurent, > > +Paolo / Thomas > > On 3/15/21 9:42 PM, Laurent Vivier wrote: >> The machine is based on Goldfish interfaces defined by Google >> for Android simulator. It uses Goldfish-rtc (timer and RTC), >> Goldfish-pic (PIC) and Goldfi

Re: of AVR target page size

2021-03-18 Thread Dr. David Alan Gilbert
* Michael Rolnik (mrol...@gmail.com) wrote: > Hi Dave. > > What is the smallest supported page size? Currently 512 I think; in migration/ram.c we have: #define RAM_SAVE_FLAG_FULL 0x01 /* Obsolete, not used anymore */ #define RAM_SAVE_FLAG_ZERO 0x02 #define RAM_SAVE_FLAG_MEM_SIZE 0x04 #de

Re: [RFC v2 11/13] vhost: Shadow virtqueue buffers forwarding

2021-03-18 Thread Eugenio Perez Martin
On Thu, Mar 18, 2021 at 10:22 AM Jason Wang wrote: > > > 在 2021/3/18 下午4:06, Eugenio Perez Martin 写道: > > On Thu, Mar 18, 2021 at 4:14 AM Jason Wang wrote: > >> > >> 在 2021/3/17 下午10:38, Eugenio Perez Martin 写道: > >>> On Wed, Mar 17, 2021 at 3:51 AM Jason Wang wrote: > 在 2021/3/17 上午12:05,

Re: [PATCH v2 3/3] target/arm: Restrict v7A TCG cpus to TCG accel

2021-03-18 Thread Claudio Fontana
On 3/18/21 10:47 AM, Philippe Mathieu-Daudé wrote: > Hi Peter, > > On 3/11/21 11:43 AM, Claudio Fontana wrote: >> On 2/21/21 11:26 PM, Philippe Mathieu-Daudé wrote: >>> KVM requires the target cpu to be at least ARMv8 architecture >>> (support on ARMv7 has been dropped in commit 82bf7ae84ce: >>> "

Re: [PATCH 2/2] qemu-img: align next status sector on destination alignment.

2021-03-18 Thread Maxim Levitsky
On Thu, 2020-11-12 at 17:04 +0200, Maxim Levitsky wrote: > On Thu, 2020-11-12 at 07:45 -0600, Eric Blake wrote: > > On 11/12/20 6:40 AM, Peter Lieven wrote: > > > > > > /* > > > > - * Avoid that s->sector_next_status becomes unaligned to the > > > > source > > > > - * req

Re: [PULL 5/5] m68k: add Virtual M68k Machine

2021-03-18 Thread Philippe Mathieu-Daudé
On 3/18/21 10:52 AM, Laurent Vivier wrote: > Le 18/03/2021 à 10:19, Philippe Mathieu-Daudé a écrit : >> Hi Laurent, >> >> +Paolo / Thomas >> >> On 3/15/21 9:42 PM, Laurent Vivier wrote: >>> The machine is based on Goldfish interfaces defined by Google >>> for Android simulator. It uses Goldfish-rtc

Re: "make check" broken with everything but tools disabled

2021-03-18 Thread Paolo Bonzini
On 18/03/21 10:16, Claudio Fontana wrote: my experience with the new build system (meson-based), is that I have to do: make first, and then make check later, or bugs start happening This shouldn't be needed. Paolo

Re: [PULL 00/16] Fuzzing + bugfix patches for QEMU 6.0 soft freeze

2021-03-18 Thread Peter Maydell
On Tue, 16 Mar 2021 at 21:18, Paolo Bonzini wrote: > > The following changes since commit 6e31b3a5c34c6e5be7ef60773e607f189eaa15f3: > > Merge remote-tracking branch 'remotes/jasowang/tags/net-pull-request' into > staging (2021-03-16 10:53:47 +) > > are available in the Git repository at: >

Re: [PULL 5/5] m68k: add Virtual M68k Machine

2021-03-18 Thread Laurent Vivier
Le 18/03/2021 à 11:02, Philippe Mathieu-Daudé a écrit : > On 3/18/21 10:52 AM, Laurent Vivier wrote: >> Le 18/03/2021 à 10:19, Philippe Mathieu-Daudé a écrit : >>> Hi Laurent, >>> >>> +Paolo / Thomas >>> >>> On 3/15/21 9:42 PM, Laurent Vivier wrote: The machine is based on Goldfish interfaces

Re: iotests failing on gitlab CI check-system-fedora job

2021-03-18 Thread Peter Maydell
On Wed, 17 Mar 2021 at 23:26, Paolo Bonzini wrote: > > On 17/03/21 23:23, Peter Maydell wrote: > > The check-system-fedora job in the gitlab CI seems to have > > started reliably failing on iotests 040 041 127 256 267: > > https://gitlab.com/qemu-project/qemu/-/jobs/1106977551 > > > > Could some

[PATCH] tools/virtiofsd: include --socket-group in help

2021-03-18 Thread Alex Bennée
I confused myself wandering if this had been merged by looking at the help output. It seems fuse_opt doesn't automagically add to help output so lets do it now. Updates: f6698f2b03 ("tools/virtiofsd: add support for --socket-group") Signed-off-by: Alex Bennée --- tools/virtiofsd/fuse_lowlevel.c

[Bug 1879531] Re: Stack-overflow in _eth_get_rss_ex_dst_addr

2021-03-18 Thread Paolo Bonzini
Updated version: https://www.mail-archive.com/qemu- de...@nongnu.org/msg789998.html -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1879531 Title: Stack-overflow in _eth_get_rss_ex_dst_addr Status i

Re: of AVR target page size

2021-03-18 Thread Michael Rolnik
ok. I will try to fix it. Regards, Michael Rolnik On Thu, Mar 18, 2021 at 11:55 AM Dr. David Alan Gilbert wrote: > * Michael Rolnik (mrol...@gmail.com) wrote: > > Hi Dave. > > > > What is the smallest supported page size? > > Currently 512 I think; in migration/ram.c we have: > > #define RAM_SA

Re: of AVR target page size

2021-03-18 Thread Dr. David Alan Gilbert
* Peter Maydell (peter.mayd...@linaro.org) wrote: > On Wed, 17 Mar 2021 at 20:17, Dr. David Alan Gilbert > wrote: > > > > Hi Michael, > > I noticed your AVR code defines: > > > > #define TARGET_PAGE_BITS 8 > > > > and has an explanation of why. > > > > Note however that's not going to work wit

Re: of AVR target page size

2021-03-18 Thread Dr. David Alan Gilbert
* Michael Rolnik (mrol...@gmail.com) wrote: > ok. I will try to fix it. Thanks, if you can that would be great. Dave > Regards, > Michael Rolnik > > On Thu, Mar 18, 2021 at 11:55 AM Dr. David Alan Gilbert > wrote: > > > * Michael Rolnik (mrol...@gmail.com) wrote: > > > Hi Dave. > > > > > > Wh

Re: of AVR target page size

2021-03-18 Thread Peter Maydell
On Thu, 18 Mar 2021 at 10:18, Dr. David Alan Gilbert wrote: > diff --git a/migration/ram.c b/migration/ram.c > index 1ee7ff9c6d..f053d45f3c 100644 > --- a/migration/ram.c > +++ b/migration/ram.c > @@ -81,6 +81,8 @@ > /* 0x80 is reserved in migration.h start with 0x100 next */ > #define RAM_SAVE_

Re: [PATCH v2 3/7] ui/vdagent: add mouse support

2021-03-18 Thread Marc-André Lureau
Hi On Thu, Mar 18, 2021 at 1:22 PM Gerd Hoffmann wrote: > This patch adds support for mouse messages to the vdagent > implementation. This can be enabled/disabled using the new > 'mouse' parameter for the vdagent chardev. Default is on. > > Signed-off-by: Gerd Hoffmann > --- > chardev/char.c

Re: of AVR target page size

2021-03-18 Thread Dr. David Alan Gilbert
* Peter Maydell (peter.mayd...@linaro.org) wrote: > On Thu, 18 Mar 2021 at 10:18, Dr. David Alan Gilbert > wrote: > > diff --git a/migration/ram.c b/migration/ram.c > > index 1ee7ff9c6d..f053d45f3c 100644 > > --- a/migration/ram.c > > +++ b/migration/ram.c > > @@ -81,6 +81,8 @@ > > /* 0x80 is res

Re: Serious doubts about Gitlab CI

2021-03-18 Thread Philippe Mathieu-Daudé
On 3/18/21 10:50 AM, Philippe Mathieu-Daudé wrote: > On 3/18/21 10:33 AM, Daniel P. Berrangé wrote: >> On Wed, Mar 17, 2021 at 09:29:32PM +0100, Philippe Mathieu-Daudé wrote: >>> Hi, >>> >>> For some (unclear) reason I got my free tier Gitlab account renewed and >>> lost the privilege for users ope

Re: [PATCH v2 2/7] ui/vdagent: core infrastructure

2021-03-18 Thread Marc-André Lureau
On Thu, Mar 18, 2021 at 1:17 PM Gerd Hoffmann wrote: > The vdagent protocol allows the guest agent (spice-vdagent) and the > spice client exchange messages to implement features which require > guest cooperation, for example clipboard support. > > This is a qemu implementation of the spice client

Re: of AVR target page size

2021-03-18 Thread Peter Maydell
On Thu, 18 Mar 2021 at 10:25, Dr. David Alan Gilbert wrote: > Oh yes, just: > > diff --git a/migration/ram.c b/migration/ram.c > index 52537f14ac..a7269955b5 100644 > --- a/migration/ram.c > +++ b/migration/ram.c > @@ -81,6 +81,8 @@ > /* 0x80 is reserved in migration.h start with 0x100 next */ >

Re: [PULL 5/5] m68k: add Virtual M68k Machine

2021-03-18 Thread Paolo Bonzini
On 18/03/21 11:06, Laurent Vivier wrote: This also removes the virtio-devices test, I think we should keep the files, but in the files to disable the PCI part when it is not available. I think we should just shuffle the targets in the gitlab YAML to bypass the issue. Paolo

Re: iotests failing on gitlab CI check-system-fedora job

2021-03-18 Thread Paolo Bonzini
On 18/03/21 11:07, Peter Maydell wrote: On Wed, 17 Mar 2021 at 23:26, Paolo Bonzini wrote: On 17/03/21 23:23, Peter Maydell wrote: The check-system-fedora job in the gitlab CI seems to have started reliably failing on iotests 040 041 127 256 267: https://gitlab.com/qemu-project/qemu/-/jobs

Re: [PULL 5/5] m68k: add Virtual M68k Machine

2021-03-18 Thread Peter Maydell
On Thu, 18 Mar 2021 at 10:37, Paolo Bonzini wrote: > > On 18/03/21 11:06, Laurent Vivier wrote: > > This also removes the virtio-devices test, I think we should keep the > > files, but in the files to disable the PCI part when it is not > > available. > > I think we should just shuffle the targets

Re: [PULL 5/5] m68k: add Virtual M68k Machine

2021-03-18 Thread Paolo Bonzini
On 18/03/21 11:40, Peter Maydell wrote: On Thu, 18 Mar 2021 at 10:37, Paolo Bonzini wrote: On 18/03/21 11:06, Laurent Vivier wrote: This also removes the virtio-devices test, I think we should keep the files, but in the files to disable the PCI part when it is not available. I think we shou

Re: [RFC v9 38/50] target/arm: move kvm cpu properties setting to kvm-cpu

2021-03-18 Thread Claudio Fontana
On 3/17/21 7:30 PM, Claudio Fontana wrote: > Signed-off-by: Claudio Fontana > --- > target/arm/cpu.c | 4 > target/arm/kvm/kvm-cpu.c | 1 + > 2 files changed, 1 insertion(+), 4 deletions(-) > > diff --git a/target/arm/cpu.c b/target/arm/cpu.c > index 3d6501c2c5..ac01fa0bae 100644 >

Re: of AVR target page size

2021-03-18 Thread Dr. David Alan Gilbert
* Peter Maydell (peter.mayd...@linaro.org) wrote: > On Thu, 18 Mar 2021 at 10:25, Dr. David Alan Gilbert > wrote: > > Oh yes, just: > > > > diff --git a/migration/ram.c b/migration/ram.c > > index 52537f14ac..a7269955b5 100644 > > --- a/migration/ram.c > > +++ b/migration/ram.c > > @@ -81,6 +81,8

Re: [PATCH v2 3/3] target/arm: Restrict v7A TCG cpus to TCG accel

2021-03-18 Thread Philippe Mathieu-Daudé
On 3/18/21 10:56 AM, Claudio Fontana wrote: > On 3/18/21 10:47 AM, Philippe Mathieu-Daudé wrote: >> Hi Peter, >> >> On 3/11/21 11:43 AM, Claudio Fontana wrote: >>> On 2/21/21 11:26 PM, Philippe Mathieu-Daudé wrote: KVM requires the target cpu to be at least ARMv8 architecture (support on

Re: Can not use hmp block_resize command with -blockdev option

2021-03-18 Thread Kevin Wolf
Am 17.03.2021 um 23:49 hat John Snow geschrieben: > On 3/16/21 11:43 PM, zhao xiaojun wrote: > > Hi, > > I use -blockdev option to specify a drive when qemu boot and i want to > > resize it with hmp block_resize command. The hmp block_resize comand's > > arguments: block_resize device new_size. > >

Re: [RFC v2 05/13] vhost: Route guest->host notification through shadow virtqueue

2021-03-18 Thread Eugenio Perez Martin
On Thu, Mar 18, 2021 at 10:29 AM Jason Wang wrote: > > > 在 2021/3/18 下午5:18, Eugenio Perez Martin 写道: > > On Thu, Mar 18, 2021 at 4:11 AM Jason Wang wrote: > >> > >> 在 2021/3/18 上午12:47, Eugenio Perez Martin 写道: > >>> On Wed, Mar 17, 2021 at 3:05 AM Jason Wang wrote: > 在 2021/3/16 下午6:31, E

Re: [PATCH v2 7/7] ui/gtk: add clipboard support

2021-03-18 Thread Marc-André Lureau
Hi On Thu, Mar 18, 2021 at 1:25 PM Gerd Hoffmann wrote: > This patch adds clipboard support to the qemu gtk ui. > > Signed-off-by: Gerd Hoffmann > --- > include/ui/gtk.h | 10 +++ > ui/gtk-clipboard.c | 189 + > ui/gtk.c | 1 + > ui/me

Re: of AVR target page size

2021-03-18 Thread Michael Rolnik
how do I test my fix? Is there a procedure? Thanks, Michael Rolnik On Thu, Mar 18, 2021 at 12:45 PM Dr. David Alan Gilbert wrote: > * Peter Maydell (peter.mayd...@linaro.org) wrote: > > On Thu, 18 Mar 2021 at 10:25, Dr. David Alan Gilbert > > wrote: > > > Oh yes, just: > > > > > > diff --git a

arm_cpu_post_init (Was: Re: arm: "max" CPU class hierarchy changes possible?)

2021-03-18 Thread Claudio Fontana
On 3/11/21 8:10 PM, Andrew Jones wrote: > On Thu, Mar 11, 2021 at 06:33:15PM +, Peter Maydell wrote: >> On Thu, 11 Mar 2021 at 17:16, Claudio Fontana wrote: >>> Maybe Peter you could clarify similarly what the intended meaning of "max" >>> is on ARM? >> >> "max" is "best we can do, whatever t

Re: [PATCH v2 3/3] target/arm: Restrict v7A TCG cpus to TCG accel

2021-03-18 Thread Philippe Mathieu-Daudé
On 3/18/21 11:47 AM, Philippe Mathieu-Daudé wrote: > On 3/18/21 10:56 AM, Claudio Fontana wrote: >> On 3/18/21 10:47 AM, Philippe Mathieu-Daudé wrote: >>> Hi Peter, >>> >>> On 3/11/21 11:43 AM, Claudio Fontana wrote: On 2/21/21 11:26 PM, Philippe Mathieu-Daudé wrote: > KVM requires the tar

Re: [PULL 5/5] m68k: add Virtual M68k Machine

2021-03-18 Thread Peter Maydell
On Thu, 18 Mar 2021 at 10:45, Paolo Bonzini wrote: > > On 18/03/21 11:40, Peter Maydell wrote: > > On Thu, 18 Mar 2021 at 10:37, Paolo Bonzini wrote: > >> > >> On 18/03/21 11:06, Laurent Vivier wrote: > >>> This also removes the virtio-devices test, I think we should keep the > >>> files, but in

[Bug 1880518] Re: issue while installing docker inside s390x container

2021-03-18 Thread Nayana
docker not starting inside s390x container. Log shows: Error starting daemon: Error initializing network controller: error obtaining controller instance: failed to create NAT chain DOCKER: iptables failed: iptables -t nat -N DOCKER: iptables v1.6.1: can't initialize iptables table `nat': iptabl

Re: of AVR target page size

2021-03-18 Thread Peter Maydell
On Thu, 18 Mar 2021 at 10:45, Dr. David Alan Gilbert wrote: > > * Peter Maydell (peter.mayd...@linaro.org) wrote: > > Also, what does the > > /* 0x80 is reserved in migration.h start with 0x100 next */ > > comment refer to? migration.h has no instances of "RAM_SAVE" > > or 0x80 or 1 << 7... > > I

Re: [PULL 0/7] Q800 for 6.0 patches

2021-03-18 Thread Peter Maydell
On Tue, 16 Mar 2021 at 21:27, Laurent Vivier wrote: > > The following changes since commit 6e31b3a5c34c6e5be7ef60773e607f189eaa15f3: > > Merge remote-tracking branch 'remotes/jasowang/tags/net-pull-request' into = > staging (2021-03-16 10:53:47 +) > > are available in the Git repository at:

Re: [PULL 5/5] m68k: add Virtual M68k Machine

2021-03-18 Thread Philippe Mathieu-Daudé
On 3/18/21 12:10 PM, Peter Maydell wrote: > On Thu, 18 Mar 2021 at 10:45, Paolo Bonzini wrote: >> >> On 18/03/21 11:40, Peter Maydell wrote: >>> On Thu, 18 Mar 2021 at 10:37, Paolo Bonzini wrote: On 18/03/21 11:06, Laurent Vivier wrote: > This also removes the virtio-devices test, I

Re: [PATCH v2 3/3] target/arm: Restrict v7A TCG cpus to TCG accel

2021-03-18 Thread Peter Maydell
On Thu, 18 Mar 2021 at 11:09, Philippe Mathieu-Daudé wrote: > Still, I'm not sure it makes sense. If you want to migrate a such > machine, KVM can not virtualize it, so you'll be forced to use TCG > right? In that case cpu_tcg is built in and you have the A15. > > IOW the problem is not this patch

Re: [PULL 00/11] emulated nvme updates and fixes

2021-03-18 Thread Peter Maydell
On Tue, 16 Mar 2021 at 21:47, Klaus Jensen wrote: > > From: Klaus Jensen > > Hi Peter, > > The following changes since commit 6e31b3a5c34c6e5be7ef60773e607f189eaa15f3: > > Merge remote-tracking branch 'remotes/jasowang/tags/net-pull-request' into > staging (2021-03-16 10:53:47 +) > > are a

Re: [PULL 00/11] emulated nvme updates and fixes

2021-03-18 Thread Peter Maydell
On Thu, 18 Mar 2021 at 11:27, Klaus Jensen wrote: > > On Mar 18 11:26, Peter Maydell wrote: > > On Tue, 16 Mar 2021 at 21:47, Klaus Jensen wrote: > > Hi. This tag includes a submodule update which is not mentioned > > in the cover letter or listed in the cover letter diffstat: > > > > roms/opens

Re: [PULL 00/11] emulated nvme updates and fixes

2021-03-18 Thread Klaus Jensen
On Mar 18 11:26, Peter Maydell wrote: > On Tue, 16 Mar 2021 at 21:47, Klaus Jensen wrote: > > > > From: Klaus Jensen > > > > Hi Peter, > > > > The following changes since commit 6e31b3a5c34c6e5be7ef60773e607f189eaa15f3: > > > > Merge remote-tracking branch 'remotes/jasowang/tags/net-pull-reques

Re: [PATCH v2 3/3] target/arm: Restrict v7A TCG cpus to TCG accel

2021-03-18 Thread Philippe Mathieu-Daudé
On 3/18/21 12:21 PM, Peter Maydell wrote: > On Thu, 18 Mar 2021 at 11:09, Philippe Mathieu-Daudé > wrote: >> Still, I'm not sure it makes sense. If you want to migrate a such >> machine, KVM can not virtualize it, so you'll be forced to use TCG >> right? In that case cpu_tcg is built in and you h

Re: arm_cpu_post_init (Was: Re: arm: "max" CPU class hierarchy changes possible?)

2021-03-18 Thread Claudio Fontana
On 3/18/21 12:06 PM, Claudio Fontana wrote: > On 3/11/21 8:10 PM, Andrew Jones wrote: >> On Thu, Mar 11, 2021 at 06:33:15PM +, Peter Maydell wrote: >>> On Thu, 11 Mar 2021 at 17:16, Claudio Fontana wrote: Maybe Peter you could clarify similarly what the intended meaning of "max" is

Re: [RFC PATCH 1/2] modules: introduce target specific modules

2021-03-18 Thread Philippe Mathieu-Daudé
Hi Halil, On 3/16/21 1:26 PM, Halil Pasic wrote: > After some back-and-forth in [1] Daniel suggested that > we could/should make qemu modules per-target by introducing a > dedicated modules directory for each target, which can symlink the > modules that do work with and do make sense for the given

Re: [PATCH v2 3/3] target/arm: Restrict v7A TCG cpus to TCG accel

2021-03-18 Thread Peter Maydell
On Thu, 18 Mar 2021 at 11:31, Philippe Mathieu-Daudé wrote: > I tend to agree. The problem is for the running VMs started before > 82bf7ae84ce (so up to any fork based on v5.2). I don't know what > the forks are supposed to do with the running VMs if they want to > migrate them to newer QEMU (or u

[PULL v2 00/11] emulated nvme updates and fixes

2021-03-18 Thread Klaus Jensen
From: Klaus Jensen Hi Peter, The following changes since commit b12498fc575f2ad30f09fe78badc7fef526e2d76: Merge remote-tracking branch 'remotes/vivier/tags/q800-for-6.0-pull-request' into staging (2021-03-18 10:05:37 +) are available in the Git repository at: git://git.infradead.org/

Re: [External] Re: [RFC PATCH 0/9] Support for Virtio-fs daemon crash reconnection

2021-03-18 Thread Christian Schoenebeck
On Mittwoch, 17. März 2021 13:57:47 CET Jiachen Zhang wrote: > On Wed, Mar 17, 2021 at 7:50 PM Christian Schoenebeck < > > qemu_...@crudebyte.com> wrote: > > On Mittwoch, 17. März 2021 11:05:32 CET Stefan Hajnoczi wrote: > > > On Fri, Dec 18, 2020 at 05:39:34PM +0800, Jiachen Zhang wrote: > > > >

Re: [PULL v2 00/11] emulated nvme updates and fixes

2021-03-18 Thread Klaus Jensen
On Mar 18 12:57, Klaus Jensen wrote: > From: Klaus Jensen > > Hi Peter, > > The following changes since commit b12498fc575f2ad30f09fe78badc7fef526e2d76: > > Merge remote-tracking branch > 'remotes/vivier/tags/q800-for-6.0-pull-request' into staging (2021-03-18 > 10:05:37 +) > > are ava

Re: [PULL 00/11] emulated nvme updates and fixes

2021-03-18 Thread Klaus Jensen
On Mar 18 11:28, Peter Maydell wrote: > On Thu, 18 Mar 2021 at 11:27, Klaus Jensen wrote: > > > > On Mar 18 11:26, Peter Maydell wrote: > > > On Tue, 16 Mar 2021 at 21:47, Klaus Jensen wrote: > > > Hi. This tag includes a submodule update which is not mentioned > > > in the cover letter or listed

Re: [RFC v2 05/13] vhost: Route guest->host notification through shadow virtqueue

2021-03-18 Thread Eugenio Perez Martin
On Thu, Mar 18, 2021 at 11:48 AM Eugenio Perez Martin wrote: > > On Thu, Mar 18, 2021 at 10:29 AM Jason Wang wrote: > > > > > > 在 2021/3/18 下午5:18, Eugenio Perez Martin 写道: > > > On Thu, Mar 18, 2021 at 4:11 AM Jason Wang wrote: > > >> > > >> 在 2021/3/18 上午12:47, Eugenio Perez Martin 写道: > > >>>

  1   2   3   4   >