[Qemu-devel] [PATCH v2 5/7] tpm: extend TPM emulator with state migration support

2017-10-27 Thread Stefan Berger
Extend the TPM emulator backend device with state migration support. The external TPM emulator 'swtpm' provides a protocol over its control channel to retrieve its state blobs. We implement functions for getting and setting the different state blobs. Since we have an external TPM emulator, we nee

Re: [Qemu-devel] [SeaBIOS] Time for a seabios 1.11 release?

2017-10-27 Thread Kevin O'Connor
On Thu, Sep 28, 2017 at 10:08:03AM +0200, Gerd Hoffmann wrote: > On Wed, 2017-09-27 at 09:51 -0400, Kevin O'Connor wrote: > > On Tue, Sep 26, 2017 at 09:33:09AM +0200, Gerd Hoffmann wrote: > > >    Hi, > > > > > > Quite a few changes accumulated in master.  Time to plan a new > > > release > > > I

[Qemu-devel] [Bug 524447] Re: virsh save is very slow

2017-10-27 Thread Bug Watch Updater
Launchpad has imported 4 comments from the remote bug at https://bugzilla.redhat.com/show_bug.cgi?id=599091. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help

Re: [Qemu-devel] [PATCH v2 4/4] build: don't fail if given a git submodule which does not exist

2017-10-27 Thread Alexey Kardashevskiy
On 28/10/17 00:14, Daniel P. Berrange wrote: > If going back in time in git history, across a commit that introduces a new > submodule, the 'git-submodule.sh' script will fail, causing rebuild to fail. > > This is because config-host.mak contains a GIT_SUBMODULES variable that lists > a submodule

Re: [Qemu-devel] [PATCH v2 1/4] build: allow setting a custom GIT binary for transparent proxying

2017-10-27 Thread Alexey Kardashevskiy
On 28/10/17 00:14, Daniel P. Berrange wrote: > Some users can't run a bare 'git' command, due to need for a transparent > proxying solution such as 'tsocks'. This adds an argument to configure to > let users specify such a thing: > > ./configure --with-git="tsocks git" > > The submodule script

[Qemu-devel] [PATCH] xen/pt: Set is_express to avoid out-of-bounds write

2017-10-27 Thread Simon Gaiser
The passed-through device might be an express device. In this case the old code allocated a too small emulated config space in pci_config_alloc() since pci_config_size() returned the size for a non-express device. This leads to an out-of-bound write in xen_pt_config_reg_init(), which sometimes resu

[Qemu-devel] [Bug 551545] Re: PXE netboot not booting localboot from virtio-disk

2017-10-27 Thread Bug Watch Updater
Launchpad has imported 37 comments from the remote bug at https://bugzilla.redhat.com/show_bug.cgi?id=472236. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://hel

[Qemu-devel] drive_add: file names with spaces

2017-10-27 Thread Programmingkid
I'm trying to use an image file that has spaces in its file name (and sometimes in the path) to be used as a USB flash drive. When I try adding the image file using the drive_add command I see this error: drive_add: extraneous characters at the end of the line I have tried using single and doub

Re: [Qemu-devel] [PATCH v2 3/4] build: allow automatic git submodule updates to be disabled

2017-10-27 Thread Eric Blake
On 10/27/2017 03:14 PM, Daniel P. Berrange wrote: > Some people building QEMU use VPATH builds where the source directory is on a > read-only volume. In such a case 'scripts/git-submodules.sh update' will > always > fail and users are required to run it manually themselves on their original > writ

Re: [Qemu-devel] [PATCH v2 2/4] build: don't create temporary files in source dir

2017-10-27 Thread Eric Blake
On 10/27/2017 03:14 PM, Daniel P. Berrange wrote: > There are cases where users do VPATH builds with the source directory being on > a read-only volume. In such a case they have to manually run the command > 'git-submodule.sh ...modules...' manually ahead of time. When checking for One of the two

Re: [Qemu-devel] [PATCH v2] linux-user: fix is_proc_myself to check the paths via realpath

2017-10-27 Thread Eric Blake
On 10/27/2017 09:07 PM, Zach Riggle wrote: > Another case that may be more relevant for general QEMU use, is that the > current code fails if the software under test has poor path-handling code. > For example, any of > > - //proc/self/maps > - /proc//self/maps > - /proc/self//maps > > Will all re

Re: [Qemu-devel] [PATCH v2 0/4] Various improvements to submodule handling

2017-10-27 Thread Eric Blake
On 10/27/2017 03:14 PM, Daniel P. Berrange wrote: > I've sent a variety of improvements to submodule handling as separate patches > and its getting slightly confusing. So here is a series with all patches added > together. I've also included a fix that helps us go backwards in time across > the int

Re: [Qemu-devel] [PATCH v2 4/4] build: don't fail if given a git submodule which does not exist

2017-10-27 Thread Eric Blake
On 10/28/2017 03:27 AM, Alexey Kardashevskiy wrote: > On 28/10/17 00:14, Daniel P. Berrange wrote: >> If going back in time in git history, across a commit that introduces a new >> submodule, the 'git-submodule.sh' script will fail, causing rebuild to fail. >> >> +do >> +$GIT submodule status

Re: [Qemu-devel] drive_add: file names with spaces

2017-10-27 Thread Eric Blake
On 10/28/2017 06:44 AM, Programmingkid wrote: > I'm trying to use an image file that has spaces in its file name (and > sometimes in the path) to be used as a USB flash drive. When I try adding the > image file using the drive_add command I see this error: drive_add: > extraneous characters at t

Re: [Qemu-devel] [PATCH v1 1/1] xlnx-zcu102: Specify the number of max CPUs

2017-10-27 Thread Alistair Francis
On Fri, Oct 27, 2017 at 8:22 PM, Philippe Mathieu-Daudé wrote: > Hi Alistair, > > On 10/27/2017 11:35 AM, Alistair Francis wrote: >> Specify the number of CPUs that can run on ZynqMP. >> >> Signed-off-by: Alistair Francis >> --- >> >> hw/arm/xlnx-zcu102.c | 1 + >> 1 file changed, 1 insertion(+)

Re: [Qemu-devel] [PATCH v2 2/4] build: don't create temporary files in source dir

2017-10-27 Thread Alexey Kardashevskiy
On 28/10/17 16:25, Eric Blake wrote: > On 10/27/2017 03:14 PM, Daniel P. Berrange wrote: >> There are cases where users do VPATH builds with the source directory being >> on >> a read-only volume. In such a case they have to manually run the command >> 'git-submodule.sh ...modules...' manually ah

Re: [Qemu-devel] iotest 194 fails on vhdx

2017-10-27 Thread Alexey Kardashevskiy
On 27/10/17 18:12, Jeff Cody wrote: > On Wed, Oct 25, 2017 at 05:06:37PM +1100, Alexey Kardashevskiy wrote: >> On 25/10/17 15:29, Alexey Kardashevskiy wrote: >>> Hi! >>> >>> The latest QEMU fails on: >>> tests/qemu-iotests/check -vhdx 194 >> >> >> Bit more details: >> >> 1. the assert started appea

Re: [Qemu-devel] [PATCH v4] s390-ccw: print carriage return with new lines

2017-10-27 Thread Cornelia Huck
On Fri, 27 Oct 2017 12:14:53 -0400 "Collin L. Walling" wrote: > The sclp console in the s390 bios writes raw data, > leading console emulators (such as virsh console) to > treat a new line ('\n') as just a new line instead > of as a Unix line feed. Because of this, output > appears in a "stair ca

<    1   2   3