Network issue on VM Windows 11

2021-10-19 Thread Gabriel Dante Lima Chaves
Hello, I'm trying to run Windows 11 within Ubuntu 20.04 as the host machine, and I can't get the VM to access the network via the ethernet cable. It works fine when the host machine is connected to wifi, but the VM can't access the network if the host is connected to the network through cable. Co

Re: How to realize multi-threading or multi-process for QOM

2021-10-19 Thread Alex Bennée
Hiroko Shimizu writes: > Hello, > > I would like QOM to do QOM's process independently. I'm not sure what this means. QOM is the QEMU Object Model which is basically our plain C version of objects. Are you in fact referring to QMP which is the serialised management interface used by VMMs? > I

Re: I want to know how to use more CPUs and it is possible in newer version ?

2021-10-19 Thread Alex Bennée
Георги Банов writes: > I want to know how to use more CPUs and if it is possible in newer versions ? > > I have an android phone with MIUI 11 version, model Xiaomi Redmi 7 Lite 4GB > of RAM 8 CPUs. > The question is which option / settings in Limbo to choose to use more cpu > for real ? > Wha

possible to resize (extend) a raw image online with qemu-img ?

2021-10-19 Thread Lentes, Bernd
Hi ML, is it possible to extend the disk (raw format) of a running guest with qemu-img ? Thanks. Bernd -- Bernd Lentes System Administrator Institute for Metabolism and Cell Death (MCD) Building 25 - office 122 HelmholtzZentrum München bernd.len...@helmholtz-muenchen.de phone: +49 89

Re: possible to resize (extend) a raw image online with qemu-img ?

2021-10-19 Thread Dongli Zhang
I never use qemu-img but just FYI my notes on how to resize raw image. To resize with 'raw' format. 1. To create image file in 'raw' format. guest# dd if=/dev/zero of=test.raw bs=1M count=64 oflag=direct 2. To boot VM with QEMU. host# qemu-system-x86_64 -m 4000M -enable-kvm -smp 4 -vnc :5 \

Re: possible to resize (extend) a raw image online with qemu-img ? - SOLVED

2021-10-19 Thread Lentes, Bernd
- On Oct 19, 2021, at 7:08 PM, Bernd Lentes bernd.len...@helmholtz-muenchen.de wrote: > Hi ML, > > is it possible to extend the disk (raw format) of a running guest with > qemu-img > ? > reading the manpage brings light into it: Warning: Never use qemu-img to modify images in use by a r

Re: possible to resize (extend) a raw image online with qemu-img ? - SOLVED

2021-10-19 Thread Lentes, Bernd
- On Oct 19, 2021, at 9:24 PM, Bernd Lentes bernd.len...@helmholtz-muenchen.de wrote: > - On Oct 19, 2021, at 7:08 PM, Bernd Lentes > bernd.len...@helmholtz-muenchen.de wrote: > >> Hi ML, >> >> is it possible to extend the disk (raw format) of a running guest with >> qemu-img >> ? >>

spin loop 100x faster in user mode (CPL=3) than superuser (CPL=0)?

2021-10-19 Thread Garrick Toubassi
Hello I have a mystery I haven't been able to run down and would appreciate any explanation or advice. On a mac/intel I am running qemu-system-x86_64 on a simple image which bootstraps into 64 bit long mode and then runs a simple spin loop (literally for (int i = 0; i < 1000; i++) {}). This