Re: [Qemu-devel] [PATCH 08/10] fdc: add CCR (Configuration Control Register) write register

2012-01-09 Thread Paolo Bonzini
On 01/08/2012 09:27 PM, Hervé Poussineau wrote: Signed-off-by: Hervé Poussineau --- hw/fdc.c | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/hw/fdc.c b/hw/fdc.c index ddfa91f..67cd14f 100644 --- a/hw/fdc.c +++ b/hw/fdc.c @@ -227,6 +227,7 @@ static

Re: [Qemu-devel] [PATCH 3/3] stop the periodic RTC update timer

2012-01-09 Thread Paolo Bonzini
On 01/06/2012 08:37 AM, Zhang, Yang Z wrote: VMSTATE_BUFFER(cmos_data, RTCState), VMSTATE_UINT8(cmos_index, RTCState), -VMSTATE_INT32(current_tm.tm_sec, RTCState), -VMSTATE_INT32(current_tm.tm_min, RTCState), -VMSTATE_INT32(current_tm.tm_hour, RTCState)

Re: [Qemu-devel] [PATCH qemu-kvm] Fix: SCI isn't sent on cpu hotplug

2012-01-09 Thread Gleb Natapov
On Sun, Jan 08, 2012 at 10:40:04PM +0100, Igor Mammedov wrote: > Change introduced by e71f08bb4a > "Fix cpu/pci hotplug to generate level triggered interrupt." > was lost somewhre along the way. And as result SCI is not sent in > case of cpu hotplug event. > Restoring hunk 1 of e71f08bb4a f

Re: [Qemu-devel] [PATCH 0/2] Remove memory_region_set_offset()

2012-01-09 Thread Avi Kivity
On 01/08/2012 08:59 PM, Andreas Färber wrote: > Am 08.01.2012 18:57, schrieb Avi Kivity: > > memory_region_set_offset() is used in only one place, and is deprecated. > > Remove the single use and the function itself. > > Does the removal of the offset mean that memory_region_find() can be > simplif

Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE

2012-01-09 Thread Gerd Hoffmann
Hi, > I'm not sure what a SCSI rom would do with a CD drive. My guess is > that it wouldn't map it to a BIOS visible drive id at all, as there's > no way to select an id with any assurance that it wont conflict with > one chosen by the BIOS or another rom. If QEMU can simulate this (and > some

Re: [Qemu-devel] [PATCH] network: Added option to disable NIC option roms

2012-01-09 Thread Gerd Hoffmann
Hi, > if (!pci_dev->qdev.hotplugged) { > static int loaded = 0; > -if (!loaded) { > +if (!loaded && > pci_has_not_explicitly_disabled_option_romfile(pci_dev)) { > rom_add_option("pxe-ne2k_pci.rom", -1); > loaded = 1; > } I think y

Re: [Qemu-devel] [PATCH] network: Added option to disable NIC option roms

2012-01-09 Thread Stefan Hajnoczi
On Sun, Jan 08, 2012 at 09:56:20PM +0100, Gerhard Wiesinger wrote: > On Sun, 8 Jan 2012, Stefan Hajnoczi wrote: > > >On Sun, Jan 8, 2012 at 11:55 AM, Gerhard Wiesinger > >wrote: > >>Option ROM for network interface cards (NICs) can now explicitly disabled > >>with romfile=disabled parameter. Wit

Re: [Qemu-devel] [PATCH v9 3/3] pc: Support system flash memory with pflash

2012-01-09 Thread Kevin Wolf
Am 19.12.2011 23:19, schrieb Anthony Liguori: > On 12/19/2011 03:25 PM, Jordan Justen wrote: >> On Mon, Dec 19, 2011 at 11:41, Anthony Liguori wrote: >>> On 12/15/2011 02:51 PM, Jordan Justen wrote: If a pflash image is found, then it is used for the system firmware image.

Re: [Qemu-devel] [PATCH 06/12] xhci: Initial xHCI implementation

2012-01-09 Thread Gerd Hoffmann
> Hi, > > please use scripts/checkpatch.pl to test this patch. > > It contains several indented statements (if ... else) > without braces. Hmm, indeed, there are a few left. I've fixed lots of them already, I'll do another pass over the code. /me wonders why my commit hook didn't complain. Pr

Re: [Qemu-devel] [PATCH qemu-kvm] Fix: SCI isn't sent on cpu hotplug

2012-01-09 Thread Jan Kiszka
On 2012-01-09 09:47, Gleb Natapov wrote: > On Sun, Jan 08, 2012 at 10:40:04PM +0100, Igor Mammedov wrote: >> Change introduced by e71f08bb4a >> "Fix cpu/pci hotplug to generate level triggered interrupt." >> was lost somewhre along the way. And as result SCI is not sent in >> case of cpu hot

Re: [Qemu-devel] [PATCH qemu-kvm] Fix: SCI isn't sent on cpu hotplug

2012-01-09 Thread Gleb Natapov
On Mon, Jan 09, 2012 at 11:03:10AM +0100, Jan Kiszka wrote: > On 2012-01-09 09:47, Gleb Natapov wrote: > > On Sun, Jan 08, 2012 at 10:40:04PM +0100, Igor Mammedov wrote: > >> Change introduced by e71f08bb4a > >> "Fix cpu/pci hotplug to generate level triggered interrupt." > >> was lost somewh

Re: [Qemu-devel] [PATCH qemu-kvm] Fix: SCI isn't sent on cpu hotplug

2012-01-09 Thread Jan Kiszka
On 2012-01-09 11:07, Gleb Natapov wrote: > On Mon, Jan 09, 2012 at 11:03:10AM +0100, Jan Kiszka wrote: >> On 2012-01-09 09:47, Gleb Natapov wrote: >>> On Sun, Jan 08, 2012 at 10:40:04PM +0100, Igor Mammedov wrote: Change introduced by e71f08bb4a "Fix cpu/pci hotplug to generate level

Re: [Qemu-devel] [patch 3/4] block stream: add support for partial streaming

2012-01-09 Thread Kevin Wolf
Am 04.01.2012 23:40, schrieb Stefan Hajnoczi: > The qcow2 implementation never accesses snapshots directly. Instead > there's the concept of the current L1 table, which means there is a > single global state of the disk. Snapshots are immutable and are > never accessed directly, only copied into

Re: [Qemu-devel] [PATCH qemu-kvm] Fix: SCI isn't sent on cpu hotplug

2012-01-09 Thread Igor Mammedov
On 01/09/2012 11:19 AM, Jan Kiszka wrote: On 2012-01-09 11:07, Gleb Natapov wrote: On Mon, Jan 09, 2012 at 11:03:10AM +0100, Jan Kiszka wrote: On 2012-01-09 09:47, Gleb Natapov wrote: On Sun, Jan 08, 2012 at 10:40:04PM +0100, Igor Mammedov wrote: Change introduced by e71f08bb4a "Fix cp

Re: [Qemu-devel] [PATCH qemu-kvm] Fix: SCI isn't sent on cpu hotplug

2012-01-09 Thread Jan Kiszka
On 2012-01-09 12:07, Igor Mammedov wrote: > On 01/09/2012 11:19 AM, Jan Kiszka wrote: >> On 2012-01-09 11:07, Gleb Natapov wrote: >>> On Mon, Jan 09, 2012 at 11:03:10AM +0100, Jan Kiszka wrote: On 2012-01-09 09:47, Gleb Natapov wrote: > On Sun, Jan 08, 2012 at 10:40:04PM +0100, Igor Mammed

Re: [Qemu-devel] [Bug 902148] Re: qemu-img V1.0 hangs on creating Image (0.15.1 runs)

2012-01-09 Thread Kevin Wolf
Am 20.12.2011 17:49, schrieb Stefan Hajnoczi: > On Tue, Dec 20, 2011 at 3:25 PM, Michael Niehren > <902...@bugs.launchpad.net> wrote: >> here we are. Attached the tgz. I am using no spezial distribution, it's a >> self compiled LFS with >> gcc V4.5.1 >> >> Is there a different compiler-call if i u

Re: [Qemu-devel] [PATCH] tcg/arm: Use r6 as TCG_AREG0 to avoid clash with Thumb framepointer

2012-01-09 Thread Peter Maydell
Ping? (either I forgot to cc you, Andrzej, or the mailing list manager helpfully dropped you off the cc list again. Sorry.) -- PMM On 26 December 2011 00:02, Peter Maydell wrote: > On ARM, in Thumb mode r7 is used for the framepointer; this meant > that we would fail to compile in debug mode be

[Qemu-devel] [PATCH v1 00/10]: QAPI conversions round 4

2012-01-09 Thread Luiz Capitulino
This is the beginning of the not so trivial commands, although most of them are not that complex either. Please, note the inclusion of the change-vnc-password command. This is needed by the change conversion. blockdev.c | 129 -- blockdev.h |8

[Qemu-devel] [PATCH 01/10] vnc: Simplify vnc_display_password()

2012-01-09 Thread Luiz Capitulino
Drop the qerror_report() call from it and let its callers set the error themselves. This also allows for dropping the 'ret' variable. Signed-off-by: Luiz Capitulino --- console.h |1 - monitor.c |7 ++- ui/vnc.c | 14 -- 3 files changed, 10 insertions(+), 12 deletions(

[Qemu-devel] [PATCH 05/10] qapi: Convert eject

2012-01-09 Thread Luiz Capitulino
Signed-off-by: Anthony Liguori Signed-off-by: Luiz Capitulino --- blockdev.c | 20 +--- blockdev.h |1 - hmp-commands.hx |3 +-- hmp.c| 10 ++ hmp.h|1 + qapi-schema.json | 21 + qmp-commands.hx |

[Qemu-devel] [PATCH 09/10] qapi: Convert change

2012-01-09 Thread Luiz Capitulino
Signed-off-by: Anthony Liguori Signed-off-by: Luiz Capitulino --- blockdev.c | 54 +++--- blockdev.h |5 ++- hmp-commands.hx |3 +- hmp.c| 57 + hmp.h|1 + monitor.c

[Qemu-devel] [PATCH 07/10] qapi: Introduce change-vnc-password

2012-01-09 Thread Luiz Capitulino
New QMP command to change the VNC password. Signed-off-by: Anthony Liguori Signed-off-by: Luiz Capitulino --- qapi-schema.json | 15 +++ qmp-commands.hx |6 ++ qmp.c| 14 ++ 3 files changed, 35 insertions(+), 0 deletions(-) diff --git a/qapi-sch

[Qemu-devel] KVM call agenda for Tuesday 10

2012-01-09 Thread Juan Quintela
Hi Please send in any agenda items you are interested in covering. Thanks, Juan.

[Qemu-devel] [PATCH 08/10] qerror: Extend QERR_DEVICE_ENCRYPTED

2012-01-09 Thread Luiz Capitulino
Include the name of the encrypted file. Signed-off-by: Luiz Capitulino --- monitor.c |3 ++- qerror.h |2 +- qmp.c |3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/monitor.c b/monitor.c index bd4bc4f..f85a9d2 100644 --- a/monitor.c +++ b/monitor.c @@ -4682,

[Qemu-devel] [PATCH 06/10] monitor: expose readline state

2012-01-09 Thread Luiz Capitulino
From: Anthony Liguori HMP is now implemented in terms of QMP. The monitor has a bunch of logic to deal with HMP right now like readline support. Export it from the monitor so we can consume it in hmp.c. In short time, hmp.c will take over all of the readline bits. Signed-off-by: Anthony Liguo

[Qemu-devel] [PATCH 02/10] qapi: Convert set_password

2012-01-09 Thread Luiz Capitulino
Signed-off-by: Anthony Liguori Signed-off-by: Luiz Capitulino --- hmp-commands.hx |3 +- hmp.c| 11 ++ hmp.h|1 + monitor.c| 57 -- qapi-schema.json | 29 +++ qmp-co

[Qemu-devel] [PATCH 04/10] block: eject_device(): Use error_set()

2012-01-09 Thread Luiz Capitulino
Also drops the leftover 'mon' argument. This is a preparation for the next commits which will port the eject and change commands to the QAPI. Signed-off-by: Luiz Capitulino --- blockdev.c | 30 ++ 1 files changed, 22 insertions(+), 8 deletions(-) diff --git a/bloc

[Qemu-devel] [PATCH 03/10] qapi: Convert expire_password

2012-01-09 Thread Luiz Capitulino
Signed-off-by: Anthony Liguori Signed-off-by: Luiz Capitulino --- console.h|2 -- hmp-commands.hx |3 +-- hmp.c| 10 ++ hmp.h|1 + monitor.c| 39 --- qapi-schema.json | 27 +

[Qemu-devel] [PATCH 3/3] vhost: improve region filtering

2012-01-09 Thread Avi Kivity
vhost memory management doesn't care about non-memory (e.g. PIO) or non-RAM regions. Adjust the filtering to reflect that, and move it earlier so it applies to mem_sections too. Signed-off-by: Avi Kivity --- hw/vhost.c | 19 +++ 1 files changed, 15 insertions(+), 4 deletions(-

[Qemu-devel] [PATCH 10/10] qapi: Convert block_set_io_throttle

2012-01-09 Thread Luiz Capitulino
Signed-off-by: Luiz Capitulino --- blockdev.c | 47 ++- blockdev.h |2 -- hmp-commands.hx |3 +-- hmp.c| 14 ++ hmp.h|1 + qapi-schema.json | 29 + qmp-comman

Re: [Qemu-devel] [PATCH 2/4] memory: change dirty setting APIs to take a size

2012-01-09 Thread Avi Kivity
On 01/08/2012 11:10 PM, Blue Swirl wrote: > Instead of each target knowing or guessing the guest page size, > just pass the desired size of dirtied memory area. This should also > improve performance due to memset() optimizations. > > diff --git a/exec-obsolete.h b/exec-obsolete.h > index f8af27e..

[Qemu-devel] [PATCH 2/3] vhost: fix mem_sections memory corruption

2012-01-09 Thread Avi Kivity
A memset() used to delete an entry in an array did not take into account the array element's size. Signed-off-by: Avi Kivity --- hw/vhost.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/vhost.c b/hw/vhost.c index 541c716..d924fb0 100644 --- a/hw/vhost.c +++ b/hw/vh

Re: [Qemu-devel] [Qemu-trivial] [PATCH] configure: Modify detection of supported warning options

2012-01-09 Thread Stefan Hajnoczi
On Wed, Jan 04, 2012 at 10:47:16PM +0100, Stefan Weil wrote: > Reversing the order of the warning options and -Werror is important > when clang is used instead of gcc. It changes nothing for gcc. > > Signed-off-by: Stefan Weil > --- > configure |2 +- > 1 files changed, 1 insertions(+), 1 de

Re: [Qemu-devel] [Qemu-trivial] [PATCH] tcg-arm: fix a typo in comments

2012-01-09 Thread Stefan Hajnoczi
On Sat, Jan 07, 2012 at 09:00:25PM +0100, Aurelien Jarno wrote: > ARM still doesn't support 16GB buffers in 32-bit modes, replace the > 16GB by 16MB in the comment. > > Signed-off-by: Aurelien Jarno > --- > exec.c |2 +- > tcg/arm/tcg-target.c |2 +- > 2 files changed, 2 in

Re: [Qemu-devel] [PATCH RFC v3 0/2] Initial support for Microsoft Hyper-V.

2012-01-09 Thread Marcelo Tosatti
On Sun, Dec 18, 2011 at 10:48:12PM +0200, Vadim Rozenfeld wrote: > With the following series of patches we are starting to implement > some basic Microsoft Hyper-V Enlightenment functionality. This series > is mostly about adding support for relaxed timing, spinlock, > and virtual apic. > > For mo

Re: [Qemu-devel] [Qemu-trivial] [PATCH] Spelling fixes in comments and documentation

2012-01-09 Thread Stefan Hajnoczi
On Sun, Jan 08, 2012 at 07:35:09PM +0100, Stefan Weil wrote: > Codespell detected these new spelling issues. > > Signed-off-by: Stefan Weil > --- > docs/writing-qmp-commands.txt |2 +- > memory.h |4 ++-- > qemu-ga.c |2 +- > 3 files changed,

[Qemu-devel] [PATCH 1/3] vhost: fix incorrect userspace address

2012-01-09 Thread Avi Kivity
MemoryListener::region_add() gives us a slice of a MemoryRegion, not a region. Adjust the userspace address to reflect that. Signed-off-by: Avi Kivity --- hw/vhost.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/vhost.c b/hw/vhost.c index cd56e75..541c716 100644 -

Re: [Qemu-devel] [Bug 902148] Re: qemu-img V1.0 hangs on creating Image (0.15.1 runs)

2012-01-09 Thread Stefan Hajnoczi
On Mon, Jan 9, 2012 at 11:25 AM, Kevin Wolf wrote: > Am 20.12.2011 17:49, schrieb Stefan Hajnoczi: >> On Tue, Dec 20, 2011 at 3:25 PM, Michael Niehren >> <902...@bugs.launchpad.net> wrote: >>> here we are. Attached the tgz. I am using no spezial distribution, it's a >>> self compiled LFS with >>>

Re: [Qemu-devel] [patch 3/4] block stream: add support for partial streaming

2012-01-09 Thread Stefan Hajnoczi
On Mon, Jan 9, 2012 at 10:58 AM, Kevin Wolf wrote: > Am 04.01.2012 23:40, schrieb Stefan Hajnoczi: >> Kevin: I think we need something like qcow2_snapshot_load_tmp() but it >> returns a full new BlockDriverState.  The hard thing is that duping a >> read-only snapshot qcow2 state leads to sharing a

Re: [Qemu-devel] [PATCH] s390: Rework kernel loading: supports elf and newer kernels

2012-01-09 Thread Alexander Graf
On 30.12.2011, at 10:10, Christian Borntraeger wrote: > This reworks the image loading on s390. > > Newer kernels will not always have a 0dd0 (basr 13,0) at address 0x1. > We must not rely on specific code at certain addresses. This check was > introduced to warn users that tried to load vm

Re: [Qemu-devel] [PATCH 1/3] vhost: fix incorrect userspace address

2012-01-09 Thread Michael S. Tsirkin
On Mon, Jan 09, 2012 at 02:04:52PM +0200, Avi Kivity wrote: > MemoryListener::region_add() gives us a slice of a MemoryRegion, not a > region. Adjust the userspace address to reflect that. > > Signed-off-by: Avi Kivity Acked-by: Michael S. Tsirkin > --- > hw/vhost.c |2 +- > 1 files cha

Re: [Qemu-devel] [PATCH 2/3] vhost: fix mem_sections memory corruption

2012-01-09 Thread Michael S. Tsirkin
On Mon, Jan 09, 2012 at 02:04:53PM +0200, Avi Kivity wrote: > A memset() used to delete an entry in an array did not take into account > the array element's size. > > Signed-off-by: Avi Kivity Acked-by: Michael S. Tsirkin > --- > hw/vhost.c |2 +- > 1 files changed, 1 insertions(+), 1 del

Re: [Qemu-devel] [PATCH 3/3] vhost: improve region filtering

2012-01-09 Thread Michael S. Tsirkin
On Mon, Jan 09, 2012 at 02:04:54PM +0200, Avi Kivity wrote: > vhost memory management doesn't care about non-memory (e.g. PIO) or non-RAM > regions. Adjust the filtering to reflect that, and move it earlier so it > applies to mem_sections too. > > Signed-off-by: Avi Kivity Acked-by: Michael S.

Re: [Qemu-devel] [PATCH 3/3] vhost: improve region filtering

2012-01-09 Thread Avi Kivity
On 01/09/2012 03:28 PM, Michael S. Tsirkin wrote: > On Mon, Jan 09, 2012 at 02:04:54PM +0200, Avi Kivity wrote: > > vhost memory management doesn't care about non-memory (e.g. PIO) or non-RAM > > regions. Adjust the filtering to reflect that, and move it earlier so it > > applies to mem_sections t

Re: [Qemu-devel] [PATCH 3/3] vhost: improve region filtering

2012-01-09 Thread Michael S. Tsirkin
On Mon, Jan 09, 2012 at 03:27:24PM +0200, Avi Kivity wrote: > On 01/09/2012 03:28 PM, Michael S. Tsirkin wrote: > > On Mon, Jan 09, 2012 at 02:04:54PM +0200, Avi Kivity wrote: > > > vhost memory management doesn't care about non-memory (e.g. PIO) or > > > non-RAM > > > regions. Adjust the filteri

Re: [Qemu-devel] [PATCH] ppc-linux-user: Fix missing symbols in .rel/.rela.plt sections

2012-01-09 Thread Alexander Graf
On 07.01.2012, at 21:16, Aurelien Jarno wrote: > Fix .rel.plt sections in the output to not only include .rel.plt > sections from the input but also the .rel.iplt sections and to define > the hidden symbols __rel_iplt_start and __rel_iplt_end around > .rel.iplt as otherwise we get undefined refer

[Qemu-devel] [Bug 913774] Re: device can't be hot-removed from the guest

2012-01-09 Thread Yongjie Ren
** Attachment added: "lspci -vvv in guest" https://bugs.launchpad.net/qemu/+bug/913774/+attachment/2664205/+files/lspci-guest.log -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/913774 Title: dev

[Qemu-devel] [Bug 913774] Re: device can't be hot-removed from the guest

2012-01-09 Thread Yongjie Ren
** Attachment added: "guest dmesg log" https://bugs.launchpad.net/qemu/+bug/913774/+attachment/2664198/+files/dmesg-guest.log -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/913774 Title: device

[Qemu-devel] [Bug 913774] Re: device can't be hot-removed from the guest

2012-01-09 Thread Yongjie Ren
** Attachment added: "host dmesg log" https://bugs.launchpad.net/qemu/+bug/913774/+attachment/2664196/+files/dmesg-host.log -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/913774 Title: device ca

[Qemu-devel] [Bug 913774] Re: device can't be hot-removed from the guest

2012-01-09 Thread Yongjie Ren
** Attachment added: "lspci -vvv in host" https://bugs.launchpad.net/qemu/+bug/913774/+attachment/2664197/+files/lspci-host.log -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/913774 Title: devic

[Qemu-devel] [PATCH 0/3] Fix vhost after memory API breakage

2012-01-09 Thread Avi Kivity
The memory API adjustments broke vhost, this series puts it back together again. There is still a lot of room for simplification (for example split/merge can no longer occur with the memory API), this is left for later. Avi Kivity (3): vhost: fix incorrect userspace address vhost: fix mem_sec

[Qemu-devel] [Bug 913774] [NEW] device can't be hot-removed from the guest

2012-01-09 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(RHEL6u1) kvm.git Commit: ff92e9b5571b34f53cbfde0899cf6e6a579cb3fa qemu-kvm Commit: aad3b517a1b83561f2755dc4451596a421399c19 Host Kernel Version: 3

[Qemu-devel] [PULL] Fix vhost-net after the MemoryListener trauma

2012-01-09 Thread Avi Kivity
Please pull from: git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git fix-vhost-after-memory-listener to fix vhost-net after the MemoryListener changes. Michael reviewed and acked all three patches. Avi Kivity (3): vhost: fix incorrect userspace address vhost: fix mem_sections memo

Re: [Qemu-devel] [PULL] memory core fixes

2012-01-09 Thread Anthony Liguori
On 01/08/2012 08:01 AM, Avi Kivity wrote: Please pull from git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git memory/urgent to receive fixes for recent memory core breakages. Pulled. Thanks. Regards, Anthony Liguori Andreas Färber (2): memory: Fix memory_region_wrong_endiannes

Re: [Qemu-devel] [PULL] usb bugfix patch queue

2012-01-09 Thread Anthony Liguori
On 01/06/2012 06:50 AM, Gerd Hoffmann wrote: Hi, Here comes a collection of bugfixes for usb, check the individual patches for details. All four patches should be charry-picked into stable once they are merged into master. Pulled. Thanks. Regards, Anthony Liguori please pull, Gerd

Re: [Qemu-devel] [PULL] xen memory fix

2012-01-09 Thread Anthony Liguori
On 01/05/2012 07:00 AM, Stefano Stabellini wrote: Hi Anthony, I have a single fix (also appended) for Xen by Anthony Perard, to remove a bug recently introduced by the memory api changes: Anthony PERARD (1): xen: Fix after recent change in dirty bitmap tracking. xen-all.c | 38 ++

Re: [Qemu-devel] [PULL 0/9] Trivial patches for 20 December 2011 to 6 January 2012

2012-01-09 Thread Anthony Liguori
On 01/06/2012 09:51 AM, Stefan Hajnoczi wrote: My pull request from 22 December 2011 was misformatted and therefore not merged. I have included those patches again together with the latest batch of trivial patches. The following changes since commit c47f3223658119219bbe0b8d09da733d1c06e76f:

Re: [Qemu-devel] [PULL] Fix vhost-net after the MemoryListener trauma

2012-01-09 Thread Anthony Liguori
On 01/09/2012 08:41 AM, Avi Kivity wrote: Please pull from: git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git fix-vhost-after-memory-listener to fix vhost-net after the MemoryListener changes. Michael reviewed and acked all three patches. Avi Kivity (3): vhost: fix incorrect usersp

Re: [Qemu-devel] [PULL] VirtFS Proxy FS driver changes

2012-01-09 Thread Anthony Liguori
On 01/04/2012 10:28 AM, Aneesh Kumar K.V wrote: The following changes since commit f3c6a169a39d188e98c17a0a0ebfa7f85e5aafdd: Merge remote-tracking branch 'qemu-kvm/memory/page_desc' into staging (2012-01-03 14:39:05 -0600) are available in the git repository at: git://github.com/kvane

Re: [Qemu-devel] Restarting my activity on QEMU

2012-01-09 Thread nicolas.sauzede
Salut Aurelien, Tout d'abord, je te souhaite un bonne annee 2012 ! Comment vas-tu ? Est-ce que tu travaille toujours sur le projet de telescope international (?) ? Tu parle de de burn-out, j'espere que ce n'est pas trop grave ? a+, NS. > Message du 07/01/12 22:01 > De : "Blue Swirl" > A : "Aure

Re: [Qemu-devel] [PULL v2] virtio-serial: Fix console failure on unconnected pty

2012-01-09 Thread Anthony Liguori
On 01/04/2012 01:34 AM, Amit Shah wrote: Hi, Turns out I used the wrong repo dir which caused problems. Corrected link below. This patch fixes a frozen guest on virtio-console output before a pty is connected. Please pull. The following changes since commit f3c6a169a39d188e98c17a0a0ebfa7f85e

Re: [Qemu-devel] [PATCH V2 5/5] vga-cirrus: Workaround during restore when using Xen.

2012-01-09 Thread Stefano Stabellini
On Sun, 8 Jan 2012, Avi Kivity wrote: > On 01/06/2012 04:40 PM, Stefano Stabellini wrote: > > Avi, if you think that early_savevm is a decent solution, we'll start > > working on it. > > I don't like early_savevm because it complicates life for devices, for > what is a localized problem. But if

Re: [Qemu-devel] [PATCH V2 5/5] vga-cirrus: Workaround during restore when using Xen.

2012-01-09 Thread Jan Kiszka
On 2012-01-09 16:25, Stefano Stabellini wrote: > On Sun, 8 Jan 2012, Avi Kivity wrote: >> On 01/06/2012 04:40 PM, Stefano Stabellini wrote: >>> Avi, if you think that early_savevm is a decent solution, we'll start >>> working on it. >> >> I don't like early_savevm because it complicates life for d

Re: [Qemu-devel] [PATCH V2 5/5] vga-cirrus: Workaround during restore when using Xen.

2012-01-09 Thread Avi Kivity
On 01/09/2012 05:28 PM, Jan Kiszka wrote: > On 2012-01-09 16:25, Stefano Stabellini wrote: > > On Sun, 8 Jan 2012, Avi Kivity wrote: > >> On 01/06/2012 04:40 PM, Stefano Stabellini wrote: > >>> Avi, if you think that early_savevm is a decent solution, we'll start > >>> working on it. > >> > >> I d

[Qemu-devel] [RFC PATCH v2 0/4] simpletrace : support var num of args and strings.

2012-01-09 Thread Harsh Prateek Bora
Existing simple trace can log upto 6 args per trace event and does not support strings in trace record format. Introducing new trace format as discussed earlier on list to support variable number/size of arguments. (Ref: http://lists.gnu.org/archive/html/qemu-devel/2011-11/msg03426.html) Basic tes

[Qemu-devel] [RFC PATCH v2 3/4] simpletrace-v2: Handle variable number/size of elements per trace record.

2012-01-09 Thread Harsh Prateek Bora
Advantages over existing simpletrace backend: - More than 6 elements (vitually unlimited) arguments can be traced. - This allows to trace strings (variable size element) as well. Signed-off-by: Harsh Prateek Bora --- monitor.c |2 +- trace/simple.c | 178 ---

[Qemu-devel] [RFC PATCH v2 4/4] simpletrace.py: updated log reader script to handle new log format

2012-01-09 Thread Harsh Prateek Bora
Note: This script has been updated with minimal changes required to observe the new trace log format in action and therefore can be improved for a better design. It can still read the logs from older log format as well. Signed-off-by: Harsh Prateek Bora --- scripts/simpletrace.py | 110

[Qemu-devel] [RFC PATCH v2 1/4] Converting tracetool.sh to tracetool.py

2012-01-09 Thread Harsh Prateek Bora
Note: Upstream Qemu have build issues with LTTng ust backend, as the trace event APIs are not yet stable in ust and therefore ust backend is not supported in this script as of now. Once the ust API stablises, this script can be updated for ust backend also. Signed-off-by: Harsh Prateek Bora ---

[Qemu-devel] [PATCH 09/11] check-qjson: enable disabled tests

2012-01-09 Thread Anthony Liguori
gtest does the right thing here so there's no need to comment these tests out. Signed-off-by: Anthony Liguori --- check-qjson.c |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/check-qjson.c b/check-qjson.c index 430f53b..526e25e 100644 --- a/check-qjson.c +++ b/check

[Qemu-devel] [PATCH 07/11] check-qlist: convert to gtest

2012-01-09 Thread Anthony Liguori
Signed-off-by: Anthony Liguori --- check-qlist.c | 74 ++-- configure |3 +- 2 files changed, 25 insertions(+), 52 deletions(-) diff --git a/check-qlist.c b/check-qlist.c index ee2454a..501ba26 100644 --- a/check-qlist.c +++ b/check-q

[Qemu-devel] [PATCH 05/11] check-qint: convert to gtest

2012-01-09 Thread Anthony Liguori
Signed-off-by: Anthony Liguori --- check-qint.c | 68 ++ configure|4 +- 2 files changed, 23 insertions(+), 49 deletions(-) diff --git a/check-qint.c b/check-qint.c index 3af51f2..5a27119 100644 --- a/check-qint.c +++ b/check-qint

[Qemu-devel] [PATCH 02/11] build: split unit test builds to a separate makefile fragment

2012-01-09 Thread Anthony Liguori
Signed-off-by: Anthony Liguori --- Makefile | 31 ++- tests/Makefile | 31 +++ 2 files changed, 33 insertions(+), 29 deletions(-) create mode 100644 tests/Makefile diff --git a/Makefile b/Makefile index 0cbe7c2..80fb512 100644 --

[Qemu-devel] [PATCH 10/11] test: eliminate libcheck tests and have make check use gtester

2012-01-09 Thread Anthony Liguori
Signed-off-by: Anthony Liguori --- configure | 33 + tests/Makefile | 11 ++- 2 files changed, 7 insertions(+), 37 deletions(-) diff --git a/configure b/configure index b2e622c..90ad82c 100755 --- a/configure +++ b/configure @@ -176,7 +176,6 @@ mi

[Qemu-devel] [PATCH 03/11] check-qdict: convert to gtest

2012-01-09 Thread Anthony Liguori
Signed-off-by: Anthony Liguori --- Makefile |6 -- check-qdict.c | 246 +--- configure |4 +- tests/Makefile |6 ++ 4 files changed, 119 insertions(+), 143 deletions(-) diff --git a/Makefile b/Makefile index 80fb512..48

[Qemu-devel] [PATCH 08/11] check-qjson: convert to gtest

2012-01-09 Thread Anthony Liguori
Signed-off-by: Anthony Liguori --- check-qjson.c | 330 +++-- configure |4 +- 2 files changed, 136 insertions(+), 198 deletions(-) diff --git a/check-qjson.c b/check-qjson.c index 36d4ac2..430f53b 100644 --- a/check-qjson.c +++ b/chec

[Qemu-devel] [RFC PATCH v2 2/4] Makefile and configure changes for tracetool.py

2012-01-09 Thread Harsh Prateek Bora
Use tracetool.py to generate tracing code for requested backend. Signed-off-by: Harsh Prateek Bora --- Makefile.objs |6 +++--- Makefile.target | 10 +- configure |4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Makefile.objs b/Makefile.objs ind

[Qemu-devel] [PATCH 11/11] check: add a check-report and check-help target

2012-01-09 Thread Anthony Liguori
Signed-off-by: Anthony Liguori --- tests/Makefile | 43 --- 1 files changed, 40 insertions(+), 3 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index cba482f..7228f44 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -33,6 +33,43 @@ test-qmp

[Qemu-devel] [PATCH 06/11] check-qstring: convert to gtest

2012-01-09 Thread Anthony Liguori
Signed-off-by: Anthony Liguori --- check-qstring.c | 75 +- configure |4 +- 2 files changed, 26 insertions(+), 53 deletions(-) diff --git a/check-qstring.c b/check-qstring.c index 93bd475..681bb68 100644 --- a/check-qstring.c +++ b

[Qemu-devel] [PATCH 04/11] check-qfloat: convert to gtest

2012-01-09 Thread Anthony Liguori
Signed-off-by: Anthony Liguori --- check-qfloat.c | 47 --- configure |4 ++-- 2 files changed, 14 insertions(+), 37 deletions(-) diff --git a/check-qfloat.c b/check-qfloat.c index 3344057..cdc66ea 100644 --- a/check-qfloat.c +++ b/check-qfl

Re: [Qemu-devel] [RFC PATCH v2 0/4] simpletrace : support var num of args and strings.

2012-01-09 Thread Mathieu Desnoyers
* Harsh Prateek Bora (ha...@linux.vnet.ibm.com) wrote: > Existing simple trace can log upto 6 args per trace event and does not > support strings in trace record format. Introducing new trace format as > discussed earlier on list to support variable number/size of arguments. > (Ref: http://lists.gn

[Qemu-devel] [PATCH v2 0/6] arm: add support for Calxeda Highbank SoC

2012-01-09 Thread Mark Langsdorf
This patch series adds support for the Calxeda Highbank SoC. It depends on my previous patch series "various ARM fixes for Calxeda Highbank" and "ahci: convert ahci_reset to use AHCIState". Some of the patches are carried voer from "Various ARM fixes for Calxeda Highbank" and were reviewed but not

[Qemu-devel] [PATCH v4 3/6] ahci: add support for non-PCI based controllers

2012-01-09 Thread Mark Langsdorf
From: Rob Herring Add support for ahci on sysbus. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- Changes from v3 Renamed plat-ahci to sysbus-ahci Changes from v1, v2 Corrected indentation of PlatAHCIState members Made plat_ahci_info into a single structure

[Qemu-devel] [PATCH 6/6] arm: Remove incorrect and misleading comment in arm_timer

2012-01-09 Thread Mark Langsdorf
Signed-off-by: Mark Langsdorf --- hw/arm_timer.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/hw/arm_timer.c b/hw/arm_timer.c index 60e1c63..15d493f 100644 --- a/hw/arm_timer.c +++ b/hw/arm_timer.c @@ -272,11 +272,8 @@ static int sp804_init(SysBusDevice *dev)

[Qemu-devel] [PATCH v2 5/6] arm: SoC model for Calxeda Highbank

2012-01-09 Thread Mark Langsdorf
From: Rob Herring Adds support for Calxeda's Highbank SoC. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- Changes from v1 Restructed the loading of sysram.bin and made it more clearly optional Made the regs structure into a proper qdev/sysbus object Remove

[Qemu-devel] [PATCH 4/6] arm: Add dummy support for co-processor 15's secure config register

2012-01-09 Thread Mark Langsdorf
From: Rob Herring Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- target-arm/cpu.h |3 ++- target-arm/helper.c |9 + target-arm/machine.c |2 ++ 3 files changed, 13 insertions(+), 1 deletions(-) diff --git a/target-arm/cpu.h b/target-arm/cpu.h index 26b49

[Qemu-devel] [PATCH] Add 'fall through' comments to case statements without break

2012-01-09 Thread Stefan Weil
These comments are used by static code analysis tools and in code reviews to avoid false warnings because of missing break statements. The case statements handled here were reported by coverity. Signed-off-by: Stefan Weil --- hw/pcnet.c|1 + json-lexer.c |1 + qemu-option.c |4

Re: [Qemu-devel] [PATCH] Add 'fall through' comments to case statements without break

2012-01-09 Thread Peter Maydell
On 9 January 2012 17:29, Stefan Weil wrote: > These comments are used by static code analysis tools and in code reviews > to avoid false warnings because of missing break statements. > > The case statements handled here were reported by coverity. > > Signed-off-by: Stefan Weil Reviewed-by: Peter

[Qemu-devel] [PATCH v5 1/6] Add xgmac ethernet model

2012-01-09 Thread Mark Langsdorf
This adds very basic support for XG-mac ethernet core from Synopsis and others. Missing things include: - statistics counters - WoL support - rx checksum offload - chained descriptors (only linear descriptor ring) - broadcast and multicast handling Signed-off-by: Rob Herring Signed-off-by: Mark

[Qemu-devel] [PATCH v6 2/6] arm: make the number of GIC interrupts configurable

2012-01-09 Thread Mark Langsdorf
Increase the maximum number of GIC interrupts for a9mp and a11mp to 1020, and create a configurable property for each defaulting to 96 and 64 (respectively) so that device modelers can set the value appropriately for their SoC. Other ARM processors also set their maximum number of used IRQs appropr

[Qemu-devel] Last call for 1.0.1 stable release

2012-01-09 Thread Justin M. Forbes
Due to the repository move, holidays and other bits, we are a bit late getting out the door, but I want to get qemu 1.0.1 stable release done this week. We have a number of patches, but if you are sitting on anything or close to finishing up something, please get all patches to qemu-sta...@nongnu.

[Qemu-devel] [PATCH] cris-dis: Clean memory allocation

2012-01-09 Thread Stefan Weil
The old code used sizeof(const struct cris_opcode **) where it should have used sizeof(const struct cris_opcode *). As both sizes give the same value, the resulting binary was ok, but static code analyzers like coverity and clang complained. This is fixed here, and the code is also simplified by u

Re: [Qemu-devel] [PATCH 03/11] check-qdict: convert to gtest

2012-01-09 Thread Luiz Capitulino
On Mon, 9 Jan 2012 09:56:04 -0600 Anthony Liguori wrote: > Signed-off-by: Anthony Liguori > --- > Makefile |6 -- > check-qdict.c | 246 > +--- > configure |4 +- > tests/Makefile |6 ++ > 4 files changed, 119 insert

[Qemu-devel] [PATCH] wm8750: Fix calculation of number of array elements

2012-01-09 Thread Stefan Weil
Coverity says that the division by sizeof(*s->rate) might be wrong. I think that coverity is right. Cc: Andrzej Zaborowski Signed-off-by: Stefan Weil --- hw/wm8750.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/wm8750.c b/hw/wm8750.c index 39383f4..b3589d3 1006

[Qemu-devel] [PATCH 0/6] OpenGL passthrough support once again

2012-01-09 Thread Andrzej Zaborowski
This is the host part of an OpenGL passthrough framework to make apps run faster. It has initially lived on nongnu.org as a separate project by Even Rouault, later was picked up by me to use in the Poky meta-distribution and later was picked up by various platform SDKs for application developers.

[Qemu-devel] [PATCH 4/6] virtio-serial: Call .guest_ready when new space is available in the queue.

2012-01-09 Thread Andrzej Zaborowski
Without that it's impossible to write a virtio-serial port driver that sends any buffers bigger than a couple kilobytes, other than by polling to check when space in the queue becomes available. Signed-off-by: Andrzej Zaborowski --- hw/virtio-serial-bus.c |8 1 files changed, 8 inse

[Qemu-devel] [PATCH 5/6] gl: virtio-serial port driver for OpenGL passthrough.

2012-01-09 Thread Andrzej Zaborowski
This is a relatively simple to use OpenGL passthrough transport because it doesn't need any guest kernel changes, but it's not blazing fast. Still faster than software rendering. The main problems are: * transfers are split in very small chunks by virtio queues, some OpenGL calls (think texture

[Qemu-devel] [PATCH 6/6] gl: -enable-gl switch to enable the GL virtio port.

2012-01-09 Thread Andrzej Zaborowski
Signed-off-by: Andrzej Zaborowski --- qemu-options.hx | 24 vl.c| 36 2 files changed, 60 insertions(+), 0 deletions(-) diff --git a/qemu-options.hx b/qemu-options.hx index 7903e5c..f00bb6d 100644 --- a/qemu-options.hx

Re: [Qemu-devel] [PATCH 03/11] check-qdict: convert to gtest

2012-01-09 Thread Anthony Liguori
On 01/09/2012 12:27 PM, Luiz Capitulino wrote: -START_TEST(qdict_put_obj_test) +static void qdict_put_obj_test(void) { QInt *qi; QDict *qdict; @@ -49,10 +48,10 @@ START_TEST(qdict_put_obj_test) // key "" will have tdb hash 12345 qdict_put_obj(qdict, "", QOBJECT(qint_from

Re: [Qemu-devel] [PATCH 01/11] tests: mv tests/* -> tests/tcg

2012-01-09 Thread Andreas Färber
Am 09.01.2012 16:56, schrieb Anthony Liguori: > Signed-off-by: Anthony Liguori Reviewed-by: Andreas Färber tests/tcg looks better than tests/tcg-test, thanks. Andreas > --- > Makefile |4 ++-- > configure |

Re: [Qemu-devel] [RFC PATCH v2 0/4] simpletrace : support var num of args and strings.

2012-01-09 Thread Harsh Bora
On 01/09/2012 09:31 PM, Mathieu Desnoyers wrote: * Harsh Prateek Bora (ha...@linux.vnet.ibm.com) wrote: Existing simple trace can log upto 6 args per trace event and does not support strings in trace record format. Introducing new trace format as discussed earlier on list to support variable num

  1   2   >