Re: [Qemu-devel] [PULL 0/6] updated SCSI changes for 1.1.0-rc4

2012-05-29 Thread Anthony Liguori
On 05/29/2012 04:20 AM, Paolo Bonzini wrote: The following changes since commit aeb29b6459cb9496b38c820f3faff64cf2369d0d: audio: Always call fini on exit (2012-05-24 19:35:27 +0400) are available in the git repository at: git://github.com/bonzini/qemu.git scsi-next for you to fetch

Re: [Qemu-devel] [PULL] slirp: Various build fixes

2012-05-29 Thread Anthony Liguori
On 05/29/2012 02:39 AM, Jan Kiszka wrote: The following changes since commit 24f50d7ea5896a30b0e78f68884586bb8b40ff97: tcg/ppc: Handle _CALL_DARWIN being undefined on Darwin (2012-05-27 21:52:56 +0400) are available in the git repository at: git://git.kiszka.org/qemu.git queues/slirp

Re: [Qemu-devel] [PULL 00/10] Block patches for 1.1

2012-05-29 Thread Anthony Liguori
On 05/25/2012 12:38 PM, Kevin Wolf wrote: The following changes since commit aeb29b6459cb9496b38c820f3faff64cf2369d0d: audio: Always call fini on exit (2012-05-24 19:35:27 +0400) Pulled. Thanks. Regards, Anthony Liguori are available in the git repository at:

Re: [Qemu-devel] [PULL 1.1] Xen fixes for 1.1-rc3

2012-05-29 Thread Anthony Liguori
On 05/17/2012 11:52 AM, Stefano Stabellini wrote: Hi Anthony, please pull: git://xenbits.xen.org/people/sstabellini/qemu-dm.git for_1.1_rc3 Pulled. Thanks. Regards, Anthony Liguori Anthony PERARD (1): xen: Fix PV-on-HVM Jan Beulich (1): xen_disk: properly update stats

Re: [Qemu-devel] [PATCH 1/3 v9] add-cow file format

2012-05-29 Thread Dong Xu Wang
On Tue, May 29, 2012 at 11:50 PM, Stefan Hajnoczi stefa...@gmail.com wrote: +    image_sectors = image_bs-total_sectors; Please use bdrv_getlength() instead of accessing total_sectors directly. +    image_drv = bdrv_find_format(raw); +    ret = bdrv_open(s-image_hd, image_filename, flags,

Re: [Qemu-devel] [PULL 1.1] qemu-ga build fix for OpenBSD

2012-05-29 Thread Michael Roth
On Tue, May 29, 2012 at 08:25:54PM -0500, Anthony Liguori wrote: On 05/29/2012 10:30 AM, Michael Roth wrote: On Thu, May 24, 2012 at 01:52:39PM -0500, Michael Roth wrote: The following changes since commit aeb29b6459cb9496b38c820f3faff64cf2369d0d: audio: Always call fini on exit

Re: [Qemu-devel] [PATCH 1/3 v9] add-cow file format

2012-05-29 Thread Anthony Liguori
On 05/08/2012 01:34 AM, Dong Xu Wang wrote: Provide a new file format: add-cow. The usage can be found in add-cow.txt of this patch. CC: Kevin Wolfkw...@redhat.com CC: Stefan Hajnoczistefa...@linux.vnet.ibm.com Signed-off-by: Dong Xu Wangwdon...@linux.vnet.ibm.com You should split out the

Re: [Qemu-devel] [PATCH] fix multiboot loading if load_end_addr == 0

2012-05-29 Thread Anthony Liguori
On 03/27/2012 03:27 AM, Scott Moser wrote: The previous multiboot load code did not treat the case where load_end_addr was 0 specially. The multiboot specification says the following: * load_end_addr Contains the physical address of the end of the data segment. (load_end_addr -

Re: [Qemu-devel] [PATCH] vga: fix vram double-mapping with -vga std and -M pc-0.12

2012-05-29 Thread Anthony Liguori
On 05/09/2012 11:23 PM, Avi Kivity wrote: With pc-0.12, we map the video RAM both through the PCI BAR (the guest does this) and through a fixed mapping at 0xe000. The memory API doesn't allow this double map, and aborts. Fix by using an alias. Reported-by: Michael Tokarevm...@tls.msk.ru

Re: [Qemu-devel] [PATCH v3] pci: call object_unparent() before free_qdev()

2012-05-29 Thread Anthony Liguori
On 05/20/2012 05:57 PM, Amos Kong wrote: Start VM with 8 multiple-function block devs, hot-removing those block devs by 'device_del ...' would cause qemu abort. | (qemu) device_del virti0-0-0 | (qemu) ** |ERROR:qom/object.c:389:object_delete: assertion failed: (obj-ref == 0) It's a regression

Re: [Qemu-devel] Android Goldfish on QEMU

2012-05-29 Thread Wei-Ren Chen
Is goldfish still a relevant Android dev platform? In other words - would goldfish be useful to Android developers or just cool for QEMU hackers and old-school Android enthusiasts? It's still the base of the emulator you get with current SDKs. FWIW, latest AOSP (today's git checkout)

Re: [Qemu-devel] [PATCH 1.1] virtio: Fix compiler warning for non Linux hosts

2012-05-29 Thread Anthony Liguori
On 05/28/2012 08:39 PM, Stefan Hajnoczi wrote: On Wed, May 23, 2012 at 5:03 PM, Stefan Weils...@weilnetz.de wrote: Am 23.05.2012 17:32, schrieb Kevin Wolf: Maybe, but I already had patches rejected because of that style. Did this policy change? I'd appreciate that! Agreed, people have been

Re: [Qemu-devel] [PATCH v3] Prevent disk data loss when closing qemu

2012-05-29 Thread Anthony Liguori
On 05/29/2012 09:26 PM, Pavel Dovgaluk wrote: Prevent disk data loss when closing qemu console window under Windows 7. v3. Comment for Sleep() parameter was updated. Signed-off-by: Pavel Dovgalyukpavel.dovga...@gmail.com --- os-win32.c |6 +- 1 files changed, 5 insertions(+), 1

Re: [Qemu-devel] [ANNOUNCE] QEMU 1.1-rc3 release

2012-05-29 Thread Anthony Liguori
On 05/22/2012 11:09 PM, Jan Kiszka wrote: On 2012-05-22 11:32, Anthony Liguori wrote: Hi, On behalf of the QEMU Team, I'd like to announce the availability of the third release candidate for the QEMU 1.1 release. This release is meant for testing purposes and should not be used in a

Re: [Qemu-devel] [PULL 1.1] qemu-ga build fix for OpenBSD

2012-05-29 Thread Anthony Liguori
On 05/30/2012 09:54 AM, Michael Roth wrote: On Tue, May 29, 2012 at 08:25:54PM -0500, Anthony Liguori wrote: On 05/29/2012 10:30 AM, Michael Roth wrote: On Thu, May 24, 2012 at 01:52:39PM -0500, Michael Roth wrote: The following changes since commit aeb29b6459cb9496b38c820f3faff64cf2369d0d:

Re: [Qemu-devel] OpenBIOS for v1.1.0

2012-05-29 Thread Anthony Liguori
On 05/30/2012 06:28 AM, Peter Maydell wrote: On 29 May 2012 16:02, Andreas Färberafaer...@suse.de wrote: commit 7d21dcc84b8c07918124a9c0708694d2fb013f65 updated the binaries to r1056 but did not update the submodule, so the tarballs are shipping old sources. ...I wonder if it would be

Re: [Qemu-devel] [PATCH 1.1?] qemu_rearm_alarm_timer: do not call rearm if the next deadline is INT64_MAX

2012-05-29 Thread Anthony Liguori
On 05/30/2012 05:07 AM, Paolo Bonzini wrote: Il 29/05/2012 19:09, Stefan Weil ha scritto: Am 29.05.2012 15:35, schrieb Stefano Stabellini: qemu_rearm_alarm_timer partially duplicates the code in qemu_next_alarm_deadline to figure out if it needs to rearm the timer. If it calls

Re: [Qemu-devel] [PULL 1.1] qemu-ga build fix for OpenBSD

2012-05-29 Thread Michael Roth
On Wed, May 30, 2012 at 10:37:09AM +0800, Anthony Liguori wrote: On 05/30/2012 09:54 AM, Michael Roth wrote: On Tue, May 29, 2012 at 08:25:54PM -0500, Anthony Liguori wrote: On 05/29/2012 10:30 AM, Michael Roth wrote: On Thu, May 24, 2012 at 01:52:39PM -0500, Michael Roth wrote: The following

[Qemu-devel] [PULL 1.1] qemu-ga build/fsfreeze fixes v2

2012-05-29 Thread Michael Roth
The following changes since commit 1c4ad9d2b4b5f2be08588a91e4193d13cc314282: Merge remote-tracking branch 'afaerber-or/cocoa-for-upstream' into staging (2012-05-29 06:54:16 -0500) are available in the git repository at: git://github.com/mdroth/qemu.git qga-pull-5-29-12-v2 Andreas Färber

[Qemu-devel] [PATCH 2/2] qemu-ga: avoid blocking on atime update when reading /etc/mtab

2012-05-29 Thread Michael Roth
Currently we re-read/re-process /etc/mtab to get an updated list of mounts when guest-fsfreeze-thaw is called. This can cause an atime update on /etc/mtab, which will block if we're in a frozen state. Instead, use /proc's version of mtab, which may not be up-to-date with options passed via -o

[Qemu-devel] [PATCH 1/2] qemu-ga: Fix use of environ on Darwin

2012-05-29 Thread Michael Roth
From: Andreas Färber andreas.faer...@web.de Use _NSGetEnviron() helper to access the environment. Signed-off-by: Andreas Färber andreas.faer...@web.de Cc: Charlie Somerville char...@charliesomerville.com Signed-off-by: Michael Roth mdr...@linux.vnet.ibm.com --- qga/commands-posix.c |5 +

[Qemu-devel] [PATCH 1/1 v5] Allow machines to configure the QEMU_VERSION that's exposed via hardware

2012-05-29 Thread Crístian Viana
QEMU exposes its version to the guest's hardware and in some cases that is wrong (e.g. Windows prints messages about driver updates when you switch the QEMU version). There is a new field now on the struct QEmuMachine, hw_version, which may contain the version that the specific machine should

Re: [Qemu-devel] [PATCH 1/1 v5] Allow machines to configure the QEMU_VERSION that's exposed via hardware

2012-05-29 Thread Wei-Ren Chen
diff --git a/hw/bt-sdp.c b/hw/bt-sdp.c index 3e390ab..c0431d1 100644 --- a/hw/bt-sdp.c +++ b/hw/bt-sdp.c @@ -834,7 +834,7 @@ SERVICE(hid, ATTRIBUTE(DOC_URL, URL(http://bellard.org/qemu/user-doc.html;)) I know it's not relate to this patch, but the above link seems not

Re: [Qemu-devel] [PATCH 1/1 v5] Allow machines to configure the QEMU_VERSION that's exposed via hardware

2012-05-29 Thread Peter Maydell
On 30 May 2012 04:51, 陳韋任 (Wei-Ren Chen) che...@iis.sinica.edu.tw wrote: diff --git a/hw/bt-sdp.c b/hw/bt-sdp.c index 3e390ab..c0431d1 100644 --- a/hw/bt-sdp.c +++ b/hw/bt-sdp.c @@ -834,7 +834,7 @@ SERVICE(hid,      ATTRIBUTE(DOC_URL,         URL(http://bellard.org/qemu/user-doc.html;))  I

Re: [Qemu-devel] [PATCH 1/1 v5] Allow machines to configure the QEMU_VERSION that's exposed via hardware

2012-05-29 Thread Wei-Ren Chen
On Wed, May 30, 2012 at 04:54:26AM +0100, Peter Maydell wrote: On 30 May 2012 04:51, 陳韋任 (Wei-Ren Chen) che...@iis.sinica.edu.tw wrote: diff --git a/hw/bt-sdp.c b/hw/bt-sdp.c index 3e390ab..c0431d1 100644 --- a/hw/bt-sdp.c +++ b/hw/bt-sdp.c @@ -834,7 +834,7 @@ SERVICE(hid,      

Re: [Qemu-devel] [PATCH 1/1 v5] Allow machines to configure the QEMU_VERSION that's exposed via hardware

2012-05-29 Thread Peter Maydell
On 30 May 2012 04:57, 陳韋任 (Wei-Ren Chen) che...@iis.sinica.edu.tw wrote: On Wed, May 30, 2012 at 04:54:26AM +0100, Peter Maydell wrote: On 30 May 2012 04:51, 陳韋任 (Wei-Ren Chen) che...@iis.sinica.edu.tw wrote: diff --git a/hw/bt-sdp.c b/hw/bt-sdp.c index 3e390ab..c0431d1 100644 ---

[Qemu-devel] [PATCH 1/1] Fix strcpy calls

2012-05-29 Thread Crístian Viana
Replace some strcpy and strncpy calls by pstrcpy because the former ones may cause buffer overflow and may also not write a null-terminating character at the end of the resulting string Signed-off-by: Crístian Viana via...@linux.vnet.ibm.com --- According to the file HACKING, the functions strcpy

Re: [Qemu-devel] [PATCH v3] pci: call object_unparent() before free_qdev()

2012-05-29 Thread Michael S. Tsirkin
On Wed, May 30, 2012 at 10:13:07AM +0800, Anthony Liguori wrote: On 05/20/2012 05:57 PM, Amos Kong wrote: Start VM with 8 multiple-function block devs, hot-removing those block devs by 'device_del ...' would cause qemu abort. | (qemu) device_del virti0-0-0 | (qemu) **

Re: [Qemu-devel] [PATCH 1/1] Fix strcpy calls

2012-05-29 Thread Peter Maydell
On 30 May 2012 05:59, Crístian Viana via...@linux.vnet.ibm.com wrote: Replace some strcpy and strncpy calls by pstrcpy because the former ones may cause buffer overflow and may also not write a null-terminating character at the end of the resulting string Signed-off-by: Crístian Viana

<    1   2