[Qemu-devel] [#VHI-864-74809]: [Bug 1207825] Re: "change ide1-cd0 /path/to/file.iso" doesn't work in qemu-kvm

2013-08-02 Thread TeamSpeak Piracy
Bug 1207825, Thank you for contacting us. This is an automated response confirming the receipt of your ticket. One of our agents will get back to you as soon as possible. For your records, the details of the ticket are listed below. When replying, please make sure that the ticket ID is kept in the

[Qemu-devel] [#VGQ-778-17741]: [Bug 1207896] [NEW] binfmt wrapper for argv[0] handling

2013-08-02 Thread TeamSpeak Piracy
Bug 1207896, Thank you for contacting us. This is an automated response confirming the receipt of your ticket. One of our agents will get back to you as soon as possible. For your records, the details of the ticket are listed below. When replying, please make sure that the ticket ID is kept in the

[Qemu-devel] [#RXO-209-91580]: Re: [Bug 1207686] [NEW] qemu-1.4.0 and onwards, linux kernel 3.2.x, heavy I/O leads to kernel_hung_tasks_timout_secs message and unresponsive qemu-process

2013-08-02 Thread TeamSpeak Piracy
Bug 1207686, Thank you for contacting us. This is an automated response confirming the receipt of your ticket. One of our agents will get back to you as soon as possible. For your records, the details of the ticket are listed below. When replying, please make sure that the ticket ID is kept in the

[Qemu-devel] [Bug 1207825] Re: "change ide1-cd0 /path/to/file.iso" doesn't work in qemu-kvm

2013-08-02 Thread Andreas Färber
qemu-kvm is long obsolete. QEMU 1.5.2 is the latest stable version, and we're about to release v1.6.0. ** Changed in: qemu Status: New => Invalid -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/

[Qemu-devel] [Bug 1207896] [NEW] binfmt wrapper for argv[0] handling

2013-08-02 Thread puchuu
Public bug reported: Please, add patch https://lists.gnu.org/archive/html/qemu- devel/2011-09/msg03841.html to upstream. 2 years have passed and this patch is not jet applied. Why? 99% GNU/Linux distribution uses qemu with this patch. It is 100% needed. ** Affects: qemu Importance: Undecided

Re: [Qemu-devel] [PATCH for-1.6 01/11] ignore SIGPIPE in qemu-img and qemu-io

2013-08-02 Thread Doug Goldstein
On Tue, Jul 23, 2013 at 4:19 AM, Paolo Bonzini wrote: > Il 23/07/2013 10:30, MORITA Kazutaka ha scritto: >> This prevents the tools from being stopped when they write data to a >> closed connection in the other side. >> >> Signed-off-by: MORITA Kazutaka >> --- >> qemu-img.c | 4 >> qemu-io.

[Qemu-devel] [#HOX-634-89911]: Re: [PATCH 02/11] iov: handle EOF in iov_send_recv

2013-08-02 Thread TeamSpeak Piracy
Doug Goldstein, Thank you for contacting us. This is an automated response confirming the receipt of your ticket. One of our agents will get back to you as soon as possible. For your records, the details of the ticket are listed below. When replying, please make sure that the ticket ID is kept in

Re: [Qemu-devel] [PATCH 02/11] iov: handle EOF in iov_send_recv

2013-08-02 Thread Doug Goldstein
On Tue, Jul 23, 2013 at 6:28 AM, Paolo Bonzini wrote: > Il 23/07/2013 10:30, MORITA Kazutaka ha scritto: >> Without this patch, iov_send_recv() never returns when do_send_recv() >> returns zero. >> >> Signed-off-by: MORITA Kazutaka >> --- >> util/iov.c | 6 ++ >> 1 file changed, 6 insertions

[Qemu-devel] [#RLA-650-54725]: Re: Using virtio-mmio

2013-08-02 Thread TeamSpeak Piracy
Yao Xingtao, Thank you for contacting us. This is an automated response confirming the receipt of your ticket. One of our agents will get back to you as soon as possible. For your records, the details of the ticket are listed below. When replying, please make sure that the ticket ID is kept in the

Re: [Qemu-devel] Using virtio-mmio

2013-08-02 Thread Yao Xingtao
-- 发件人:Erlon Cruz 发送日期:2013-08-03 03:57:09 收件人:Richard W.M. Jones 抄送:Peter Maydell; qemu-devel 主题:Re: [Qemu-devel] Using virtio-mmio -- 发件人:Erlon Cruz 发送日期:2013-08-03 03:57:09 收件人:Richard W.M. Jones 抄送:

Re: [Qemu-devel] [PATCH 4/4] xics: Support for in-kernel XICS interrupt controller

2013-08-02 Thread Alexey Kardashevskiy
On 08/03/2013 12:57 AM, Alexey Kardashevskiy wrote: > On 08/01/2013 11:29 AM, Andreas Färber wrote: >> Am 01.08.2013 02:14, schrieb Alexey Kardashevskiy: >>> On 08/01/2013 05:52 AM, Andreas Färber wrote: Am 17.07.2013 08:37, schrieb Alexey Kardashevskiy: > > + > +icp->ss = g_mallo

Re: [Qemu-devel] [ANNOUNCE] QEMU 1.5.2 Stable released

2013-08-02 Thread Michael Roth
On Wed, Jul 31, 2013 at 9:19 AM, Miroslav Rezanina wrote: > Hi Michael, > how this affect 1.5 schedule?? Is the date mentioned on > http://wiki.qemu.org/Planning/1.5 still valid (just increase > the build number)? Yup, 1.5.3 will be released according to original 1.5.2 schedule. I've gone ahead

Re: [Qemu-devel] [PATCH V5 6/6] block: Add infinite loop check in drive_init()

2013-08-02 Thread Eric Blake
On 08/02/2013 03:02 AM, Xu Wang wrote: > From: Xu Wang > > Backing file should be checked if there is a loop in it during image > boot. Becase if there is loop qemu would no response for a long time s/Becase/Because/ > and segment fault occured. So this patch would check backing file s/occured

Re: [Qemu-devel] [PATCH V5 5/6] block: Add backing file loop check in change_backing_file()

2013-08-02 Thread Eric Blake
On 08/02/2013 03:02 AM, Xu Wang wrote: > From: Xu Wang > > Backing file loop should be checked before calling change_backing_ > file(). If loop appeared, this calling should be stopped and an Breaking a function name across a line break is awkward. > error was printed. s/was // > > Signed-of

Re: [Qemu-devel] [PATCH V5 4/6] block: Check infinite loop in bdrv_img_create()

2013-08-02 Thread Eric Blake
On 08/02/2013 03:02 AM, Xu Wang wrote: > From: Xu Wang > > Backing file loop should be checked before qemu-img create command > execution. If loop was found, qemu-img create should be stopped and s/was/is/ - commit messages should generally be in present tense (what the code is doing now that th

Re: [Qemu-devel] [PATCH V5 3/6] block: Add WIN32 platform support for backing_file_loop_check()

2013-08-02 Thread Eric Blake
On 08/02/2013 03:02 AM, Xu Wang wrote: > From: Xu Wang > > Method of get_inode is different between Linux and WIN32 plateform. s/plateform/platform/g (3 instances in the commit message) > This patch added inode caculate method on Windows plateform so that s/added/adds an/ s/caculate/calculatio

Re: [Qemu-devel] [PATCH V5 2/6] qemu-img: Add infinite loop checking in bdrv_new_open()

2013-08-02 Thread Eric Blake
On 08/02/2013 03:02 AM, Xu Wang wrote: > From: Xu Wang > > Every image should be checked if there is infinite loop in backing > file chain before open it. So infinite loop check was added into > bdrv_new_open(). If @filename is opened with no flags s/with no flags/without the flag/ > BDRV_O_NO_

Re: [Qemu-devel] [PATCH V5 1/6] block/qemu-img: Refine and export infinite loop checking in collect_image_info_list()

2013-08-02 Thread Eric Blake
On 08/02/2013 03:02 AM, Xu Wang wrote: > From: Xu Wang > > If there is a loop exists in the backing file chain, many problems > could be caused by it, such as no response and segment fault during > system boot. Hence stopping backing file loop appear is very necessary. > This patch refine and exp

[Qemu-devel] [PATCH 1/2] Improve Monitor disas with symbol lookup

2013-08-02 Thread Fabien Chouteau
Part of M731-018. Signed-off-by: Fabien Chouteau --- disas.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/disas.c b/disas.c index 71007fb..3ffb3ae 100644 --- a/disas.c +++ b/disas.c @@ -480,11 +480,19 @@ void monitor_disas(Monitor *mon, CPUArchState *en

Re: [Qemu-devel] [PATCH for-1.6] linux-user: Return success from m68k set_thread_area syscall

2013-08-02 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [Bug 1207686] [NEW] qemu-1.4.0 and onwards, linux kernel 3.2.x, heavy I/O leads to kernel_hung_tasks_timout_secs message and unresponsive qemu-process

2013-08-02 Thread Oliver Francke
Hi Stefan, Am 02.08.2013 um 17:24 schrieb Stefan Hajnoczi <1207...@bugs.launchpad.net>: > On Fri, Aug 02, 2013 at 09:58:29AM -, Oliver Francke wrote: >> after some testing I tried to narrow down a problem, which was initially >> reported by some users. >> Seen on different distros - debian 7

[Qemu-devel] [PATCH EMBARGOED 6/7] vmdk: check l2 table size when opening

2013-08-02 Thread Fam Zheng
header.num_gtes_per_gte determines size for L2 table. Check for too big value before using it. Limit to 512M entries (2GB per one L2 table). Signed-off-by: Fam Zheng --- block/vmdk.c | 5 + tests/qemu-iotests/059 | 7 +++ tests/qemu-iotests/059.out | 6 ++ 3 files c

[Qemu-devel] [PATCH] pcnet: Flush queued packets on end of STOP state

2013-08-02 Thread Jan Kiszka
From: Jan Kiszka Analogously to other NICs, we have to inform the network layer when the can_receive handler will no longer report 0. Without this, we may get stuck waiting on queued incoming packets. Signed-off-by: Jan Kiszka --- hw/net/pcnet.c |4 1 files changed, 4 insertions(+), 0

[Qemu-devel] [PATCH EMBARGOED 7/7] vmdk: check l1 size before opening image

2013-08-02 Thread Fam Zheng
L1 table size is calculated from capacity, granularity and l2 table size. If capacity is too big or later two are too small, the L1 table will be too big to allocate in memory. Limit it to a reasonable range. Signed-off-by: Fam Zheng --- block/vmdk.c | 8 tests/qemu-iotest

[Qemu-devel] [PULL for-rc2 0/1] Block patches

2013-08-02 Thread Stefan Hajnoczi
The following changes since commit 2ddc463725d0fa24e0910fba77fef2777fa94a74: Merge remote-tracking branch 'afaerber/tags/qom-cpu-for-anthony' into staging (2013-08-01 17:09:35 -0500) are available in the git repository at: git://github.com/stefanha/qemu.git block for you to fetch changes

Re: [Qemu-devel] [PATCH v3 0/7] Implement reference count for BlockDriverState

2013-08-02 Thread Stefan Hajnoczi
On Fri, Aug 02, 2013 at 10:22:13AM +0800, Fam Zheng wrote: > On Thu, 08/01 14:28, Stefan Hajnoczi wrote: > > On Wed, Jul 31, 2013 at 06:13:53PM +0800, Fam Zheng wrote: > > Follow-up question: > > > > Did you look at using bdrv_ref() for the BDS <- BlockJob relationship > > too? > > > > blockdev.c

Re: [Qemu-devel] [PATCH] qemu-option: Guard against qemu_opts_set_defaults() misuse

2013-08-02 Thread Markus Armbruster
Eric Blake writes: > On 08/02/2013 01:34 AM, Markus Armbruster wrote: >> Commit 6d4cd40 fixed qemu_opts_set_defaults() for an existing corner >> case, but broke it for another one that can't be reached in current >> code. >> > >> >> Not reachable, because we never pass lists with !list->merge_l

[Qemu-devel] [PATCH qom-next for-next 5/6] ipoctal232: QOM parent field cleanup

2013-08-02 Thread Andreas Färber
Clean up accesses to IPOctalState::dev field and rename it. Signed-off-by: Andreas Färber --- hw/char/ipoctal232.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/hw/char/ipoctal232.c b/hw/char/ipoctal232.c index 08093da..4af9678 100644 --- a/hw/char/ipoctal232.c +++

[Qemu-devel] [PATCH qom-next for-next 0/6] QOM realize for IndustryPack

2013-08-02 Thread Andreas Färber
Hello, This series converts IndustryPack devices to QOM realize/unrealize. It goes on to clean up file placement, promoting IndustryPack to use its own subdirectory like PCI, ISA, virtio, etc. Available from: https://github.com/afaerber/qemu-cpu/commits/realize-ipack.v1 git://github.com/afaerber

[Qemu-devel] [PATCH qom-next for-next 6/6] ipack: Move IndustryPack out of hw/char/

2013-08-02 Thread Andreas Färber
Move the header defining an IPackBus and IPackDevice base class into a new include/ directory and move their implementation and a PCI-IndustryPack bridge out of hw/char/ directory into a new hw/ipack/. Signed-off-by: Andreas Färber --- hw/Makefile.objs | 1 + hw/char/Makefil

[Qemu-devel] [PATCH qom-next for-next 2/6] ipack: QOM parent field cleanup for IPackBus

2013-08-02 Thread Andreas Färber
Clean up the only user of IPackBus::qbus field and rename it. Signed-off-by: Andreas Färber --- hw/char/ipack.c | 2 +- hw/char/ipack.h | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/hw/char/ipack.c b/hw/char/ipack.c index a902fe4..0758fdd 100644 --- a/hw/char/ipack.c +

[Qemu-devel] [PATCH qom-next for-next 4/6] ipack: Simplify VMSTATE_IPACK_DEVICE() macro

2013-08-02 Thread Andreas Färber
Hardcode name and offset to avoid having to pass parent_obj to it. Signed-off-by: Andreas Färber --- hw/char/ipack.h | 10 -- hw/char/ipoctal232.c | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/hw/char/ipack.h b/hw/char/ipack.h index 080767f..c183383 100644

[Qemu-devel] [PATCH qom-next for-next 3/6] ipack: QOM parent field cleanup for IPackDevice

2013-08-02 Thread Andreas Färber
Rename the IPackDevice::qdev field to avoid accidental use. Signed-off-by: Andreas Färber --- hw/char/ipack.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hw/char/ipack.h b/hw/char/ipack.h index 03b07f0..080767f 100644 --- a/hw/char/ipack.h +++ b/hw/char/ipack.h @@ -61

[Qemu-devel] [PULL for-rc2 1/1] block: Disable driver-specific options for 1.6

2013-08-02 Thread Stefan Hajnoczi
From: Kevin Wolf We don't want to commit to the API yet before everything is worked out. Like already for 1.5, disable it again for the 1.6 release. This commit is meant to be reverted after the 1.6 release. The disabling of the driver-specific options is achieved by applying the old checks whil

[Qemu-devel] [PATCH qom-next for-next 1/6] ipack: Convert to QOM realize

2013-08-02 Thread Andreas Färber
Signed-off-by: Andreas Färber --- hw/char/ipack.c | 40 hw/char/ipack.h | 5 ++--- hw/char/ipoctal232.c | 18 +- 3 files changed, 31 insertions(+), 32 deletions(-) diff --git a/hw/char/ipack.c b/hw/char/ipack.c index f890471..a9

Re: [Qemu-devel] [sheepdog] [PATCH v4 06/10] coroutine: add co_aio_sleep_ns() to allow sleep in block drivers

2013-08-02 Thread Alex Bligh
Pingfan, --On 2 August 2013 16:19:31 +0800 liu ping fan wrote: Okay, I'll update this patch based on the AioContext timer. I'm also happy to help Alex and Pingfan to finish the implementation. Alex, do you make a further step than V4? If you have, could you share it with us?So we can rebase

Re: [Qemu-devel] [PATCH for-1.6 0/5] qtest: Output cleanup

2013-08-02 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH 02/16] vl: set default ram_size during variable initialization

2013-08-02 Thread Andreas Färber
Am 23.07.2013 18:22, schrieb Igor Mammedov: > Signed-off-by: Igor Mammedov > --- > vl.c |7 +-- > 1 files changed, 1 insertions(+), 6 deletions(-) > > diff --git a/vl.c b/vl.c > index 8190504..bf0c658 100644 > --- a/vl.c > +++ b/vl.c > @@ -2947,7 +2947,7 @@ int main(int argc, char **argv

Re: [Qemu-devel] [PATCH] target-arm: Implement 'int' loglevel

2013-08-02 Thread Richard Henderson
On 08/02/2013 07:09 AM, Peter Maydell wrote: > +static const char *excnames[] = { static const char * const excnames[] r~

Re: [Qemu-devel] [PATCH 0/4] Rename all 'dprintf' macros to 'DPRINTF'

2013-08-02 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH 00/16 RFC v6] ACPI memory hotplug

2013-08-02 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] Licensing question

2013-08-02 Thread Rob Landley
On 07/31/2013 12:19:03 AM, Stefan Weil wrote: Am 31.07.2013 03:50, schrieb Erik de Castro Lopo: > Hi all, > > I have a patch I would like to submit and I am currently running it past > my employer's legal department. The legal department has identified 10 > different licenses in the Qemu code

Re: [Qemu-devel] Using virtio-mmio

2013-08-02 Thread Erlon Cruz
Hi, Im trying to test virtio-mmio too but Im having no success to boot vexpress-a9. kernel: Linux 3.10-rc6 -> vexpress_defconfig qemu: 1.6.0-rc0 cmd line: qemu-system-arm\ -m 512\ -M vexpress-a9\ -kernel arch/arm/boot/zImage\ -initrd boot-kernels/initrd-modified.img \ -append "root=/dev/mmcblk0

Re: [Qemu-devel] [PATCH v3 5/7] migration: omit drive ref as we have bdrv_ref now

2013-08-02 Thread Stefan Hajnoczi
On Fri, Aug 02, 2013 at 04:13:55PM +0800, Wenchao Xia wrote: > There should be a section of code in device hot unplug, checking > DriverInfo's ref, fail or do nothing when ref != 1. But I haven't found > that code, so not sure whether this patch will change the behavior in > device hot unplug. It

[Qemu-devel] [RFC V3 0/2] continuous leaky bucket throttling

2013-08-02 Thread Benoît Canet
This patchset implement continous leaky bucket throttling. It works mostly on the general case. The exception is where the load is composed of both reads and writes and two limits iops_rd and iops_wr are set. The resulting iops are a little above half of the given limits. I tried various strategie

Re: [Qemu-devel] [RFC v2 3/5] timer: make qemu_clock_enable sync between disable and timer's cb

2013-08-02 Thread Stefan Hajnoczi
On Fri, Aug 02, 2013 at 11:33:40AM +0800, liu ping fan wrote: > On Thu, Aug 1, 2013 at 9:28 PM, Alex Bligh wrote: > > Paolo, > > > > > > --On 1 August 2013 08:19:34 -0400 Paolo Bonzini wrote: > > > >>> > True, qemu_event basically works only when a single thread resets it. > >>> > But there is no

Re: [Qemu-devel] [PATCH 07/12] savevm: introduce qemu_savevm_local()

2013-08-02 Thread Michael R. Hines
On 07/25/2013 04:18 PM, Lei Li wrote: Signed-off-by: Lei Li --- include/sysemu/sysemu.h |1 + savevm.c| 55 +++ 2 files changed, 56 insertions(+), 0 deletions(-) diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h

Re: [Qemu-devel] [PATCH 12/12] hmp: add hmp_localhost_migration interface

2013-08-02 Thread Michael R. Hines
On 07/25/2013 04:18 PM, Lei Li wrote: Signed-off-by: Lei Li --- hmp-commands.hx | 17 + hmp.c | 13 + hmp.h |1 + 3 files changed, 31 insertions(+), 0 deletions(-) diff --git a/hmp-commands.hx b/hmp-commands.hx index 915b0d1..ed21970

Re: [Qemu-devel] [PATCH 11/12] migration-local: add option to commandline for incoming-local

2013-08-02 Thread Michael R. Hines
On 07/25/2013 04:18 PM, Lei Li wrote: Signed-off-by: Lei Li --- qemu-options.hx |9 + vl.c| 14 ++ 2 files changed, 23 insertions(+), 0 deletions(-) diff --git a/qemu-options.hx b/qemu-options.hx index 8355f9b..a975e83 100644 --- a/qemu-options.hx +++ b

[Qemu-devel] [PATCH] net: Rename send_queue to incoming_queue

2013-08-02 Thread Jan Kiszka
From: Jan Kiszka Each networking client has a queue for packets that could not yet be delivered to that client. Calling this queue "send_queue" is highly confusing as it has nothing to to with packets send from this client but to it. Avoid this confusing by renaming it to "incoming_queue". Signe

Re: [Qemu-devel] [PATCH 09/12] migration-local: implementation of outgoing part

2013-08-02 Thread Michael R. Hines
On 07/25/2013 04:18 PM, Lei Li wrote: Signed-off-by: Lei Li --- Makefile.objs |1 + include/migration/migration.h | 15 migration-local.c | 158 + migration-unix.c | 13 qapi-schema.json

Re: [Qemu-devel] net/tap.c: Possibly a way to stall tap input

2013-08-02 Thread Jan Kiszka
On 2013-08-02 14:45, Jan Kiszka wrote: > On 2013-08-02 13:46, Stefan Hajnoczi wrote: >> On Thu, Aug 01, 2013 at 07:15:54PM +0200, Jan Kiszka wrote: >>> I was digging into the involved code and found something fishy: >>> >>> net/tap.c: >>> static void tap_send(void *opaque) >>> { >>> ... >>>

Re: [Qemu-devel] [PATCH 06/12] arch_init: add save_local_setup to savevm_ram_handlers

2013-08-02 Thread Michael R. Hines
On 07/25/2013 04:18 PM, Lei Li wrote: Signed-off-by: Lei Li --- arch_init.c |1 + include/migration/vmstate.h |2 ++ 2 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch_init.c b/arch_init.c index 7eeb52f..5c25005 100644 --- a/arch_init.c +++ b/arch_ini

Re: [Qemu-devel] [PATCH 05/12] arch_init: introduce ram_save_local()

2013-08-02 Thread Michael R. Hines
On 07/25/2013 04:18 PM, Lei Li wrote: Signed-off-by: Lei Li --- arch_init.c | 32 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/arch_init.c b/arch_init.c index a418071..7eeb52f 100644 --- a/arch_init.c +++ b/arch_init.c @@ -757,6 +757,38 @@

Re: [Qemu-devel] net/tap.c: Possibly a way to stall tap input

2013-08-02 Thread Jan Kiszka
On 2013-08-02 14:45, Jan Kiszka wrote: > On 2013-08-02 13:46, Stefan Hajnoczi wrote: >> On Thu, Aug 01, 2013 at 07:15:54PM +0200, Jan Kiszka wrote: >>> I was digging into the involved code and found something fishy: >>> >>> net/tap.c: >>> static void tap_send(void *opaque) >>> { >>> ... >>>

Re: [Qemu-devel] [PATCH 04/12] arch_init: introduce ram_page_save()

2013-08-02 Thread Michael R. Hines
On 07/25/2013 04:18 PM, Lei Li wrote: Signed-off-by: Lei Li --- arch_init.c | 58 ++ 1 files changed, 58 insertions(+), 0 deletions(-) diff --git a/arch_init.c b/arch_init.c index a8b91ee..a418071 100644 --- a/arch_init.c +++ b/arch_i

Re: [Qemu-devel] [PATCH 3/7] arch_init: add ram_madvise_free()

2013-08-02 Thread Michael R. Hines
On 06/16/2013 12:04 PM, Anthony Liguori wrote: Lei Li writes: Signed-off-by: Lei Li --- arch_init.c | 13 + include/migration/migration.h |3 +++ 2 files changed, 16 insertions(+), 0 deletions(-) diff --git a/arch_init.c b/arch_init.c index 872020e..fc

Re: [Qemu-devel] default slot used for vga device on q35 machines

2013-08-02 Thread Laine Stump
On 08/02/2013 03:23 AM, Markus Armbruster wrote: > Gerd Hoffmann writes: > >> Hi, >> >>> qemu-kvm -M q35 -nodefaults -nodefconfig -qmp unix:/tmp/qemu,server >>> -vnc :15 -vga std -usb >>> >>> Then ran "query-pci" in the qmp monitor and found that the vga device is >>> put at slot 1 instead of

[Qemu-devel] [Bug 1204697] Re: guest disk accesses lead to ATA errors + host vcpu0 unhandled wrmsr/rdmsr

2013-08-02 Thread Christoph Anton Mitterer
Having tried now with virtio as well: works So: virtio, ide = OK sata = broken -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1204697 Title: guest disk accesses lead to ATA errors + host vcpu0 unha

Re: [Qemu-devel] [PATCH 7/7] pc: limit 64 bit hole to 2G by default

2013-08-02 Thread Andreas Färber
Am 29.07.2013 16:47, schrieb Igor Mammedov: > diff --git a/hw/i386/pc.c b/hw/i386/pc.c > index b0b98a8..a2b9d88 100644 > --- a/hw/i386/pc.c > +++ b/hw/i386/pc.c [...] > @@ -1003,15 +1004,27 @@ typedef struct PcRomPciInfo { > static void pc_fw_cfg_guest_info(PcGuestInfo *guest_info) > { > PcR

Re: [Qemu-devel] default slot used for vga device on q35 machines

2013-08-02 Thread Markus Armbruster
Laine Stump writes: > On 08/02/2013 03:23 AM, Markus Armbruster wrote: >> Gerd Hoffmann writes: >> >>> Hi, >>> qemu-kvm -M q35 -nodefaults -nodefconfig -qmp unix:/tmp/qemu,server -vnc :15 -vga std -usb Then ran "query-pci" in the qmp monitor and found that the vga device

[Qemu-devel] [PATCH for-1.6] target-i386: Fix X86CPU error handling

2013-08-02 Thread Andreas Färber
Error **errp argument is not for emitting warnings, it means an error has occurred and the caller should not make any assumptions about the state of other return values (unless otherwise documented). Therefore cpu_x86_create() must unref the new X86CPU itself, and pc_new_cpu() must check for an Er

[Qemu-devel] [PATCH] target-arm: Implement 'int' loglevel

2013-08-02 Thread Peter Maydell
The 'int' loglevel for recording interrupts and exceptions requires support in the target-specific code. Implement it for ARM. This improves debug logging in some situations that were otherwise pretty opaque, such as when we fault trying to execute at an exception vector address, which would otherw

Re: [Qemu-devel] [PATCH for-1.6] pc: disable pci-info for 1.6

2013-08-02 Thread Richard Henderson
On 08/01/2013 02:42 AM, Michael S. Tsirkin wrote: > -static void pc_init_pci_1_5(QEMUMachineInitArgs *args) > +static void pc_init_pci_1_6(QEMUMachineInitArgs *args) > { > has_pci_info = false; > pc_init_pci(args); > } > > +static void pc_init_pci_1_5(QEMUMachineInitArgs *args) > +{ >

[Qemu-devel] [Bug 1207825] [NEW] "change ide1-cd0 /path/to/file.iso" doesn't work in qemu-kvm

2013-08-02 Thread Ruslan
Public bug reported: I'm using qemu-kvm from git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm , version qemu-kvm-1.2.0-703-g4d9367b, and when I try putting an ISO image to virtual CD drive via "change ide1-cd0 /path/to/file.iso", Windows XP guest says "I/O error reading CD". At the same time, usi

Re: [Qemu-devel] [PATCH] target-ppc: Add POWER7+ CPU model

2013-08-02 Thread Andreas Färber
Am 02.08.2013 04:59, schrieb Alexey Kardashevskiy: > This patch adds CPU PVR definition for POWER7+. > > Signed-off-by: Alexey Kardashevskiy > --- > target-ppc/cpu-models.c | 2 ++ > target-ppc/cpu-models.h | 1 + > 2 files changed, 3 insertions(+) > > diff --git a/target-ppc/cpu-models.c b/tar

Re: [Qemu-devel] [PATCH 4/4] xics: Support for in-kernel XICS interrupt controller

2013-08-02 Thread Alexey Kardashevskiy
On 08/01/2013 11:29 AM, Andreas Färber wrote: > Am 01.08.2013 02:14, schrieb Alexey Kardashevskiy: >> On 08/01/2013 05:52 AM, Andreas Färber wrote: >>> Am 17.07.2013 08:37, schrieb Alexey Kardashevskiy: + +icp->ss = g_malloc0(icp->nr_servers*sizeof(ICPState)); +for (i = 0; i

[Qemu-devel] [RFC V3 2/2] block: Enable the new throttling code in the block layer.

2013-08-02 Thread Benoît Canet
Signed-off-by: Benoit Canet --- block.c | 316 +++-- block/qapi.c | 21 ++- blockdev.c| 115 + include/block/block.h |1 - include/block/block_int.h | 33 + 5 files changed, 15

[Qemu-devel] [RFC V3 1/2] throttle: Add a new throttling API implementing continuus leaky bucket.

2013-08-02 Thread Benoît Canet
Implement the continuous leaky bucket algorithm devised on IRC as a separate module. Signed-off-by: Benoit Canet --- include/qemu/throttle.h | 111 util/Makefile.objs |1 + util/throttle.c | 436 +++ 3 files changed, 548

Re: [Qemu-devel] [PULL 1/4] qemu-ga: build it even if !system

2013-08-02 Thread Andreas Färber
Am 02.08.2013 16:20, schrieb Michael Tokarev: > Move qemu-ga build check out of if softmmu.. into its own section. > We want to build qemu-ga for _guest_ even if system build isn't > done. It is controlled separately using --enable-guest-agent. > Additionally, give error message if guest agent is

Re: [Qemu-devel] Error handling in cpu_x86_create

2013-08-02 Thread Jan Kiszka
On 2013-07-30 14:21, Igor Mammedov wrote: > On Tue, 30 Jul 2013 13:00:40 +0200 > Jan Kiszka wrote: > >> Hi Igor, >> >> just noticed by chance that error handling in cpu_x86_create is likely >> broken after your changes. Any error after cpu = ...object_new() will >> not properly release the CPU ob

Re: [Qemu-devel] [Bug 1207686] [NEW] qemu-1.4.0 and onwards, linux kernel 3.2.x, heavy I/O leads to kernel_hung_tasks_timout_secs message and unresponsive qemu-process

2013-08-02 Thread Stefan Hajnoczi
On Fri, Aug 02, 2013 at 09:58:29AM -, Oliver Francke wrote: > after some testing I tried to narrow down a problem, which was initially > reported by some users. > Seen on different distros - debian 7.1, ubuntu 12.04 LTS, IPFire-2.3 as > reported by now. > > All using some flavour of linux-3.

Re: [Qemu-devel] [PATCH v2 15/17] raw-posix: detect XFS unwritten extents

2013-08-02 Thread Christoph Hellwig
On Tue, Jul 16, 2013 at 06:29:26PM +0200, Paolo Bonzini wrote: > Signed-off-by: Paolo Bonzini This isn't really XFS specific, at least ext4 and ocfs2 can report the same.

Re: [Qemu-devel] [PATCH v2 0/2] Fix qdev 32-bit compilation

2013-08-02 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] KVM call agenda for 2013-08-06

2013-08-02 Thread Eduardo Habkost
On Tue, Jul 23, 2013 at 06:31:45PM +0200, Juan Quintela wrote: > > Hi > > Please, send any topic that you are interested in covering. * libvirt requirements for: * Checking which CPU features are exposed/required by each CPU model + machine-type * Checking which CPU features are avail

[Qemu-devel] [PATCH 2/2] Add ARM registers definitions in Monitor commands

2013-08-02 Thread Fabien Chouteau
Signed-off-by: Fabien Chouteau --- monitor.c | 17 + 1 file changed, 17 insertions(+) diff --git a/monitor.c b/monitor.c index 5dc0aa9..78e93af 100644 --- a/monitor.c +++ b/monitor.c @@ -3167,6 +3167,23 @@ static const MonitorDef monitor_defs[] = { { "cleanwin", offsetof(

Re: [Qemu-devel] [Qemu-trivial] [PATCH] memory.c: drop kvm.h dependency

2013-08-02 Thread Michael Tokarev
01.08.2013 12:39, Paolo Bonzini wrote: memory.c does not use any kvm specific interfaces, don't include kvm.h Thanks, applied to the trivial patches queue. /mjt

[Qemu-devel] [PATCH v6] e1000: add interrupt mitigation support

2013-08-02 Thread Vincenzo Maffione
This patch partially implements the e1000 interrupt mitigation mechanisms. Using a single QEMUTimer, it emulates the ITR register (which is the newer mitigation register, recommended by Intel) and approximately emulates RADV and TADV registers. TIDV and RDTR register functionalities are not emulate

[Qemu-devel] [PULL 3/4] memory.c: drop kvm.h dependency

2013-08-02 Thread Michael Tokarev
From: "Michael S. Tsirkin" memory.c does not use any kvm specific interfaces, don't include kvm.h Signed-off-by: Michael S. Tsirkin Acked-by: Paolo Bonzini Signed-off-by: Michael Tokarev --- memory.c |1 - 1 file changed, 1 deletion(-) diff --git a/memory.c b/memory.c index ac6f3c6..886

[Qemu-devel] [PULL 1/4] qemu-ga: build it even if !system

2013-08-02 Thread Michael Tokarev
Move qemu-ga build check out of if softmmu.. into its own section. We want to build qemu-ga for _guest_ even if system build isn't done. It is controlled separately using --enable-guest-agent. Additionally, give error message if guest agent is requested but not supported. Signed-off-by: Michael T

[Qemu-devel] [PULL 2/4] block/iscsi.c: Fix printf format error.

2013-08-02 Thread Michael Tokarev
From: "Richard W.M. Jones" The error on armv7hl was: block/iscsi.c: In function ‘is_request_lun_aligned’: block/iscsi.c:251:26: error: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int64_t’ [-Werror=format=] iscsilun->block_size, sector_num

[Qemu-devel] [PULL 0/4] trivial patches for 2013-08-02

2013-08-02 Thread Michael Tokarev
The following changes since commit 2ddc463725d0fa24e0910fba77fef2777fa94a74: Merge remote-tracking branch 'afaerber/tags/qom-cpu-for-anthony' into staging (2013-08-01 17:09:35 -0500) are available in the git repository at: git://git.corpit.ru/qemu.git trivial-patches for you to fetch chang

[Qemu-devel] [PULL 4/4] vmdk: fix comment for vmdk_co_write_zeroes

2013-08-02 Thread Michael Tokarev
From: Fam Zheng The comment was truncated. Add the missing parts, especially explain why we need zero_dry_run. Signed-off-by: Fam Zheng Signed-off-by: Michael Tokarev --- block/vmdk.c |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/block/vmdk.c b/block/vmdk.c in

Re: [Qemu-devel] [Qemu-trivial] [PATCH] vmdk: fix comment for vmdk_co_write_zeroes

2013-08-02 Thread Michael Tokarev
01.08.2013 14:12, Fam Zheng wrote: The comment was truncated. Add the missing parts, especially explain why we need zero_dry_run. Thanks, applied to the trivial patches queue. /mjt

Re: [Qemu-devel] [Qemu-trivial] [PATCH v3] block/iscsi.c: Fix printf format error.

2013-08-02 Thread Michael Tokarev
Thanks, applied to the trivial patches queue. /mjt

Re: [Qemu-devel] [PATCH 0/3] rdma fixes and clean ups

2013-08-02 Thread Michael R. Hines
On 08/01/2013 11:56 PM, Isaku Yamahata wrote: Small fixes/clean up to rdma. found through code review. Isaku Yamahata (3): rdma: don't use negative index to array rdma: qemu_rdma_post_send_control uses wrongly RDMA_WRID_MAX rdma: use RDMA_WRID_READY migration-rdma.c | 43 ++

Re: [Qemu-devel] [PATCH 3/3] rdma: use RDMA_WRID_READY

2013-08-02 Thread Michael R. Hines
On 08/01/2013 11:56 PM, Isaku Yamahata wrote: Cc: Michael R. Hines Signed-off-by: Isaku Yamahata --- migration-rdma.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/migration-rdma.c b/migration-rdma.c index 67069d2..871f9cd 100644 --- a/migration-rdma.c +++ b/migr

Re: [Qemu-devel] [PATCH 2/3] rdma: qemu_rdma_post_send_control uses wrongly RDMA_WRID_MAX

2013-08-02 Thread Michael R. Hines
On 08/01/2013 11:56 PM, Isaku Yamahata wrote: RDMA_WRID_CONTROL should be used. And remove related work around. Cc: Michael R. Hines Signed-off-by: Isaku Yamahata --- migration-rdma.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/migration-rdma.c b/migra

Re: [Qemu-devel] [PATCH] qemu-option: Guard against qemu_opts_set_defaults() misuse

2013-08-02 Thread Eric Blake
On 08/02/2013 01:34 AM, Markus Armbruster wrote: > Commit 6d4cd40 fixed qemu_opts_set_defaults() for an existing corner > case, but broke it for another one that can't be reached in current > code. > > > Not reachable, because we never pass lists with !list->merge_lists to > qemu_opts_set_defaul

Re: [Qemu-devel] [v2][PATCH 1/1] cpus: use cpu_is_stopped efficiently

2013-08-02 Thread Andreas Färber
Am 02.08.2013 03:43, schrieb Tiejun Chen: > It makes more sense and simple later. > > Signed-off-by: Tiejun Chen > --- > v1 -> v2: > > To optimize performance slightly, we can reorder the two conditions to > avoid the non-inline function call if cpu->stopped. Patch doesn't apply to qemu.git: ne

[Qemu-devel] [Bug 1207623] [NEW] 64bit RHEL6.4 guest crashes and reboots continuously

2013-08-02 Thread Yongjie Ren
Public bug reported: Environment: Host OS (ia32/ia32e/IA64):ia32e Guest OS (ia32/ia32e/IA64):ia32e Guest OS Type (Linux/Windows):Linux kvm.git next Commit:9576c4cd6b6fa5716400e63618757b76cff6a813 qemu-kvm uq/master Commit:0779caeb1a17f4d3ed14e2925b36ba09b084fb7b Host Kernel Version:3.

Re: [Qemu-devel] [PATCH 1/3] rdma: don't use negative index to array

2013-08-02 Thread Michael R. Hines
On 08/01/2013 11:56 PM, Isaku Yamahata wrote: Cc: Michael R. Hines Signed-off-by: Isaku Yamahata --- migration-rdma.c | 27 +++ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/migration-rdma.c b/migration-rdma.c index 4828738..edbae9f 100644 --- a/mi

Re: [Qemu-devel] [PATCH for-1.6 0/2] Fix clang warnings in linux-user signal code

2013-08-02 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [RFC] [PATCHv4 10/13] aio / timers: Convert mainloop to use timeout

2013-08-02 Thread Alex Bligh
Paolo, (apologies for taking a little time to reply to this one) --On 1 August 2013 16:14:11 +0200 Paolo Bonzini wrote: >> @@ -449,6 +460,7 @@ int main_loop_wait(int nonblocking) >> { >> int ret; >> uint32_t timeout = UINT32_MAX; >> +int64_t timeout_ns; >> >> if (nonblocking)

Re: [Qemu-devel] [PATCH] seccomp: add arch_prctl() to the syscall whitelist

2013-08-02 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] net/tap.c: Possibly a way to stall tap input

2013-08-02 Thread Jan Kiszka
On 2013-08-02 13:46, Stefan Hajnoczi wrote: > On Thu, Aug 01, 2013 at 07:15:54PM +0200, Jan Kiszka wrote: >> I was digging into the involved code and found something fishy: >> >> net/tap.c: >> static void tap_send(void *opaque) >> { >> ... >> size = qemu_send_packet_async(&s->nc, buf, s

Re: [Qemu-devel] [PATCH for-1.6 v3 0/7] pc: limit 64 bit hole to 2G by default

2013-08-02 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH v2 for-1.6] chardev: fix CHR_EVENT_OPENED events for mux chardevs

2013-08-02 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH] seccomp: add additional asynchronous I/O syscalls

2013-08-02 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH for 1.6] tci: Fix broken build (compiler warning caused by redefined macro BIT)

2013-08-02 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

  1   2   >