Re: [PULL 00/39] Migration 20231024 patches

2023-10-25 Thread Stefan Hajnoczi
On Tue, 24 Oct 2023 at 23:45, Juan Quintela wrote: > > The following changes since commit a95260486aa7e78d7c7194eba65cf03311ad94ad: > > Merge tag 'pull-tcg-20231023' of https://gitlab.com/rth7680/qemu into > staging (2023-10-23 14:45:46 -0700) > > are available in the Git repository at: > > h

Re: [RFC 5/6] migration: Deprecate block migration

2023-06-21 Thread Stefan Hajnoczi
On Mon, Jun 12, 2023 at 09:33:43PM +0200, Juan Quintela wrote: > It is obsolete. It is better to use driver_mirror+NBD instead. > > CC: Kevin Wolf > CC: Eric Blake > CC: Stefan Hajnoczi > CC: Hanna Czenczek > > Signed-off-by: Juan Quintela > > --- > >

[PULL v2 05/11] docs/deprecated: move QMP events bellow QMP command section

2023-06-01 Thread Stefan Hajnoczi
From: Alex Bennée Also rename the section to make the fact this is part of the management protocol even clearer. Suggested-by: Markus Armbruster Signed-off-by: Alex Bennée Message-id: 20230526165401.574474-6-alex.ben...@linaro.org Signed-off-by: Stefan Hajnoczi --- docs/about/deprecated.rst

[PULL v2 03/11] trace: remove vcpu_id from the TraceEvent structure

2023-06-01 Thread Stefan Hajnoczi
From: Alex Bennée This does involve temporarily stubbing out some helper functions before we excise the rest of the code. Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Stefan Hajnoczi Reviewed-by: Richard Henderson Signed-off-by: Alex Bennée Message-id: 20230526165401.574474-4-alex.ben

[PULL v2 08/11] trace: remove control-vcpu.h

2023-06-01 Thread Stefan Hajnoczi
From: Alex Bennée Now we no longer have vcpu controlled trace events we can excise the code that allows us to query its status. Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Stefan Hajnoczi Reviewed-by: Richard Henderson Signed-off-by: Alex Bennée Message-id: 20230526165401.574474-9

[PULL v2 07/11] trace: remove code that depends on setting vcpu

2023-06-01 Thread Stefan Hajnoczi
From: Alex Bennée Now we no longer have any events that are for vcpus we can start excising the code from the trace control. As the vcpu parameter is encoded as part of QMP we just stub out the has_vcpu/vcpu parameters rather than alter the API. Reviewed-by: Stefan Hajnoczi Reviewed-by

[PULL v2 09/11] tcg: remove the final vestiges of dstate

2023-06-01 Thread Stefan Hajnoczi
uns Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1358 Reviewed-by: Stefan Hajnoczi Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Alex Bennée Message-id: 20230526165401.574474-10-alex.ben...@linaro.org Message-Id: <20230524133952.3971948-9-alex.ben...@li

[PULL v2 10/11] hw/9pfs: use qemu_xxhash4

2023-06-01 Thread Stefan Hajnoczi
From: Alex Bennée No need to pass zeros as we have helpers that do that for us. Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Christian Schoenebeck Reviewed-by: Stefan Hajnoczi Reviewed-by: Richard Henderson Signed-off-by: Alex Bennée Message-id: 20230526165401.574474-11-alex.ben

[PULL v2 11/11] accel/tcg: include cs_base in our hash calculations

2023-06-01 Thread Stefan Hajnoczi
e (min … max): 60.285 s … 66.868 s10 runs Signed-off-by: Alex Bennée Reviewed-by: Richard Henderson Message-id: 20230526165401.574474-12-alex.ben...@linaro.org Message-Id: <20230524133952.3971948-11-alex.ben...@linaro.org> Signed-off-by: Stefan Hajnoczi --- accel/tcg/tb-hash.h | 4 ++--

[PULL v2 06/11] qapi: make the vcpu parameters deprecated for 8.1

2023-06-01 Thread Stefan Hajnoczi
From: Alex Bennée I don't think I can remove the parameters directly but certainly mark them as deprecated. Reviewed-by: Stefan Hajnoczi Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Alex Bennée Message-id: 20230526165401.574474-7-alex.ben...@linar

[PULL v2 02/11] trace-events: remove the remaining vcpu trace events

2023-06-01 Thread Stefan Hajnoczi
From: Alex Bennée While these are all in helper functions being designated vcpu events complicates the removal of the dynamic vcpu state code. TCG plugins allow you to instrument vcpu_[init|exit|idle]. We rename cpu_reset and make it a normal trace point. Reviewed-by: Stefan Hajnoczi Reviewed

[PULL v2 04/11] scripts/qapi: document the tool that generated the file

2023-06-01 Thread Stefan Hajnoczi
From: Alex Bennée This makes it a little easier for developers to find where things where being generated. Reviewed-by: Richard Henderson Reviewed-by: Stefan Hajnoczi Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Markus Armbruster Signed-off-by: Alex Bennée Message-id

[PULL v2 00/11] Tracing patches

2023-06-01 Thread Stefan Hajnoczi
The following changes since commit c6a5fc2ac76c5ab709896ee1b0edd33685a67ed1: decodetree: Add --output-null for meson testing (2023-05-31 19:56:42 -0700) are available in the Git repository at: https://gitlab.com/stefanha/qemu.git tags/tracing-pull-request for you to fetch changes up to 3671

[PULL v2 01/11] *-user: remove the guest_user_syscall tracepoints

2023-06-01 Thread Stefan Hajnoczi
From: Alex Bennée This is pure duplication now. Both bsd-user and linux-user have builtin strace support and we can also track syscalls via the plugins system. Reviewed-by: Warner Losh Reviewed-by: Stefan Hajnoczi Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Signed-off

[PULL 02/11] trace-events: remove the remaining vcpu trace events

2023-05-31 Thread Stefan Hajnoczi
From: Alex Bennée While these are all in helper functions being designated vcpu events complicates the removal of the dynamic vcpu state code. TCG plugins allow you to instrument vcpu_[init|exit|idle]. We rename cpu_reset and make it a normal trace point. Reviewed-by: Stefan Hajnoczi Reviewed

[PULL 09/11] tcg: remove the final vestiges of dstate

2023-05-31 Thread Stefan Hajnoczi
uns Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1358 Reviewed-by: Stefan Hajnoczi Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Alex Bennée Message-id: 20230526165401.574474-10-alex.ben...@linaro.org Message-Id: <20230524133952.3971948-9-alex.ben...@li

[PULL 08/11] trace: remove control-vcpu.h

2023-05-31 Thread Stefan Hajnoczi
From: Alex Bennée Now we no longer have vcpu controlled trace events we can excise the code that allows us to query its status. Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Stefan Hajnoczi Reviewed-by: Richard Henderson Signed-off-by: Alex Bennée Message-id: 20230526165401.574474-9

[PULL 05/11] docs/deprecated: move QMP events bellow QMP command section

2023-05-31 Thread Stefan Hajnoczi
From: Alex Bennée Also rename the section to make the fact this is part of the management protocol even clearer. Suggested-by: Markus Armbruster Signed-off-by: Alex Bennée Message-id: 20230526165401.574474-6-alex.ben...@linaro.org Signed-off-by: Stefan Hajnoczi --- docs/about/deprecated.rst

[PULL 07/11] trace: remove code that depends on setting vcpu

2023-05-31 Thread Stefan Hajnoczi
From: Alex Bennée Now we no longer have any events that are for vcpus we can start excising the code from the trace control. As the vcpu parameter is encoded as part of QMP we just stub out the has_vcpu/vcpu parameters rather than alter the API. Reviewed-by: Stefan Hajnoczi Reviewed-by

[PULL 01/11] *-user: remove the guest_user_syscall tracepoints

2023-05-31 Thread Stefan Hajnoczi
From: Alex Bennée This is pure duplication now. Both bsd-user and linux-user have builtin strace support and we can also track syscalls via the plugins system. Reviewed-by: Warner Losh Reviewed-by: Stefan Hajnoczi Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Signed-off

[PULL 11/11] accel/tcg: include cs_base in our hash calculations

2023-05-31 Thread Stefan Hajnoczi
e (min … max): 60.285 s … 66.868 s10 runs Signed-off-by: Alex Bennée Reviewed-by: Richard Henderson Message-id: 20230526165401.574474-12-alex.ben...@linaro.org Message-Id: <20230524133952.3971948-11-alex.ben...@linaro.org> Signed-off-by: Stefan Hajnoczi --- accel/tcg/tb-hash.h | 4 ++--

[PULL 10/11] hw/9pfs: use qemu_xxhash4

2023-05-31 Thread Stefan Hajnoczi
From: Alex Bennée No need to pass zeros as we have helpers that do that for us. Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Christian Schoenebeck Reviewed-by: Stefan Hajnoczi Reviewed-by: Richard Henderson Signed-off-by: Alex Bennée Message-id: 20230526165401.574474-11-alex.ben

[PULL 06/11] qapi: make the vcpu parameters deprecated for 8.1

2023-05-31 Thread Stefan Hajnoczi
From: Alex Bennée I don't think I can remove the parameters directly but certainly mark them as deprecated. Reviewed-by: Stefan Hajnoczi Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Alex Bennée Message-id: 20230526165401.574474-7-alex.ben...@linar

[PULL 04/11] scripts/qapi: document the tool that generated the file

2023-05-31 Thread Stefan Hajnoczi
From: Alex Bennée This makes it a little easier for developers to find where things where being generated. Reviewed-by: Richard Henderson Reviewed-by: Stefan Hajnoczi Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Markus Armbruster Signed-off-by: Alex Bennée Message-id

[PULL 03/11] trace: remove vcpu_id from the TraceEvent structure

2023-05-31 Thread Stefan Hajnoczi
From: Alex Bennée This does involve temporarily stubbing out some helper functions before we excise the rest of the code. Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Stefan Hajnoczi Reviewed-by: Richard Henderson Signed-off-by: Alex Bennée Message-id: 20230526165401.574474-4-alex.ben

[PULL 00/11] Tracing patches

2023-05-31 Thread Stefan Hajnoczi
The following changes since commit 51bdb0b57a2d9e84d6915fbae7b5d76c8820cf3c: Merge tag 'pull-tcg-20230530' of https://gitlab.com/rth7680/qemu into staging (2023-05-30 13:25:18 -0700) are available in the Git repository at: https://gitlab.com/stefanha/qemu.git tags/tracing-pull-request for

Re: [PATCH v6 00/11] tracing: remove dynamic vcpu state

2023-05-31 Thread Stefan Hajnoczi
On Fri, May 26, 2023 at 05:53:50PM +0100, Alex Bennée wrote: > Hi Stefan, > > The references dynamic vcpu tracing support was removed when the > original TCG trace points where removed. However there was still a > legacy of dynamic trace state to track this in cpu.h and extra hash > variables to t

Re: [PATCH v6 05/11] docs/deprecated: move QMP events bellow QMP command section

2023-05-31 Thread Stefan Hajnoczi
++- > 1 file changed, 9 insertions(+), 9 deletions(-) Reviewed-by: Stefan Hajnoczi signature.asc Description: PGP signature

Re: [PATCH v5 04/10] scripts/qapi: document the tool that generated the file

2023-05-25 Thread Stefan Hajnoczi
th.basename(sys.argv[0])), Why is str() used here? %s already produces a string representation of whatever value you give it (e.g. '%s' % 123 -> '123'). Reviewed-by: Stefan Hajnoczi signature.asc Description: PGP signature

Re: Re: [PATCH RFC 20/21] conf: Add possibility to configure multiple iothreads per disk

2023-03-29 Thread Stefan Hajnoczi
Hi Peter, > + - The optional ``iothreads`` sub-element allows specifying multiple > IOThreads > + via the ``iothread`` sub-element with attribute ``id`` the disk will > use > + for I/O operations. Optionally the ``iothread`` element can have > multiple > + ``queue`` subelemen

Re: Zoned storage support in libvirt

2023-01-30 Thread Stefan Hajnoczi
On Mon, Jan 30, 2023 at 12:53:22PM +, Daniel P. Berrangé wrote: > On Mon, Jan 30, 2023 at 09:30:40PM +0900, Damien Le Moal wrote: > > On 1/30/23 21:21, Daniel P. Berrangé wrote: > > > On Wed, Jan 11, 2023 at 10:24:30AM -0500, Stefan Hajnoczi wrote: > > >> On T

Re: Zoned storage support in libvirt

2023-01-11 Thread Stefan Hajnoczi
On Tue, Jan 10, 2023 at 03:29:47PM +, Daniel P. Berrangé wrote: > On Tue, Jan 10, 2023 at 10:19:51AM -0500, Stefan Hajnoczi wrote: > > Hi Peter, > > Zoned storage support > > (https://zonedstorage.io/docs/introduction/zoned-storage) is being added > > to QEMU. Give

Zoned storage support in libvirt

2023-01-10 Thread Stefan Hajnoczi
Hi Peter, Zoned storage support (https://zonedstorage.io/docs/introduction/zoned-storage) is being added to QEMU. Given a zoned host block device, the QEMU syntax will look like this: --blockdev zoned_host_device,node-name=drive0,filename=/dev/$BDEV,... --device virtio-blk-pci,drive=drive0 No

Re: QEMU Advent Calendar 2022 Call for Images

2022-10-21 Thread Stefan Hajnoczi
On Fri, 21 Oct 2022 at 12:45, Eldon Stegall wrote: > We are working to make QEMU Advent Calendar 2022 happen this year, and > if you have had an interesting experience with QEMU recently, we would > love for you to contribute! Hi Eldon, Count me in for 1 disk image. I will find something cool and

Re: [PATCH 01/18] hw/audio: Remove -soundhw support

2022-04-26 Thread Stefan Hajnoczi
| 27 --- > .../codeconverter/test_regexps.py | 1 - > softmmu/qdev-monitor.c| 2 - > softmmu/vl.c | 6 - > 19 files changed, 19 insertions(+), 299 deletions(-) > delete mode 100644 hw/audio/s

Re: [PATCH 00/18] RFC: Remove deprecated audio features

2022-04-26 Thread Stefan Hajnoczi
On Mon, Apr 25, 2022 at 10:21:43AM +0200, Martin Kletzander wrote: > I wanted to deal with https://bugzilla.redhat.com/2043498 and I got a > suggesstion that removing deprecated features could actually make it > easier to propagate the error. In the end (last patch) it turns out the > error is sti

Re: Call for GSoC and Outreachy project ideas for summer 2022

2022-02-19 Thread Stefan Hajnoczi
On Fri, 18 Feb 2022 at 11:40, Michal Prívozník wrote: > > On 2/17/22 18:52, Paolo Bonzini wrote: > > On 1/28/22 16:47, Stefan Hajnoczi wrote: > >> Dear QEMU, KVM, and rust-vmm communities, > >> QEMU will apply for Google Summer of Code 2022 > >> (https://sum

Re: Call for GSoC and Outreachy project ideas for summer 2022

2022-02-19 Thread Stefan Hajnoczi
On Fri, 18 Feb 2022 at 16:03, Paolo Bonzini wrote: > > On 2/18/22 12:39, Michal Prívozník wrote: > > On 2/17/22 18:52, Paolo Bonzini wrote: > >> I would like to co-mentor one or more projects about adding more > >> statistics to Mark Kanda's newly-born introspectable statistics > >> subsystem in Q

[PULL 0/3] Block patches

2022-02-14 Thread Stefan Hajnoczi
The following changes since commit cc5ce8b8b6be83e5fe3b668dbd061ad97c534e3f: Merge remote-tracking branch 'remotes/legoater/tags/pull-ppc-20220210' into staging (2022-02-13 20:33:28 +) are available in the Git repository at: https://gitlab.com/stefanha/qemu.git tags/block-pull-request

Re: [PATCH 0/5] trace: inroduce qmp: trace namespace

2021-10-25 Thread Stefan Hajnoczi
On Thu, Oct 14, 2021 at 06:22:32PM +0300, Vladimir Sementsov-Ogievskiy wrote: > 12.10.2021 14:49, Markus Armbruster wrote: > > Vladimir Sementsov-Ogievskiy writes: > > > > > Hi all! > > > > > > We have handle_qmp_command and qmp_command_repond trace points to trace > > > qmp commands. They are v

Re: [libvirt PATCH 1/2] docs: virtiofs: move legacy docs to the bottom

2021-09-14 Thread Stefan Hajnoczi
On Thu, Sep 09, 2021 at 03:58:28PM +0100, Stefan Hajnoczi wrote: > A number of legacy issues make the virtiofs kbase article hard to > understand. Most users don't need to configure NUMA or a memory backend > other than memfd. Move that information to the bottom of the article so >

Re: [libvirt PATCH 2/2] docs: virtiofs: use the preferred virtiofs spelling

2021-09-09 Thread Stefan Hajnoczi
On Thu, Sep 09, 2021 at 05:33:43PM +0200, Ján Tomko wrote: > On a Thursday in 2021, Stefan Hajnoczi wrote: > > The virtiofs project started off using "virtio-fs" but later switched to > > the "virtiofs" spelling because it matches the spelling of the mount -t &g

[libvirt PATCH 2/2] docs: virtiofs: use the preferred virtiofs spelling

2021-09-09 Thread Stefan Hajnoczi
The virtiofs project started off using "virtio-fs" but later switched to the "virtiofs" spelling because it matches the spelling of the mount -t virtiofs command-line. Update the kbase article with the new spelling so it matches the virtiofs website. Signed-off-by: Stefan

[libvirt PATCH 1/2] docs: virtiofs: move legacy docs to the bottom

2021-09-09 Thread Stefan Hajnoczi
d-off-by: Stefan Hajnoczi --- docs/kbase/virtiofs.rst | 171 +--- 1 file changed, 91 insertions(+), 80 deletions(-) diff --git a/docs/kbase/virtiofs.rst b/docs/kbase/virtiofs.rst index 6ba7299a72..75e740bf96 100644 --- a/docs/kbase/virtiofs.rst +++ b/docs/

[libvirt PATCH 0/2] docs: virtiofs: move legacy docs to the bottom

2021-09-09 Thread Stefan Hajnoczi
The virtiofs kbase article includes a lot of information that is only relevant to old versions of QEMU and libvirt. Setting up virtiofs can seem intimidating but it's actually easier than the article lets on. Move the legacy information out of the way. Stefan Hajnoczi (2): docs: virtiofs:

Re: question on vhost, limiting kernel threads and NPROC

2021-07-12 Thread Stefan Hajnoczi
On Fri, Jul 09, 2021 at 11:25:37AM -0500, Mike Christie wrote: > Hi, > > The goal of this email is to try and figure how we want to track/limit the > number of kernel threads created by vhost devices. > > Background: > --- > For vhost-scsi, we've hit a issue where the single vhost worker

[libvirt PATCH] docs: virtiofs: describe memfd memory backend

2021-06-07 Thread Stefan Hajnoczi
Nowadays memfd is the most convenient memory backend for vhost-user devices. Compared to file-backend memory and hugepages, there is no need to worry about configuring the location of the shm directory or allocating hugepages. Cc: Michal Prívozník Cc: Ján Tomko Signed-off-by: Stefan Hajnoczi

Re: [PATCH v1 5/7] docs: mark intention to deprecate TCG tracing functionality

2021-05-17 Thread Stefan Hajnoczi
On Mon, May 17, 2021 at 11:47:11AM +0100, Alex Bennée wrote: > > Daniel P. Berrangé writes: > > > On Wed, May 05, 2021 at 11:41:46AM +0100, Alex Bennée wrote: > >> > >> Alex Bennée writes: > >> > >> > Daniel P. Berrangé writes: > >> > > >> >> On Wed, May 05, 2021 at 10:22:57AM +0100, Alex Be

Re: [PATCH] virtio-blk: drop deprecated scsi=on|off property

2021-05-04 Thread Stefan Hajnoczi
On Thu, Apr 29, 2021 at 02:03:52PM -0400, Eduardo Habkost wrote: > On Thu, Apr 29, 2021 at 04:52:21PM +0100, Stefan Hajnoczi wrote: > > Live migrating old guests from an old QEMU with the SCSI feature bit > > enabled will fail with "Features 0x... unsupported. Allowed feature

Re: [PATCH] virtio-blk: drop deprecated scsi=on|off property

2021-05-04 Thread Stefan Hajnoczi
On Thu, Apr 29, 2021 at 06:16:28PM +0200, Peter Krempa wrote: > On Thu, Apr 29, 2021 at 16:52:21 +0100, Stefan Hajnoczi wrote: > > The scsi=on|off property was deprecated in QEMU 5.0 and can be removed > > completely at this point. > > > > Drop the scsi=on|off optio

Re: [PATCH] virtio-blk: drop deprecated scsi=on|off property

2021-05-04 Thread Stefan Hajnoczi
On Thu, Apr 29, 2021 at 02:03:52PM -0400, Eduardo Habkost wrote: > On Thu, Apr 29, 2021 at 04:52:21PM +0100, Stefan Hajnoczi wrote: > > The scsi=on|off property was deprecated in QEMU 5.0 and can be removed > > completely at this point. > > > > Drop the scsi=on|off op

[PATCH] virtio-blk: drop deprecated scsi=on|off property

2021-04-29 Thread Stefan Hajnoczi
y so users have been warned... I have tested that libvirt still works when the property is absent. It no longer adds scsi=on|off to the command-line. Cc: Markus Armbruster Cc: Christoph Hellwig Cc: Peter Krempa Cc: Dr. David Alan Gilbert Signed-off-by: Stefan Hajnoczi --- docs/specs/tpm.rst

Re: [PATCH 00/14] deprecations: remove many old deprecations

2021-03-08 Thread Stefan Hajnoczi
On Wed, Feb 24, 2021 at 04:21:13PM +0100, Philippe Mathieu-Daudé wrote: > On 2/24/21 3:38 PM, Peter Maydell wrote: > > On Wed, 24 Feb 2021 at 13:21, Daniel P. Berrangé > > wrote: > >> > >> The following features have been deprecated for well over the 2 > >> release cycle we promise > >> > >> ``

Re: qmp-shell TUI (was: Re: Call for Google Summer of Code 2021 project ideas)

2021-01-14 Thread Stefan Hajnoczi
On Thu, Jan 14, 2021 at 04:55:30PM +, Daniel P. Berrangé wrote: > On Thu, Jan 14, 2021 at 04:49:17PM +0000, Stefan Hajnoczi wrote: > > On Thu, Jan 14, 2021 at 03:22:41PM +, Daniel P. Berrangé wrote: > > > On Thu, Jan 14, 2021 at 04:02:56PM +0100, Kevin Wolf wrote: > &

Re: qmp-shell TUI (was: Re: Call for Google Summer of Code 2021 project ideas)

2021-01-14 Thread Stefan Hajnoczi
On Thu, Jan 14, 2021 at 03:22:41PM +, Daniel P. Berrangé wrote: > On Thu, Jan 14, 2021 at 04:02:56PM +0100, Kevin Wolf wrote: > > Am 14.01.2021 um 14:59 hat Daniel P. Berrangé geschrieben: > > > On Thu, Jan 14, 2021 at 01:52:34PM +0000, Stefan Hajnoczi wrote: > > > &

Re: qmp-shell TUI (was: Re: Call for Google Summer of Code 2021 project ideas)

2021-01-14 Thread Stefan Hajnoczi
On Thu, Jan 14, 2021 at 04:02:56PM +0100, Kevin Wolf wrote: > Am 14.01.2021 um 14:59 hat Daniel P. Berrangé geschrieben: > > On Thu, Jan 14, 2021 at 01:52:34PM +0000, Stefan Hajnoczi wrote: > > > On Wed, Jan 13, 2021 at 01:59:43PM -0500, John Snow wrote: > > > > On 1/

Re: qmp-shell TUI (was: Re: Call for Google Summer of Code 2021 project ideas)

2021-01-14 Thread Stefan Hajnoczi
On Wed, Jan 13, 2021 at 01:59:43PM -0500, John Snow wrote: > On 1/13/21 3:53 AM, Stefan Hajnoczi wrote: > > On Tue, Jan 12, 2021 at 9:10 PM John Snow wrote: > > 2. Ability to watch QMP activity on a running QEMU process, e.g. even > > when libvirt is directly con

Re: [PATCH 0/1] virt-aa-helper: allow hard links for mounts

2020-10-26 Thread Stefan Hajnoczi
On Thu, Oct 22, 2020 at 05:10:10PM +0200, Christian Schoenebeck wrote: > I'm suggesting to add the AppArmor permission "l" on libvirt export pathes > to allow guests creating hard links, which is currently a problem for 9pfs > mounts. > > Since the suggested patch would affect virtiofs as well, I

Re: [PATCH v2] docs/system: clarify deprecation schedule

2020-09-23 Thread Stefan Hajnoczi
On Tue, Sep 15, 2020 at 04:07:34PM +0100, Stefan Hajnoczi wrote: > The sentence explaining the deprecation schedule is ambiguous. Make it > clear that a feature deprecated in the Nth release is guaranteed to > remain available in the N+1th release. Removal can occur in the N+2nd > rele

Re: [PATCH] docs/system: clarify deprecation scheduled

2020-09-15 Thread Stefan Hajnoczi
On Mon, Sep 14, 2020 at 03:21:46PM +0100, Daniel P. Berrangé wrote: > On Tue, Aug 11, 2020 at 11:47:36AM +0100, Stefan Hajnoczi wrote: > > The sentence explaining the deprecation schedule is ambiguous. Make it > > clear that a feature deprecated in the Nth release is guarantee

[PATCH v2] docs/system: clarify deprecation schedule

2020-09-15 Thread Stefan Hajnoczi
25956af3fe5dd0385ad8017bc768a6afe41e2a74 ("block: Finish deprecation of 'qemu-img convert -n -o'"). The feature was deprecated in QEMU 4.2.0. It was present in the 5.0.0 release and removed in the 5.1.0 release. Suggested-by: Daniel P. Berrangé Signed-off-by: Stefan Hajnoczi --- v2: * Use Dan's

Re: [PATCH] docs/system: clarify deprecation scheduled

2020-09-14 Thread Stefan Hajnoczi
On Tue, Aug 11, 2020 at 11:47:36AM +0100, Stefan Hajnoczi wrote: > The sentence explaining the deprecation schedule is ambiguous. Make it > clear that a feature deprecated in the Nth release is guaranteed to > remain available in the N+1th release. Removal can occur in the N+2nd > rele

[PATCH] docs/system: clarify deprecation scheduled

2020-08-11 Thread Stefan Hajnoczi
25956af3fe5dd0385ad8017bc768a6afe41e2a74 ("block: Finish deprecation of 'qemu-img convert -n -o'"). The feature was deprecated in QEMU 4.2.0. It was present in the 5.0.0 release and removed in the 5.1.0 release. Signed-off-by: Stefan Hajnoczi --- docs/system/deprecated.rst | 6 +++--- 1 file changed

Re: kvm-hint-dedicated requires host CPU passthrough?

2020-07-16 Thread Stefan Hajnoczi
On Mon, Jun 29, 2020 at 01:58:13PM +0200, Wim ten Have wrote: > Hi Stefan, sorry for my very late response as I was temporarily out > and unfortunately missed this email thread. > > For your question (remark), yes, you're right. This feature should > not apply to specific scenario. > Something

Re: kvm-hint-dedicated requires host CPU passthrough?

2020-05-21 Thread Stefan Hajnoczi
On Wed, May 20, 2020 at 07:23:32PM +0200, Paolo Bonzini wrote: > On 20/05/20 19:13, Stefan Hajnoczi wrote: > > Hi, > > libvirt refuses to set KVM_HINTS_DEDICATED when the CPU model is not > > host-passthrough. > > > > Is there a reason for this limitation?

kvm-hint-dedicated requires host CPU passthrough?

2020-05-20 Thread Stefan Hajnoczi
Hi, libvirt refuses to set KVM_HINTS_DEDICATED when the CPU model is not host-passthrough. Is there a reason for this limitation? My understanding is that KVM_HINTS_DEDICATED means the vCPU is pinned to a host CPU that is not shared with other tasks. Any KVM vCPU should be able to support this fe

Re: Backup of vm disk images

2020-05-01 Thread Stefan Hajnoczi
On Wed, Apr 22, 2020 at 07:51:09AM +0200, Anders Östling wrote: > I am fighting to understand the difference between backing up a VM by > using a regular copy vs using the virsh blockcopy command. > What I want to do is to suspend the vm, copy the XML and .QCOW2 files > and then resume the vm again

Re: [Virtio-fs] [libvirt PATCHv3 10/12] qemu: add code for handling virtiofsd

2020-02-06 Thread Stefan Hajnoczi
On Mon, Feb 03, 2020 at 07:36:09PM +0100, Ján Tomko wrote: > [adding virtiofs list] > > On Mon, Feb 03, 2020 at 04:43:51PM +, Daniel P. Berrangé wrote: > > On Thu, Jan 30, 2020 at 06:06:26PM +0100, Ján Tomko wrote: > > > Start virtiofsd for each device using it. > > > > > > Pre-create the so

Re: [libvirt PATCHv2 00/10] add virtiofs support (virtio-fs epopee)

2020-01-27 Thread Stefan Hajnoczi
ng virtiofsd > qemu: build vhost-user-fs device command line > docs: add virtiofs kbase Thanks for adding virtiofsd parameters (like the debug flag, xattr, posix file locking, etc). This series looks functionally complete to me: Acked-by: Stefan Hajnoczi

[libvirt] [PULL 3/3] virtio-blk: fix out-of-bounds access to bitmap in notify_guest_bh

2019-12-20 Thread Stefan Hajnoczi
From: Li Hangjing When the number of a virtio-blk device's virtqueues is larger than BITS_PER_LONG, the out-of-bounds access to bitmap[ ] will occur. Fixes: e21737ab15 ("virtio-blk: multiqueue batch notify") Cc: qemu-sta...@nongnu.org Cc: Stefan Hajnoczi Signed-off-by: Li Hangji

[libvirt] [PULL 1/3] virtio-blk: deprecate SCSI passthrough

2019-12-20 Thread Stefan Hajnoczi
The Linux virtio_blk.ko guest driver is removing legacy SCSI passthrough support. Deprecate this feature in QEMU too. Signed-off-by: Stefan Hajnoczi Reviewed-by: Paolo Bonzini Reviewed-by: Christoph Hellwig Reviewed-by: Thomas Huth Message-id: 20191213144626.1208237-1-stefa...@redhat.com

[libvirt] [PULL 0/3] Block patches

2019-12-20 Thread Stefan Hajnoczi
ll request Li Hangjing (1): virtio-blk: fix out-of-bounds access to bitmap in notify_guest_bh Stefan Hajnoczi (2): virtio-blk: deprecate SCSI passthrough docs: fix rst syntax errors in unbuilt docs docs/arm-cpu-features.rst | 6 +++--- docs/virtio-net-fa

[libvirt] [PULL 2/3] docs: fix rst syntax errors in unbuilt docs

2019-12-20 Thread Stefan Hajnoczi
The .rst files outside docs/{devel,interop,specs} aren't built yet and therefore a few syntax errors have slipped through. Fix them. Signed-off-by: Stefan Hajnoczi Reviewed-by: Daniel P. Berrangé Message-Id: <2019094411.427174-1-stefa...@redhat.com> Signed-off-by: Stef

Re: [libvirt] [PATCH] virtio-blk: deprecate SCSI passthrough

2019-12-17 Thread Stefan Hajnoczi
On Fri, Dec 13, 2019 at 02:46:26PM +, Stefan Hajnoczi wrote: > The Linux virtio_blk.ko guest driver is removing legacy SCSI passthrough > support. Deprecate this feature in QEMU too. > > Signed-off-by: Stefan Hajnoczi > --- > qemu-deprecated.texi | 11 +++ >

[libvirt] [PATCH] virtio-blk: deprecate SCSI passthrough

2019-12-13 Thread Stefan Hajnoczi
The Linux virtio_blk.ko guest driver is removing legacy SCSI passthrough support. Deprecate this feature in QEMU too. Signed-off-by: Stefan Hajnoczi --- qemu-deprecated.texi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/qemu-deprecated.texi b/qemu-deprecated.texi index

Re: [libvirt] [RFC PATCH 0/9] add virtiofs support (virtio-fs epopee)

2019-11-04 Thread Stefan Hajnoczi
On Fri, Nov 1, 2019 at 1:15 PM Ján Tomko wrote: Great, this looks like the right direction. > * leave queue-size and cache-size on their default values > or expose them in XML Please support the following parameters: * virtiofsd path - useful for testing custom virtiofsd binaries or

Re: [libvirt] [PATCH 8/9] wip: start virtiofsd

2019-11-04 Thread Stefan Hajnoczi
On Fri, Nov 1, 2019 at 1:18 PM Ján Tomko wrote: > +if (qemuSecuritySetDaemonSocketLabel(driver->securityManager, vm->def) < > 0) > +goto cleanup; > +fd = qemuOpenChrChardevUNIXSocket(chrdev); > +if (fd < 0) > +goto cleanup; > +if (qemuSecurityClearSocketLabel(drive

Re: [libvirt] [PATCH 6/9] conf: qemu: add virtio-fs fsdriver type

2019-11-04 Thread Stefan Hajnoczi
On Fri, Nov 1, 2019 at 1:15 PM Ján Tomko wrote: > > Introduce a new 'virtio-fs' driver type for filesystem. > > > > > What happens with the target dir? virtio-fs has no way to pass the target dir into the guest. Out-of-band methods exist: qemu-guest-agent could be used to mount the fil

Re: [libvirt] Call for volunteers: LWN.net articles about KVM Forum talks

2019-09-18 Thread Stefan Hajnoczi
On Wed, Sep 18, 2019 at 9:28 AM Stefano Garzarella wrote: > > On Tue, Sep 17, 2019 at 02:02:59PM +0100, Stefan Hajnoczi wrote: > I volunteer for "Libvirt: Never too Late to Learn New Tricks" by > Daniel Berrange. Hi Stefano, Paolo has already volunteered for that. Is ther

[libvirt] [virttools-planet PATCH] README: add instructions for adding a new blog

2019-09-17 Thread Stefan Hajnoczi
Signed-off-by: Stefan Hajnoczi --- README | 22 ++ updater/virt-tools/basic/index.html.tmpl | 1 + 2 files changed, 23 insertions(+) diff --git a/README b/README index 1013e71..ad388f8 100644 --- a/README +++ b/README @@ -6,6 +6,28 @@ This

[libvirt] Call for volunteers: LWN.net articles about KVM Forum talks

2019-09-17 Thread Stefan Hajnoczi
Hi, LWN.net is a popular open source news site that covers Linux and other open source communities (Python, GNOME, Debian, etc). It has published a few KVM articles in the past too. Let's raise awareness of QEMU, KVM, and libvirt by submitting articles covering KVM Forum. I am looking for ~5 vol

[libvirt] [ANNOUNCE] virtio-fs v0.2 host<->guest file system released

2019-04-16 Thread Stefan Hajnoczi
Dear QEMU, KVM, and libvirt communities, virtio-fs is a shared file system that lets virtual machines access a directory tree on the host. Unlike existing approaches, it is designed to offer local file system semantics and performance. The guest can take advantage of Linux DAX to access file cont

Re: [libvirt] [Qemu-devel] Virtio-net control queue handling

2019-02-27 Thread Stefan Hajnoczi
On Tue, Feb 26, 2019 at 02:13:43PM +, Nikhil Agarwal wrote: > Is there any option in QEMU to offload virtio device control queue handling > to backend instead of deciphering and passing to libvirt via QMP? if not, is > there any interface in libvirt which passes on these message to applicatio

Re: [libvirt] [Qemu-devel] Qemu migration with vhost-user-blk on top of local storage

2019-01-09 Thread Stefan Hajnoczi
On Wed, Jan 09, 2019 at 06:23:42PM +0800, wuzhouhui wrote: > Hi everyone, > > I'm working qemu with vhost target (e.g. spdk), and I attempt to migrate VM > with > 2 local storages. One local storage is a regular file, e.g. /tmp/c74.qcow2, > and > the other is a malloc bdev that spdk created. Thi

[libvirt] CFP deadline extended for FOSDEM18 Virt & IaaS Devroom

2017-12-04 Thread Stefan Hajnoczi
The call for papers for the Virtualization and IaaS Devroom at FOSDEM18 is extended until December 7 midnight UTC. All other dates remain the same as you can read below. On behalf of oVirt and the Xen Project, we are excited to announce that the call for proposals is now open for the Virtualizatio

[libvirt] Speak at FOSDEM18 Virt & IaaS Devroom!

2017-11-23 Thread Stefan Hajnoczi
FOSDEM 2018 will be held in Brussels, Belgium on February 3 & 4, 2018. The Virt & Iaas Devroom is hosting talks on KVM, Libvirt, QEMU, OpenStack, and more. The submission deadline for talks is 1 December 2017. See the Call For Papers below for details. I hope to see you there! Stefan --- I am e

Re: [libvirt] networking problem

2017-11-02 Thread Stefan Hajnoczi
On Sun, Oct 29, 2017 at 04:07:09AM -0700, ms...@reynoldstocks.com wrote: > I have performed following steps: > > $ virsh net-destroy default > $ virsh net-undefine default > > Now I couldn't start guest with following warning popup: > Error starting domain: Network not found: no network with matc

[libvirt] [CFP] Virt & IaaS Devroom at FOSDEM18

2017-10-18 Thread Stefan Hajnoczi
I am excited to announce that the call for proposals is now open for the Virtualization & IaaS devroom at the upcoming FOSDEM 2018, to be hosted on February 3 and 4, 2018. This year will mark FOSDEM’s 18th anniversary as one of the longest-running free and open source software developer events, at

Re: [libvirt] QEMU -M nvdimm=on and hotplug

2017-09-14 Thread Stefan Hajnoczi
On Wed, Sep 13, 2017 at 05:28:56PM +0200, Michal Privoznik wrote: > On 09/13/2017 03:54 PM, Stefan Hajnoczi wrote: > > 2. Only allow NVDIMM hotplug if the domain was started with -M > >nvdimm=on. > > > > I think QEMU will not add -M nvdimm=on to the "pc"

[libvirt] QEMU -M nvdimm=on and hotplug

2017-09-13 Thread Stefan Hajnoczi
Hi Michal, You asked how NVDIMM hotplug should work if the domain was launched without -M nvdimm=on. I'm not very familiar with ACPI so this may be incorrect. Hotplug relies on the presence of ACPI tables (SSDT Device=NVDR _HID=ACPI0012) added by -M nvdimm=on. The ACPI tables contain the interfa

Re: [libvirt] [Qemu-devel] ask a question

2017-08-16 Thread Stefan Hajnoczi
On Wed, Aug 16, 2017 at 02:25:19PM +0800, 皮智 wrote: > Hi,I meet a problem with vm, my environment is qemu-kvm-2.3, > virtio-win-0.1.126, host(centos7.2), guest(windows10). > > libvirt xml has four virtio-serial channel as follows: CCing the libvirt mailing list. This may be a libvirt issue. >

Re: [libvirt] [GSoC] Project of libvirt/qemu fuzzing

2017-05-30 Thread Stefan Hajnoczi
On Tue, May 30, 2017 at 12:03 PM, Dan wrote: > The project of qemu command line fuzzing has been accepted as a GSoC > project [1] [2]. As a student participating Google Summer of Code > activity, I am extremely exitited to get started today on May 30th, > 2017. Welcome! Great project idea, I am

Re: [libvirt] Fail to start 2nd guest

2017-02-27 Thread Stefan Hajnoczi
On Mon, Feb 27, 2017 at 08:50:03PM +0800, Xiong Zhou wrote: > On Mon, Feb 27, 2017 at 10:11:04AM +0000, Stefan Hajnoczi wrote: > > On Mon, Feb 27, 2017 at 05:40:50PM +0800, Xiong Zhou wrote: > > > It worked fine on Linus tree commit: > > > 7bb0338 Merge ta

Re: [libvirt] [Qemu-devel] Question regarding Snapshots

2017-02-27 Thread Stefan Hajnoczi
On Wed, Feb 22, 2017 at 03:06:41PM -0600, Tim Cusack wrote: > I have a scenario that perhaps not many have attempted, but I still hope > that it is possible. > > Scenario: > > I would like to have a Base Windows 7 VM in KVM/QEMU. > > I would follow the following process (confirmed it works) > >

Re: [libvirt] [PATCH 01/12] conf: introduce domain XML element for iothread

2017-02-21 Thread Stefan Hajnoczi
ue with QEMU. Currently it you don't specify >> > > > anything the polling is enabled with some reasonable default value and >> > > > base >> > > > on experience with QEMU I'm not planning to count on that they will >> > > > n

Re: [libvirt] Performance about x-data-plane

2017-01-16 Thread Stefan Hajnoczi
On Tue, Jan 03, 2017 at 12:02:14PM -0500, Weiwei Jia wrote: > > The expensive part is the virtqueue kick. Recently we tried polling the > > virtqueue instead of waiting for the ioeventfd file descriptor and got > > double-digit performance improvements: > > https://lists.gnu.org/archive/html/qemu-

Re: [libvirt] Performance about x-data-plane

2017-01-03 Thread Stefan Hajnoczi
On Thu, Dec 22, 2016 at 01:34:47AM -0500, Weiwei Jia wrote: > With QEMU x-data-plane, I find the performance has not been improved > very much. Please see following two settings. Using IOThreads improves scalability for SMP guests with many disks. It does not improve performance for a single disk

Re: [libvirt] Qemu: create empty cdrom

2016-10-14 Thread Stefan Hajnoczi
On Fri, Feb 5, 2016 at 2:56 PM, Gromak Yuriy wrote: > Qemu is latest from master branch. > Tryingto start a domain, which is connected toa blankcdrom: > > > > > > > > > But I get an error: > > qemu-system-x86_64: -drive > if=none,id=dri

Re: [libvirt] Call for mentors: Outreachy December - March

2016-09-05 Thread Stefan Hajnoczi
On Mon, Sep 5, 2016 at 9:39 AM, Stefan Hajnoczi wrote: > The Outreachy open source internship programme is running a December - > March round. Outreachy promotes participation of underrepresented > groups in open source. > > If you would like to be a mentor please reply. Proje

[libvirt] Call for mentors: Outreachy December - March

2016-09-05 Thread Stefan Hajnoczi
The Outreachy open source internship programme is running a December - March round. Outreachy promotes participation of underrepresented groups in open source. If you would like to be a mentor please reply. What is a mentor? Mentors help interns with their project and evaluate their progress. Th

  1   2   3   4   >