Re: modify NetdevUserOptions through QMP in QEMU 6 - how?

2021-12-14 Thread Michael S. Tsirkin
On Wed, Dec 15, 2021 at 08:03:50AM +0100, Thomas Huth wrote: > So if changing netdev parameters on the fly is something that we want, we > should implement this properly instead indeed, and not via such an > accidental bug. How to do it is a separate thing, users don't really care at all. -- MST

Re: modify NetdevUserOptions through QMP in QEMU 6 - how?

2021-12-14 Thread Michael S. Tsirkin
On Wed, Dec 15, 2021 at 08:03:50AM +0100, Thomas Huth wrote: > On 15/12/2021 04.31, Jason Wang wrote: > > On Tue, Dec 14, 2021 at 10:53 PM Michael S. Tsirkin wrote: > > > > > > On Mon, Dec 13, 2021 at 09:02:15AM +0100, Thomas Huth wrote: > > > > Hi! > > > > > > > > On 10/12/2021 18.02, Alexand

Re: modify NetdevUserOptions through QMP in QEMU 6 - how?

2021-12-14 Thread Michael S. Tsirkin
On Wed, Dec 15, 2021 at 07:48:06AM +0100, Markus Armbruster wrote: > Jason Wang writes: > > > On Tue, Dec 14, 2021 at 10:53 PM Michael S. Tsirkin wrote: > >> > >> On Mon, Dec 13, 2021 at 09:02:15AM +0100, Thomas Huth wrote: > >> > Hi! > >> > > >> > On 10/12/2021 18.02, Alexander Sosedkin wrote:

Re: modify NetdevUserOptions through QMP in QEMU 6 - how?

2021-12-14 Thread Thomas Huth
On 15/12/2021 04.31, Jason Wang wrote: On Tue, Dec 14, 2021 at 10:53 PM Michael S. Tsirkin wrote: On Mon, Dec 13, 2021 at 09:02:15AM +0100, Thomas Huth wrote: Hi! On 10/12/2021 18.02, Alexander Sosedkin wrote: With QEMU 5 I could totally issue a QMP netdev_add with the same ID to adjust t

Re: modify NetdevUserOptions through QMP in QEMU 6 - how?

2021-12-14 Thread Markus Armbruster
Jason Wang writes: > On Tue, Dec 14, 2021 at 10:53 PM Michael S. Tsirkin wrote: >> >> On Mon, Dec 13, 2021 at 09:02:15AM +0100, Thomas Huth wrote: >> > Hi! >> > >> > On 10/12/2021 18.02, Alexander Sosedkin wrote: >> > > With QEMU 5 I could totally issue a QMP netdev_add >> > > with the same ID

Re: modify NetdevUserOptions through QMP in QEMU 6 - how?

2021-12-14 Thread Jason Wang
On Tue, Dec 14, 2021 at 10:53 PM Michael S. Tsirkin wrote: > > On Mon, Dec 13, 2021 at 09:02:15AM +0100, Thomas Huth wrote: > > Hi! > > > > On 10/12/2021 18.02, Alexander Sosedkin wrote: > > > With QEMU 5 I could totally issue a QMP netdev_add > > > with the same ID to adjust the NetdevUserOption

Question About Qemu > Hackintosh

2021-12-14 Thread Matt Stacy
I was wondering will Qemu Linux ever be able to emulate Apple Silicon, modified Arm? The reason why I ask is because Open Core is now dead to me and many other users because Apple has decided to switch to their own CPUs and GPUs. I have an Intel based system still and I still want to be able to upd

Re: modify NetdevUserOptions through QMP in QEMU 6 - how?

2021-12-14 Thread Michael S. Tsirkin
On Mon, Dec 13, 2021 at 09:02:15AM +0100, Thomas Huth wrote: > Hi! > > On 10/12/2021 18.02, Alexander Sosedkin wrote: > > With QEMU 5 I could totally issue a QMP netdev_add > > with the same ID to adjust the NetdevUserOptions I want, > > such as restrict or hostfwd. No deleting needed, > > just a

Re: Libvirt on little.BIG ARM systems unable to start guest if no cpuset is provided

2021-12-14 Thread Michal Prívozník
On 12/13/21 17:49, Marc Zyngier wrote: > On Mon, 13 Dec 2021 16:06:14 +, > Peter Maydell wrote: >> >> KVM on big.little setups is a kernel-level question really; I've >> cc'd the kvmarm list. > > Thanks Peter for throwing us under the big-little bus! ;-) > >> >> On Mon, 13 Dec 2021 at 15:02,

Re: Libvirt on little.BIG ARM systems unable to start guest if no cpuset is provided

2021-12-14 Thread Michal Prívozník
On 12/14/21 01:41, Qu Wenruo wrote: > > > On 2021/12/14 00:49, Marc Zyngier wrote: >> On Mon, 13 Dec 2021 16:06:14 +, >> Peter Maydell wrote: >>> >>> KVM on big.little setups is a kernel-level question really; I've >>> cc'd the kvmarm list. >> >> Thanks Peter for throwing us under the big-li

Re: qemu: fatal: lockup...

2021-12-14 Thread abhijeet inamdar
Hi, Can I know how these "values" are written https://github.com/qemu/qemu/blob/stable-6.0/hw/char/pl011.c#L33-#L39. I tried to check and read from the reference manual but I did not get it? Please let me know. BR. Abhijeet. On Fri, Dec 10, 2021 at 5:14 PM Peter Maydell wrote: > On Fri, 10 Dec

Re: Libvirt on little.BIG ARM systems unable to start guest if no cpuset is provided

2021-12-14 Thread Daniel P . Berrangé
On Tue, Dec 14, 2021 at 06:59:12PM +0800, Qu Wenruo wrote: > > > On 2021/12/14 18:36, Daniel P. Berrangé wrote: > > On Tue, Dec 14, 2021 at 09:34:18AM +, Marc Zyngier wrote: > > > On Tue, 14 Dec 2021 00:41:01 +, > > > Qu Wenruo wrote: > > > > > > > > > > > > > > > > On 2021/12/14 00:4

Re: Libvirt on little.BIG ARM systems unable to start guest if no cpuset is provided

2021-12-14 Thread Marc Zyngier
On Tue, 14 Dec 2021 10:21:40 +, Qu Wenruo wrote: > On 2021/12/14 17:52, Marc Zyngier wrote: > > The best workaround is to taskset the QEMU process (and I really mean > > the process, not individual threads) to an homogeneous set of CPUs and > > be done with it. > > Yeah, that's why the cpuset

Re: Libvirt on little.BIG ARM systems unable to start guest if no cpuset is provided

2021-12-14 Thread Qu Wenruo
On 2021/12/14 18:36, Daniel P. Berrangé wrote: On Tue, Dec 14, 2021 at 09:34:18AM +, Marc Zyngier wrote: On Tue, 14 Dec 2021 00:41:01 +, Qu Wenruo wrote: On 2021/12/14 00:49, Marc Zyngier wrote: On Mon, 13 Dec 2021 16:06:14 +, Peter Maydell wrote: KVM on big.little setups

Re: Libvirt on little.BIG ARM systems unable to start guest if no cpuset is provided

2021-12-14 Thread Daniel P . Berrangé
On Tue, Dec 14, 2021 at 09:34:18AM +, Marc Zyngier wrote: > On Tue, 14 Dec 2021 00:41:01 +, > Qu Wenruo wrote: > > > > > > > > On 2021/12/14 00:49, Marc Zyngier wrote: > > > On Mon, 13 Dec 2021 16:06:14 +, > > > Peter Maydell wrote: > > >> > > >> KVM on big.little setups is a kern

Re: Libvirt on little.BIG ARM systems unable to start guest if no cpuset is provided

2021-12-14 Thread Marc Zyngier
On Tue, 14 Dec 2021 10:08:29 +, Peter Maydell wrote: > > On Tue, 14 Dec 2021 at 09:52, Marc Zyngier wrote: > > The best workaround is to taskset the QEMU process (and I really mean > > the process, not individual threads) to an homogeneous set of CPUs and > > be done with it. > > Agreed. I

Re: Libvirt on little.BIG ARM systems unable to start guest if no cpuset is provided

2021-12-14 Thread Qu Wenruo
On 2021/12/14 17:52, Marc Zyngier wrote: On Tue, 14 Dec 2021 08:16:40 +, Qu Wenruo wrote: On 2021/12/14 15:53, Michal Prívozník wrote: On 12/14/21 01:41, Qu Wenruo wrote: On 2021/12/14 00:49, Marc Zyngier wrote: On Mon, 13 Dec 2021 16:06:14 +, Peter Maydell wrote: KVM on b

Re: Libvirt on little.BIG ARM systems unable to start guest if no cpuset is provided

2021-12-14 Thread Peter Maydell
On Tue, 14 Dec 2021 at 09:52, Marc Zyngier wrote: > You are still missing the point of how QEMU works: > > - QEMU creates a dummy VM with a single vcpu. This can happen on *any* > CPU. > - It snapshots the sysregs for this vcpu, and keep them for later > - It then destroy this VM > - QEMU then c

Re: Libvirt on little.BIG ARM systems unable to start guest if no cpuset is provided

2021-12-14 Thread Marc Zyngier
On Tue, 14 Dec 2021 08:16:40 +, Qu Wenruo wrote: > > > > On 2021/12/14 15:53, Michal Prívozník wrote: > > On 12/14/21 01:41, Qu Wenruo wrote: > >> > >> > >> On 2021/12/14 00:49, Marc Zyngier wrote: > >>> On Mon, 13 Dec 2021 16:06:14 +, > >>> Peter Maydell wrote: > > KVM on

Re: Libvirt on little.BIG ARM systems unable to start guest if no cpuset is provided

2021-12-14 Thread Marc Zyngier
On Tue, 14 Dec 2021 00:41:01 +, Qu Wenruo wrote: > > > > On 2021/12/14 00:49, Marc Zyngier wrote: > > On Mon, 13 Dec 2021 16:06:14 +, > > Peter Maydell wrote: > >> > >> KVM on big.little setups is a kernel-level question really; I've > >> cc'd the kvmarm list. > > > > Thanks Peter fo

Re: Libvirt on little.BIG ARM systems unable to start guest if no cpuset is provided

2021-12-14 Thread Qu Wenruo
On 2021/12/14 15:53, Michal Prívozník wrote: On 12/14/21 01:41, Qu Wenruo wrote: On 2021/12/14 00:49, Marc Zyngier wrote: On Mon, 13 Dec 2021 16:06:14 +, Peter Maydell wrote: KVM on big.little setups is a kernel-level question really; I've cc'd the kvmarm list. Thanks Peter for th