Re: [RFC PATCH-for-8.2?] accel/tcg: Implement tcg_unregister_thread()

2023-12-06 Thread Michal Suchánek
On Wed, Dec 06, 2023 at 03:49:28PM +, Miguel Luis wrote: > > > > On 6 Dec 2023, at 14:25, Michal Suchánek wrote: > > > > On Wed, Dec 06, 2023 at 01:17:08PM -0100, Miguel Luis wrote: > >> Hi! > >> > >> On 04/12/2023 18:40, Philippe Math

Re: [RFC PATCH-for-8.2?] accel/tcg: Implement tcg_unregister_thread()

2023-12-06 Thread Michal Suchánek
On Wed, Dec 06, 2023 at 01:17:08PM -0100, Miguel Luis wrote: > Hi! > > On 04/12/2023 18:40, Philippe Mathieu-Daudé wrote: > > Unplugging vCPU triggers the following assertion in > > tcg_register_thread(): > > > > 796 void tcg_register_thread(void) > > 797 { > > ... > > 812 /* Claim an entr

Re: [RFC PATCH-for-8.2?] accel/tcg: Implement tcg_unregister_thread()

2023-12-06 Thread Michal Suchánek
On Tue, Dec 05, 2023 at 11:09:59AM +0100, Michal Suchánek wrote: > On Mon, Dec 04, 2023 at 03:02:45PM -0800, Richard Henderson wrote: > > On 12/4/23 12:09, Michal Suchánek wrote: > > > On Mon, Dec 04, 2023 at 02:50:17PM -0500, Stefan Hajnoczi wrote: > > > > On Mon,

Re: [RFC PATCH-for-8.2?] accel/tcg: Implement tcg_unregister_thread()

2023-12-05 Thread Michal Suchánek
On Mon, Dec 04, 2023 at 03:02:45PM -0800, Richard Henderson wrote: > On 12/4/23 12:09, Michal Suchánek wrote: > > On Mon, Dec 04, 2023 at 02:50:17PM -0500, Stefan Hajnoczi wrote: > > > On Mon, 4 Dec 2023 at 14:40, Philippe Mathieu-Daudé > > > wrote: > > >

Re: [RFC PATCH-for-8.2?] accel/tcg: Implement tcg_unregister_thread()

2023-12-04 Thread Michal Suchánek
ntry in tcg_ctxs */ > > 813 n = qatomic_fetch_inc(&tcg_cur_ctxs); > > 814 g_assert(n < tcg_max_ctxs); > > > > Implement and use tcg_unregister_thread() so when a > > vCPU is unplugged, the tcg_cur_ctxs refcount is > > decremented. > > > >

qemu ppc64 crash when adding CPU

2023-12-04 Thread Michal Suchánek
Hello, When running a VM with libvirt I get: /usr/bin/qemu-system-ppc64 --version QEMU emulator version 8.1.3 (Virtualization / 15.5) Copyright (c) 2003-2023 Fabrice Bellard and the QEMU Project developers /usr/bin/qemu-system-ppc64 -name guest=sles12sp5-ppc64le,debug-threads=on -S -object {"qom

Re: [PATCH 2/2] docs: define policy forbidding use of "AI" / LLM code generators

2023-11-23 Thread Michal Suchánek
On Thu, Nov 23, 2023 at 12:57:42PM +, Alex Bennée wrote: > Daniel P. Berrangé writes: > > > There has been an explosion of interest in so called "AI" (LLM) > > code generators in the past year or so. Thus far though, this is > > has not been matched by a broadly accepted legal interpretation

Re: [PATCH 2/2] docs: define policy forbidding use of "AI" / LLM code generators

2023-11-23 Thread Michal Suchánek
On Thu, Nov 23, 2023 at 12:06:59PM -0500, Michael S. Tsirkin wrote: > On Thu, Nov 23, 2023 at 04:29:52PM +0100, Philippe Mathieu-Daudé wrote: > > This document targets all contributors. Contributions can be typo > > fix, translations, ... and don't have to be technical. Similarly, > > contributors

Re: Why we should avoid new submodules if possible

2022-09-28 Thread Michal Suchánek
On Wed, Sep 28, 2022 at 05:07:48PM -0400, Michael S. Tsirkin wrote: > On Wed, Sep 28, 2022 at 10:48:03PM +0200, Michal Suchánek wrote: > > Hello, > > > > On Tue, Jun 28, 2022 at 07:00:59AM -0400, Michael S. Tsirkin wrote: > > > > > > > > git submodu

Re: Why we should avoid new submodules if possible

2022-09-28 Thread Michal Suchánek
Hello, On Tue, Jun 28, 2022 at 07:00:59AM -0400, Michael S. Tsirkin wrote: > > git submodules are awkward basically because they are an automated wget. > I don't think an explicit wget is much better ... but > looks like I'm alone in this. Oh well. > So it will be a weird dance of wget a tarball

Re: QEMU-KVM offers OPAL firmware interface? OpenBSD guest support?

2021-08-30 Thread Michal Suchánek
On Mon, Aug 30, 2021 at 04:57:21PM +1000, David Gibson wrote: > On Sun, Aug 29, 2021 at 04:09:54AM +, Joseph wrote: > > Hi Mark, Cédric, Greg at the openbsd-ppc ML, > > So.. if you want to run OpenBSD on POWER10 you will definitely need > PAPR support, because POWER10 won't support bare metal

Re: Regarding commit a9bcedd (SD card size has to be power of 2)

2021-06-23 Thread Michal Suchánek
On Wed, Jun 23, 2021 at 12:59:45PM +0200, Philippe Mathieu-Daudé wrote: > Hi, > > On 6/23/21 11:28 AM, Daniel P. Berrangé wrote: > > On Mon, Jun 07, 2021 at 04:29:54PM +0800, Tom Yan wrote: > >> Hi philmd (and others), > >> > >> So I just noticed your commit of requiring the size of an emulated SD

Re: Problem running functional tests from China

2021-02-24 Thread Michal Suchánek
On Wed, Feb 24, 2021 at 12:57:13PM +, Daniel P. Berrangé wrote: > On Wed, Feb 24, 2021 at 01:48:25PM +0100, Philippe Mathieu-Daudé wrote: > > On 2/24/21 1:08 PM, Daniel P. Berrangé wrote: > > > On Wed, Feb 24, 2021 at 01:01:40PM +0100, Michal Suchánek wrote: > > >&

Re: Problem running functional tests from China

2021-02-24 Thread Michal Suchánek
On Wed, Feb 24, 2021 at 12:37:53PM +0100, Philippe Mathieu-Daudé wrote: > On 2/24/21 12:06 PM, Michal Suchánek wrote: > > On Wed, Feb 24, 2021 at 10:29:15AM +0100, Philippe Mathieu-Daudé wrote: > >> Just to inform the files hosted on github don't work when

Re: Problem running functional tests from China

2021-02-24 Thread Michal Suchánek
On Wed, Feb 24, 2021 at 10:29:15AM +0100, Philippe Mathieu-Daudé wrote: > Just to inform the files hosted on github don't work when > testing from China: > > raw.githubusercontent.com resolves to 127.0.0.1 And from where does this come from? Your local system, your ISP, ... ? Thanks Michal

Re: [PATCH 02/12] qga: Rename config key 'blacklist' as 'denylist'

2021-02-04 Thread Michal Suchánek
On Thu, Feb 04, 2021 at 10:45:45AM +0100, Michal Suchánek wrote: > Hello, > > On Tue, Feb 02, 2021 at 09:58:14PM +0100, Philippe Mathieu-Daudé wrote: > > Follow the inclusive terminology from the "Conscious Language in your > > Open Source Projects" guidelines [*]

Re: [PATCH 02/12] qga: Rename config key 'blacklist' as 'denylist'

2021-02-04 Thread Michal Suchánek
Hello, On Tue, Feb 02, 2021 at 09:58:14PM +0100, Philippe Mathieu-Daudé wrote: > Follow the inclusive terminology from the "Conscious Language in your > Open Source Projects" guidelines [*] and replace the word "blacklist" > appropriately. > > [*] https://github.com/conscious-lang/conscious-lang-

Re: deprecation of in-tree builds

2020-03-30 Thread Michal Suchánek
On Mon, Mar 30, 2020 at 04:37:59PM +0200, Kevin Wolf wrote: > Am 30.03.2020 um 15:42 hat Daniel P. Berrangé geschrieben: > > On Mon, Mar 30, 2020 at 02:31:52PM +0100, Peter Maydell wrote: > > > On Mon, 30 Mar 2020 at 14:26, Markus Armbruster wrote: > > > > > > > > Peter Maydell writes: > > > > >

Re: Restrictions of libnet (was: Re: VW ELF loader)

2020-02-10 Thread Michal Suchánek
On Mon, Feb 10, 2020 at 06:55:16PM +1100, David Gibson wrote: > On Wed, Feb 05, 2020 at 07:24:04AM +0100, Thomas Huth wrote: > > On 05/02/2020 06.30, David Gibson wrote: > > > On Tue, Feb 04, 2020 at 10:20:14AM +0100, Thomas Huth wrote: > > >> On 04/02/2020 09.54, Cornelia Huck wrote: > > >>> On Tu

Re: Restrictions of libnet (was: Re: VW ELF loader)

2020-02-04 Thread Michal Suchánek
Hello, On Tue, Feb 04, 2020 at 10:20:14AM +0100, Thomas Huth wrote: > > So IMHO the s390x world should move towards grub2, too. We could e.g. > link it initially into the s390-ccw bios bios ... and if that works out > well, later also use it as normal bootloader instead of zipl (not sure > if th

Re: [RFC PATCH qemu] spapr: Kill SLOF

2020-01-14 Thread Michal Suchánek
On Tue, Jan 07, 2020 at 12:23:13PM +0100, Thomas Huth wrote: > On 07/01/2020 10.39, Andrea Bolognani wrote: > > On Tue, 2020-01-07 at 12:55 +1100, Alexey Kardashevskiy wrote: > >> On 07/01/2020 01:15, Daniel Henrique Barboza wrote: > >>> Question: does Petitboot already replaces SLOF in every possi

Re: QEMU Licensing query

2019-11-25 Thread Michal Suchánek
Hello, On Fri, Nov 22, 2019 at 03:57:07PM +0530, karina filer wrote: > Hi All, > > [1]QEMU is used in Android Emulator and is licensed under [2]GPLv2. > > For one of our customer support we may have to modify QEMU. > >  I have below queries, > > * Case 1: No modification in QEMU (QEMU delive

Re: QEMU user mode execve

2019-10-03 Thread Michal Suchánek
On Thu, Oct 03, 2019 at 10:48:46AM -0700, Mauricio Galindo wrote: > Hi, > > I'm running QEMU in user mode and I'm running into issues when trying > to exec binaries within the emulated process given that binaries are > expected to run in the native architecture. Would it be useful to have > an opt

Re: [Qemu-devel] Block format 'raw' does not support the option 'share-rw'

2019-03-28 Thread Michal Suchánek
On Thu, 28 Mar 2019 16:56:48 +0100 Michal Suchánek wrote: > Hello, > > I tried to update my machine definitions to work with current qemu. > > Unfortunately, while qemu 2.11 supports disk sharing with raw images > qemu 3.1 does not. That looks bogus to me. What is not support

[Qemu-devel] Block format 'raw' does not support the option 'share-rw'

2019-03-28 Thread Michal Suchánek
Hello, I tried to update my machine definitions to work with current qemu. Unfortunately, while qemu 2.11 supports disk sharing with raw images qemu 3.1 does not. That looks bogus to me. What is not supported about writing random block into a file in parallel? Thanks Michal

Re: [Qemu-devel] Block format 'raw' does not support the option 'serial'

2018-11-19 Thread Michal Suchánek
On Mon, 19 Nov 2018 14:20:59 + Daniel P. Berrangé wrote: > On Mon, Nov 19, 2018 at 03:15:27PM +0100, Michal Suchánek wrote: > > Hello, > > > > I tried to run my VM with qemu git and I am greeted with: > > > > Block format 'raw' does not suppor

[Qemu-devel] Block format 'raw' does not support the option 'serial'

2018-11-19 Thread Michal Suchánek
Hello, I tried to run my VM with qemu git and I am greeted with: Block format 'raw' does not support the option 'serial' Is there any sensible reason to *not^ support disk serial number? Thanks Michal

Re: [Qemu-devel] storing machine data in qcow images?

2018-06-11 Thread Michal Suchánek
On Mon, 11 Jun 2018 05:06:53 +0300 "Michael S. Tsirkin" wrote: > On Sat, Jun 09, 2018 at 11:34:03PM +0200, Max Reitz wrote: > > Dave was saying that the worst thing about the whole q35 thing is > > that users download an image and have no idea why it isn't > > working. Figuring that out may

Re: [Qemu-devel] storing machine data in qcow images?

2018-06-06 Thread Michal Suchánek
On Wed, 6 Jun 2018 20:02:54 +0200 Max Reitz wrote: > On 2018-06-06 17:25, Michal Suchánek wrote: > > On Wed, 6 Jun 2018 16:55:08 +0200 > > Max Reitz wrote: > > > >> On 2018-06-06 16:41, Dr. David Alan Gilbert wrote: > >>> * Max Reitz (mre...@redhat

Re: [Qemu-devel] storing machine data in qcow images?

2018-06-06 Thread Michal Suchánek
On Wed, 6 Jun 2018 10:36:20 -0500 Eric Blake wrote: > On 06/06/2018 10:05 AM, Dr. David Alan Gilbert wrote: > > > > >>> We should make this EASY for users. > >> > >> To me, having a simple config file they can edit manually certainly > >> seems simpler than having to use specific tools to e

Re: [Qemu-devel] storing machine data in qcow images?

2018-06-06 Thread Michal Suchánek
On Wed, 6 Jun 2018 16:55:08 +0200 Max Reitz wrote: > On 2018-06-06 16:41, Dr. David Alan Gilbert wrote: > > * Max Reitz (mre...@redhat.com) wrote: > > [...] > > >> So why is it so dangerous to connect a disk you just downloaded to > >> e.g. the wrong machine type? I assumed it just wouldn't

Re: [Qemu-devel] storing machine data in qcow images?

2018-06-06 Thread Michal Suchánek
On Wed, 6 Jun 2018 15:14:03 +0200 Max Reitz wrote: > On 2018-06-06 14:13, Michal Suchánek wrote: > > On Wed, 6 Jun 2018 13:52:35 +0200 > > Max Reitz wrote: > > > >> On 2018-06-06 13:43, Michal Suchánek wrote: > >>> On Wed, 6 Jun

Re: [Qemu-devel] storing machine data in qcow images?

2018-06-06 Thread Michal Suchánek
On Wed, 6 Jun 2018 13:52:35 +0200 Max Reitz wrote: > On 2018-06-06 13:43, Michal Suchánek wrote: > > On Wed, 6 Jun 2018 13:32:47 +0200 > > Max Reitz wrote: > > > >> On 2018-06-06 13:19, Michal Suchánek wrote: > >>> On Wed, 6 Jun

Re: [Qemu-devel] storing machine data in qcow images?

2018-06-06 Thread Michal Suchánek
On Wed, 6 Jun 2018 13:32:47 +0200 Max Reitz wrote: > On 2018-06-06 13:19, Michal Suchánek wrote: > > On Wed, 6 Jun 2018 13:02:53 +0200 > > Max Reitz wrote: > > > >> On 2018-06-06 12:32, Michal Suchánek wrote: > >>> On Tue, 29 May

Re: [Qemu-devel] storing machine data in qcow images?

2018-06-06 Thread Michal Suchánek
On Wed, 6 Jun 2018 13:02:53 +0200 Max Reitz wrote: > On 2018-06-06 12:32, Michal Suchánek wrote: > > On Tue, 29 May 2018 12:14:15 +0200 > > Max Reitz wrote: > > > >> On 2018-05-29 08:44, Kevin Wolf wrote: > >>> Am 28.05.2018 um 23:25 hat Richard

Re: [Qemu-devel] storing machine data in qcow images?

2018-06-06 Thread Michal Suchánek
On Tue, 29 May 2018 12:14:15 +0200 Max Reitz wrote: > On 2018-05-29 08:44, Kevin Wolf wrote: > > Am 28.05.2018 um 23:25 hat Richard W.M. Jones geschrieben: > >> On Mon, May 28, 2018 at 10:20:54PM +0100, Richard W.M. Jones > >> wrote: > >>> On Mon, May 28, 2018 at 08:38:33PM +0200, Kevin Wolf

Re: [Qemu-devel] storing machine data in qcow images?

2018-06-05 Thread Michal Suchánek
On Wed, 23 May 2018 18:35:31 +0200 Markus Armbruster wrote: > Eduardo Habkost writes: > > > On Wed, May 23, 2018 at 01:19:46PM +0200, Markus Armbruster wrote: > >> Eduardo Habkost writes: > >> > >> > On Mon, May 21, 2018 at 07:44:40PM +0100, Daniel P. Berrangé > >> > wrote: > >> >> On M

Re: [Qemu-devel] release retrospective, next release timing, numbering

2018-05-07 Thread Michal Suchánek
On Sun, 29 Apr 2018 09:56:37 -0500 Richard Henderson wrote: > On 04/27/2018 02:01 PM, Michal Suchánek wrote: > > Is there any reason why the 64bit emulator would not run on 32bit > > system? The emulated 64bit system is .. emulated after all. > > It does run, but it req

Re: [Qemu-devel] release retrospective, next release timing, numbering

2018-04-27 Thread Michal Suchánek
On Fri, 27 Apr 2018 17:24:38 +0100 Peter Maydell wrote: > On 27 April 2018 at 17:17, Thomas Huth wrote: > > On 27.04.2018 17:51, Peter Maydell wrote: > >> Hi; I usually let people forget about releases for a month or > >> so before bringing this topic up, but: > >> > >> (1) do we want to call

Re: [Qemu-devel] [Bug 1739304] Re: Passing a directory to (eg.) -cdrom results in misleading error message

2018-01-31 Thread Michal Suchánek
On Wed, 20 Dec 2017 21:57:00 -0500 John Snow wrote: > On 12/20/2017 05:31 AM, Dr. David Alan Gilbert wrote: > > Yep, can repeat it here, it seems pretty random which error it > > gives: > > > > [dgilbert@dgilbert-t530 try]$ ./x86_64-softmmu/qemu-system-x86_64 > > -cdrom /tmp qemu-system-x86_64:

Re: [Qemu-devel] Yet another git submodule rant

2017-11-08 Thread Michal Suchánek
On Wed, 8 Nov 2017 12:34:17 + "Daniel P. Berrange" wrote: > On Wed, Nov 08, 2017 at 01:05:27PM +0100, Michal Suchánek wrote: > > On Wed, 8 Nov 2017 10:25:29 + > > "Daniel P. Berrange" wrote: > > > > > On Wed, N

Re: [Qemu-devel] Yet another git submodule rant

2017-11-08 Thread Michal Suchánek
On Wed, 8 Nov 2017 10:25:29 + "Daniel P. Berrange" wrote: > On Wed, Nov 08, 2017 at 10:57:21AM +0100, Thomas Huth wrote: > > > > That automatic git submodule stuff now broke my workflow again. I > > usually keep the git repository on my laptop and then simply rsync > > the sources (without .

Re: [Qemu-devel] QEMU without X11 support

2017-10-15 Thread Michal Suchánek
On Fri, 13 Oct 2017 17:08:49 +0100 Peter Maydell wrote: > On 13 October 2017 at 08:00, Gerd Hoffmann wrote: > > On Thu, 2017-10-12 at 16:25 -0400, hanji unit wrote: > >> Hello, is it possible to run (or rebuild modifying build flags) > >> QEMU without support for X11 window system integration?

Re: [Qemu-devel] [Research] Strato HiDrive as a Dropbox Replacement?

2017-05-02 Thread Michal Suchánek
On Tue, 2 May 2017 15:11:20 +0200 Kai Wagner wrote: > On 05/02/2017 03:01 PM, Kai Dupke wrote: > > On 05/02/2017 02:48 PM, Lenz Grimmer wrote: > >> I don't, as none of these services store my data in encrypted form > >> by default... > > Any service you know where this (encryption) is handled

Re: [Qemu-devel] [RFC PATCH] Fix pasting into serial console in GTK ui

2017-01-02 Thread Michal Suchánek
Hello, On Fri, 23 Dec 2016 17:29:28 +0100 Paolo Bonzini wrote: > On 23/12/2016 16:12, Michal Suchanek wrote: > > This copies the timer hack from ui/console.c kbd_send_chars to > > ui/gtk.c gd_vc_in. > > > > There is no fd-like object to peek repatedly so the paste data is > > saved in a free-fl

[Qemu-devel] QXL VGA on ppc64?

2016-12-21 Thread Michal Suchánek
Hello, I heard this configuration is not working very well. However, just enabling QXL in configuration and spapr.c I get a kvm emulation error. So what issues does the configuration have and what is needed to enable it? I am interested in resizing guest display to match client screen size. Th

Re: [Qemu-devel] sane char device writes?

2016-11-28 Thread Michal Suchánek
Hello, On Fri, 25 Nov 2016 17:16:39 +0100 Paolo Bonzini wrote: > On 24/11/2016 08:51, Thomas Huth wrote: > > > So for this to work an extra buffer would have to be stored in > > > gtk.c somewhere, and possibly similar timer trick used as in > > > console.c > > > > > > Any ideas how to do this w

[Qemu-devel] sane char device writes?

2016-11-23 Thread Michal Suchánek
Hello, I have reported the issue with qemu aborting in spapr_vty.c because gtk.c submitted more data than can be sent to the emulated serial port. While the abort has been resolved and spapr_vty.c should truncate the data now getting the data through is still not possible. Looking in the code I