Re: [Qemu-devel] [RFC 23/29] vub+postcopy: madvises

2017-08-06 Thread Alexey Perevalov
On 06/28/2017 10:00 PM, Dr. David Alan Gilbert (git) wrote: From: "Dr. David Alan Gilbert" Clear the area and turn off THP. Signed-off-by: Dr. David Alan Gilbert --- contrib/libvhost-user/libvhost-user.c | 32 ++-- 1

[Qemu-devel] [Bug 779151] Re: qemu-nbd crash during using with chroot

2017-08-06 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/779151 Title: qemu-nbd

[Qemu-devel] [Bug 816860] Re: Guest machine freezes when NFS mount goes offline

2017-08-06 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/816860 Title: Guest

[Qemu-devel] [Bug 796480] Re: Addresses with 4GB differences are consider as one single address in QEMU

2017-08-06 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/796480 Title: Addresses

[Qemu-devel] [PATCH 2/2] block/vhdx: check for offset overflow to bdrv_truncate()

2017-08-06 Thread Jeff Cody
VHDX uses uint64_t types for most offsets, following the VHDX spec. However, bdrv_truncate() takes an int64_t value for the truncating offset. Check for overflow before calling bdrv_truncate(). N.B.: For a compliant image this is not an issue, as the maximum VHDX image size is defined per the

[Qemu-devel] [PATCH 1/2] block/vhdx: check error return of bdrv_getlength()

2017-08-06 Thread Jeff Cody
Calls to bdrv_getlength() were not checking for error. In vhdx.c, this can lead to truncating an image file, so it is a definite bug. In vhdx-log.c, the path for improper behavior is less clear, but it is best to check in any case. Reported-by: Markus Armbruster

[Qemu-devel] [PATCH 0/2] VHDX cleanup

2017-08-06 Thread Jeff Cody
Two VHDX items cleaned up: 1. Check for error when calling bdrv_getlength() [Markus] 2. Check for overflow in offset prior to calling bdrv_truncate(). Jeff Cody (2): block/vhdx: check error return of bdrv_getlength() block/vhdx: check for offset overflow to bdrv_truncate()

Re: [Qemu-devel] [PATCH for-2.11 0/5] qmp-shell non-interactive mode, delete scripts/qmp/qmp

2017-08-06 Thread Fam Zheng
On Sat, 08/05 16:11, Eduardo Habkost wrote: > On Sat, Aug 05, 2017 at 10:56:20PM +0800, Fam Zheng wrote: > > On Fri, 08/04 18:36, Eduardo Habkost wrote: > > > This series adds the ability to run QMP commands > > > non-interactively to qmp-shell, and deletes scripts/qmp/qmp. > > > > Hmm, not so

Re: [Qemu-devel] Do we need a "virt-2.10" machine type before the 2.10 release?

2017-08-06 Thread Paolo Bonzini
On 04/08/2017 19:48, Dr. David Alan Gilbert wrote: >> >> (I don't know if there have in fact been any changes between >> 2.9 and 2.10 that would be compatibility issues.) > I think there's two sub questions: > a) The virt-2.9 needs to pick up HW_COMPAT_2_9 if anything > in it is relevant for

Re: [Qemu-devel] [PATCH v3] build-sys: add --disable-vhost-user

2017-08-06 Thread Paolo Bonzini
On 05/08/2017 09:39, Thomas Huth wrote: >> +CONFIG_VHOST_USER_SCSI=$(and $(CONFIG_VHOST_USER),$(CONFIG_LINUX)) > I have to say that I don't really like using $(and ...) in our makefiles > like this. You rely on the fact that the config variables are either set > to "y" or not set at all ... but if

Re: [Qemu-devel] [PATCH v3 2/3] pci: add QEMU-specific PCI capability structure

2017-08-06 Thread Marcel Apfelbaum
On 04/08/2017 23:47, Alexander Bezzubikov wrote: 2017-08-04 23:28 GMT+03:00 Laszlo Ersek : On 08/04/17 20:59, Alexander Bezzubikov wrote: 2017-08-01 20:28 GMT+03:00 Alexander Bezzubikov : 2017-08-01 16:38 GMT+03:00 Marcel Apfelbaum :

Re: [Qemu-devel] Editing qemu source code

2017-08-06 Thread Stefan Weil
Am 06.08.2017 um 13:25 schrieb Shantanu Agarwal: > Hello all, > I was reading about qemu, trying to understand the source code. I found > that vl.c is considered the main file of qemu source code from where all > the execution starts. So I flipped some values, i even put a exit(0) just > after the

[Qemu-devel] Editing qemu source code

2017-08-06 Thread Shantanu Agarwal
Hello all, I was reading about qemu, trying to understand the source code. I found that vl.c is considered the main file of qemu source code from where all the execution starts. So I flipped some values, i even put a exit(0) just after the int main starts, but nothing is changed. Qemu is fully

Re: [Qemu-devel] [PATCH] pc/acpi: Fix booting of macOS with Clover EFI bootloader

2017-08-06 Thread Laszlo Ersek
On 08/06/17 09:38, Dhiru Kholia wrote: > On Sat, Aug 05, 2017 at 10:05:09PM +0200, Laszlo Ersek wrote: >> On 08/05/17 13:46, Dhiru Kholia wrote: >>> On Sat, Aug 5, 2017 at 2:00 PM, Dhiru Kholia wrote: I ran git bisect on OVMF repository [5] to find the commit that

Re: [Qemu-devel] [PATCH] pc/acpi: Fix booting of macOS with Clover EFI bootloader

2017-08-06 Thread Dhiru Kholia
On Sat, Aug 05, 2017 at 10:05:09PM +0200, Laszlo Ersek wrote: > On 08/05/17 13:46, Dhiru Kholia wrote: > > On Sat, Aug 5, 2017 at 2:00 PM, Dhiru Kholia wrote: > >> I ran git bisect on OVMF repository [5] to find the commit that broke > >> booting of macOS + Clover