Re: [Qemu-devel] [PATCH v3 2/2] target/i386: Add support for save/load IA32_UMWAIT_CONTROL MSR

2019-06-16 Thread Xiaoyao Li
On 6/16/2019 11:35 PM, Tao Xu wrote: UMWAIT and TPAUSE instructions use IA32_UMWAIT_CONTROL at MSR index E1H to determines the maximum time in TSC-quanta that the processor can reside in either C0.1 or C0.2. This patch is to Add support for save/load IA32_UMWAIT_CONTROL MSR in guest. Co-deve

Re: [Qemu-devel] [PATCH] migration: Improve accuracy of vCPU throttling with per-vCPU timers

2019-06-16 Thread Peter Xu
On Fri, Jun 14, 2019 at 09:11:06AM -0700, Cosmin Marin wrote: > During auto-convergence live migration, the configured throttling rate > is not matched in practice. Experimental measurements of throughput for > a memory-write intensive workload indicate disparities between expected > and measured t

[Qemu-devel] question:about pr-helper unlink sock file fail

2019-06-16 Thread wangjie (P)
Hi, I found there is a bug in pr-helper: We run pr-helper process in root, and drop all capabilities  expect CAP_SYS_RAWIO.     But the sock file which connect from qemu is owned by qemu group, when pr-helper exit,     it will call  “close_server_socket -> object_unref(OBJECT(server_ioc))

[Qemu-devel] [Bug 1267520] Re: Keyboard input not working when the "-k en-us" argument is specified.

2019-06-16 Thread Launchpad Bug Tracker
[Expired for QEMU because there has been no activity for 60 days.] ** Changed in: qemu Status: Incomplete => Expired -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1267520 Title: Keyboard in

[Qemu-devel] [PATCH v4 04/11] tests/vm: proper guest shutdown

2019-06-16 Thread Gerd Hoffmann
When not running in snapshot mode ask the guest to poweroff and wait for this to finish instead of simply quitting qemu, so the guest can flush pending updates to disk. Signed-off-by: Gerd Hoffmann Tested-by: Thomas Huth --- tests/vm/basevm.py | 22 +++--- 1 file changed, 15 ins

[Qemu-devel] [PATCH v4 02/11] tests/vm: use ssh with pty unconditionally

2019-06-16 Thread Gerd Hoffmann
Allways ask ssh to run with a pseudo terminal. Not having a terminal causes problems now and then. Signed-off-by: Gerd Hoffmann Tested-by: Thomas Huth --- tests/vm/basevm.py | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/tests/vm/basevm.py b/tests/vm/basevm.py

[Qemu-devel] [PATCH v4 10/11] tests/vm: fedora autoinstall, using serial console

2019-06-16 Thread Gerd Hoffmann
Download the install iso and prepare the image locally. Install to disk, using the serial console. Create qemu user, configure ssh login. Install packages needed for qemu builds. Yes, we have docker images for fedora. But for trouble-shooting it might be helpful to have a vm too. When vm build

[Qemu-devel] [PATCH v4 01/11] tests/vm: send proxy environment variables over ssh

2019-06-16 Thread Gerd Hoffmann
Packages are fetched via proxy that way, if configured on the host. That might be required to pass firewalls, and it allows to route package downloads through a caching proxy server. Needs AcceptEnv setup in sshd_config on the guest side to work. Signed-off-by: Gerd Hoffmann Reviewed-by: Philipp

[Qemu-devel] [PATCH v4 11/11] tests/vm: ubuntu.i386: apt proxy setup

2019-06-16 Thread Gerd Hoffmann
Configure apt proxy so package downloads can be cached and can pass firewalls. Signed-off-by: Gerd Hoffmann Reviewed-by: Philippe Mathieu-Daudé --- tests/vm/ubuntu.i386 | 4 1 file changed, 4 insertions(+) diff --git a/tests/vm/ubuntu.i386 b/tests/vm/ubuntu.i386 index a22d137e76df..b869af

[Qemu-devel] [PATCH v4 05/11] tests/vm: add vm-boot-{ssh, serial}- targets

2019-06-16 Thread Gerd Hoffmann
For testing/troubleshooting convinience. make vm-boot-serial- Boot guest, with the serial console on stdio. make vm-boot-ssh- Boot guest, login via ssh. Signed-off-by: Gerd Hoffmann Tested-by: Thomas Huth --- tests/vm/Makefile.include | 19 +++ 1 file changed, 19 insertion

[Qemu-devel] [PATCH v4 00/11] tests/vm: serial console autoinstall, misc fixes.

2019-06-16 Thread Gerd Hoffmann
This patch series changes the way virtual machines for test builds are managed. They are created locally on the developer machine now. The installer is booted on the serial console and the scripts walks through the dialogs to install and configure the guest. That takes the download.patchew.org s

[Qemu-devel] [PATCH v4 03/11] tests/vm: run test builds on snapshot

2019-06-16 Thread Gerd Hoffmann
The build script doesn't shutdown the guest VMs properly, which results in filesystem corruption and guest boot failures sooner or later. Use the --snapshot to run builds on a snapshot, That way killing the VM doesn't corrupt the base image. Signed-off-by: Gerd Hoffmann Tested-by: Thomas Huth -

[Qemu-devel] [PATCH v4 08/11] tests/vm: freebsd autoinstall, using serial console

2019-06-16 Thread Gerd Hoffmann
Instead of fetching the prebuilt image from patchew download the install iso and prepare the image locally. Install to disk, using the serial console. Create qemu user, configure ssh login. Install packages needed for qemu builds. Note that freebsd package downloads are delivered as non-cachabl

[Qemu-devel] [PATCH v4 06/11] tests/vm: serial console support helpers

2019-06-16 Thread Gerd Hoffmann
Add a bunch of helpers to talk to the guest using the serial console. Also drop the hard-coded -serial parameter for the vm so QEMUMachine.set_console() actually works. Signed-off-by: Gerd Hoffmann Tested-by: Thomas Huth --- tests/vm/basevm.py | 86 -

[Qemu-devel] [PATCH v4 09/11] tests/vm: netbsd autoinstall, using serial console

2019-06-16 Thread Gerd Hoffmann
Instead of fetching the prebuilt image from patchew download the install iso and prepare the image locally. Install to disk, using the serial console. Create qemu user, configure ssh login. Install packages needed for qemu builds. Signed-off-by: Gerd Hoffmann Reviewed-by: Kamil Rytarowski Tes

[Qemu-devel] [PATCH v4 07/11] tests/vm: openbsd autoinstall, using serial console

2019-06-16 Thread Gerd Hoffmann
Instead of fetching the prebuilt image from patchew download the install iso and prepare the image locally. Install to disk, using the serial console. Create qemu user, configure ssh login. Install packages needed for qemu builds. Signed-off-by: Gerd Hoffmann --- tests/vm/openbsd | 159 ++

Re: [Qemu-devel] [PATCH qemu] loader: Trace loaded images

2019-06-16 Thread Philippe Mathieu-Daudé
On 6/17/19 3:25 AM, Alexey Kardashevskiy wrote: > On 14/06/2019 19:33, Stefan Hajnoczi wrote: >> On Fri, Jun 14, 2019 at 10:13:04AM +1000, Alexey Kardashevskiy wrote: >>> >>> >>> On 13/06/2019 23:08, Philippe Mathieu-Daudé wrote: Hi Alexey, On 6/13/19 7:09 AM, Alexey Kardashevskiy wr

Re: [Qemu-devel] [PATCH v5 1/6] machine: Convert the valid cpu types to use cpu_model

2019-06-16 Thread Philippe Mathieu-Daudé
Hi Igor, Eduardo, On 2/6/18 3:43 PM, Igor Mammedov wrote: > On Mon, 5 Feb 2018 20:42:05 -0200 > Eduardo Habkost wrote: > >> On Mon, Feb 05, 2018 at 03:42:02PM +0100, Igor Mammedov wrote: >>> On Mon, 5 Feb 2018 11:54:01 -0200 >>> Eduardo Habkost wrote: >>> On Mon, Feb 05, 2018 at 12:22:3

Re: [Qemu-devel] Publishing binary images for testing

2019-06-16 Thread Philippe Mathieu-Daudé
Hi Cleber, On 5/11/18 4:27 PM, Cleber Rosa wrote: > On 05/11/2018 09:55 AM, Eduardo Habkost wrote: >> (CCing Cleber and avocado-devel in case they have suggestions) >> >> On Tue, May 08, 2018 at 12:47:52PM -0300, Philippe Mathieu-Daudé wrote: >> [...] >>> Ironically I have been using the Gumstix m

Re: [Qemu-devel] [PATCH v3 1/5] virtio: add "use-started" property

2019-06-16 Thread Greg Kurz
On Mon, 17 Jun 2019 10:14:30 +0800 Yongji Xie wrote: > On Fri, 14 Jun 2019 at 19:45, Greg Kurz wrote: > > > > On Fri, 14 Jun 2019 17:31:17 +0800 > > elohi...@gmail.com wrote: > > > > > From: Xie Yongji > > > > > > In order to avoid migration issues, we introduce a "use-started" > > > property

[Qemu-devel] [Bug 1722074] Re: warning: host doesn't support requested feature: CPUID.01H:ECX.vmx

2019-06-16 Thread Christian Ehrhardt 
Hi, Ken - I think all I said in comment #2 still applies (and likely won't change). It really is a non-issue warning - and even if you e.g. have a zero- warning-allowed policy then you can easily avoid that by using a CPU type that doesn't enable it by default or switch it on/off as needed. In lib

Re: [Qemu-devel] [PATCH v3 1/5] virtio: add "use-started" property

2019-06-16 Thread Yongji Xie
On Mon, 17 Jun 2019 at 13:24, Greg Kurz wrote: > > On Mon, 17 Jun 2019 10:14:30 +0800 > Yongji Xie wrote: > > > On Fri, 14 Jun 2019 at 19:45, Greg Kurz wrote: > > > > > > On Fri, 14 Jun 2019 17:31:17 +0800 > > > elohi...@gmail.com wrote: > > > > > > > From: Xie Yongji > > > > > > > > In order t

Re: [Qemu-devel] [QEMU] [PATCH v2 0/8] Add Qemu to SeaBIOS LCHS interface

2019-06-16 Thread Gerd Hoffmann
Hi, > > Ok, given that seabios has no setup any manual configuration needs to be > > done via qemu. > > > > But why do we need a new interface for that? IDE can pass the geometry > > to the guest. virtio-blk has support too (VIRTIO_BLK_F_GEOMETRY). > > Likewise scsi (MODE_PAGE_HD_GEOMETRY).

Re: [Qemu-devel] [PATCH] nvme: do not advertise support for unsupported arbitration mechanism

2019-06-16 Thread Klaus Birkelund
On Fri, Jun 14, 2019 at 10:39:27PM +0200, Max Reitz wrote: > On 06.06.19 11:25, Klaus Birkelund Jensen wrote: > > The device mistakenly reports that the Weighted Round Robin with Urgent > > Priority Class arbitration mechanism is supported. > > > > It is not. > > I believe you based on the fact t

<    1   2