Re: [Qemu-devel] [PATCH 2/4] arm: switch real-time clocks to rtc_clock

2012-02-17 Thread Paolo Bonzini
On 02/17/2012 08:09 AM, andrzej zaborowski wrote: This lets the user specify the desired semantics. By default, the RTC will follow adjustments from the host's NTP client. -rtc clock=vm will improve determinism with both icount and qtest. Finally, the previous behavior is available with

[Qemu-devel] [Bug 818673] Re: virtio: trying to map MMIO memory

2012-02-17 Thread Alon Levy
Vadim, Could this be related to the hangs during boot with qxl and virtio-serial in a single windows vm? Alon -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/818673 Title: virtio: trying to map

Re: [Qemu-devel] [PATCH 2/4] Make -machine/-enable-kvm options merge into a single list

2012-02-17 Thread andrzej zaborowski
On 8 February 2012 06:41, Peter Maydell peter.mayd...@linaro.org wrote: Make the machine option list use list merging, so that multiple -machine arguments (and the -enable-kvm argument) all merge together into a single list. Drop the calls to qemu_opts_reset() which meant that only the last

Re: [Qemu-devel] [PATCH v3 1/1] ./configure: add option for disabling VirtFS

2012-02-17 Thread Aneesh Kumar K.V
On Thu, 9 Feb 2012 20:31:17 -0600, Meador Inge mead...@codesourcery.com wrote: Signed-off-by: Meador Inge mead...@codesourcery.com --- Makefile |2 ++ configure | 25 +++-- 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index

Re: [Qemu-devel] [PATCH 2/4] arm: switch real-time clocks to rtc_clock

2012-02-17 Thread andrzej zaborowski
On 17 February 2012 09:05, Paolo Bonzini pbonz...@redhat.com wrote: On 02/17/2012 08:09 AM, andrzej zaborowski wrote: This lets the user specify the desired semantics.  By default, the RTC will follow adjustments from the host's NTP client.  -rtc clock=vm will improve determinism with both

Re: [Qemu-devel] [PATCH 2/4] arm: switch real-time clocks to rtc_clock

2012-02-17 Thread Paolo Bonzini
On 02/17/2012 09:24 AM, andrzej zaborowski wrote: Ok, then I think it's better to switch that one to vm_clock (so that you could use it as a deterministic debugging aid with -icount, for example). What do you think? I was thinking about potential visual effects. vm_clock is the same as

Re: [Qemu-devel] [PATCH 1/2] qxl: introduce QXLCookie

2012-02-17 Thread Alon Levy
On Fri, Feb 17, 2012 at 01:11:27AM +0200, Alon Levy wrote: Will be used in the next patch. Self NACK, some errors in this patchset, sending v2 with cleanup (qxl_cookie_new to reduce the duplicate code). Signed-off-by: Alon Levy al...@redhat.com --- hw/qxl-render.c|2 +- hw/qxl.c

[Qemu-devel] [PATCH v2 1/2] qxl: introduce QXLCookie

2012-02-17 Thread Alon Levy
Will be used in the next patch. Signed-off-by: Alon Levy al...@redhat.com --- hw/qxl-render.c|2 +- hw/qxl.c | 60 +-- hw/qxl.h |2 +- ui/spice-display.c | 26 -- ui/spice-display.h | 12

[Qemu-devel] [PATCH v2 2/2] qxl: make qxl_render_update async

2012-02-17 Thread Alon Levy
RHBZ# 794658 Removes the last user of QXL_SYNC when using update drivers that use the _ASYNC io ports. The last user is qxl_render_update, it is called both by qxl_hw_update which is the vga_hw_update_ptr passed to graphic_console_init, and by qxl_hw_screen_dump. At the same time the QXLRect

Re: [Qemu-devel] [RFC][PATCH 09/16 v6] introduce a new monitor command 'dump' to dump guest's memory

2012-02-17 Thread Wen Congyang
At 02/15/2012 01:59 AM, Jan Kiszka Wrote: On 2012-02-09 04:28, Wen Congyang wrote: Signed-off-by: Wen Congyang we...@cn.fujitsu.com --- Makefile.target |8 +- dump.c | 590 ++ dump.h |3 + hmp-commands.hx

Re: [Qemu-devel] [RFC][PATCH 09/16 v6] introduce a new monitor command 'dump' to dump guest's memory

2012-02-17 Thread Jan Kiszka
On 2012-02-17 09:52, Wen Congyang wrote: +static DumpState *dump_init(int fd, Error **errp) +{ +CPUState *env; +DumpState *s = dump_get_current(); +int ret; + +vm_stop(RUN_STATE_PAUSED); I would save the current vm state first and restore it when finished. There is no

[Qemu-devel] [Bug 818673] Re: virtio: trying to map MMIO memory

2012-02-17 Thread vrozenfe
I have no idea regarding Ubuntu, but you can find the new drivers at Fedora project site http://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/bin/virtio-win-0.1-22.iso -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU.

[Qemu-devel] [Bug 818673] Re: virtio: trying to map MMIO memory

2012-02-17 Thread vrozenfe
Hi Alon, Unfortunately, qxl and virtio-serial hang is a different problem. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/818673 Title: virtio: trying to map MMIO memory Status in QEMU: New

Re: [Qemu-devel] [RFC][PATCH 07/16 v6] target-i386: Add API to add extra memory mapping

2012-02-17 Thread Wen Congyang
At 02/15/2012 06:21 PM, Jan Kiszka Wrote: On 2012-02-15 10:44, Wen Congyang wrote: At 02/15/2012 05:21 PM, Jan Kiszka Wrote: On 2012-02-15 06:19, Wen Congyang wrote: At 02/15/2012 01:35 AM, Jan Kiszka Wrote: On 2012-02-09 04:24, Wen Congyang wrote: Crash needs extra memory mapping to

Re: [Qemu-devel] [RFC][PATCH 09/16 v6] introduce a new monitor command 'dump' to dump guest's memory

2012-02-17 Thread Jan Kiszka
On 2012-02-17 10:35, Wen Congyang wrote: At 02/17/2012 05:26 PM, Jan Kiszka Wrote: On 2012-02-17 09:52, Wen Congyang wrote: +static DumpState *dump_init(int fd, Error **errp) +{ +CPUState *env; +DumpState *s = dump_get_current(); +int ret; + +vm_stop(RUN_STATE_PAUSED); I

Re: [Qemu-devel] [RFC][PATCH 09/16 v6] introduce a new monitor command 'dump' to dump guest's memory

2012-02-17 Thread Wen Congyang
At 02/17/2012 05:26 PM, Jan Kiszka Wrote: On 2012-02-17 09:52, Wen Congyang wrote: +static DumpState *dump_init(int fd, Error **errp) +{ +CPUState *env; +DumpState *s = dump_get_current(); +int ret; + +vm_stop(RUN_STATE_PAUSED); I would save the current vm state first and

Re: [Qemu-devel] [PATCH] kvmclock: Always register type

2012-02-17 Thread Jan Kiszka
On 2012-02-17 02:32, Andreas Färber wrote: Currently, the kvmclock type is only registered when kvm_enabled(). This breaks when moving type registration to before command line parsing (so that QOM types can be used for CPU and machine). Since the QOM classes are lazy-initialized anyway and

Re: [Qemu-devel] [PATCH 2/2] pci: rewrite devaddr parsing

2012-02-17 Thread Michael S. Tsirkin
On Thu, Feb 16, 2012 at 11:23:40PM +0400, malc wrote: +{ +unsigned dom, bus, slot, func; +int n = -1; + +/* Parse [[domain:]bus:]slot */ +sscanf(addr, %x:%x:%x%n, dom, bus, slot, n); sscanf can fail. +if (n == -1) { If it does n will stay -1.

Re: [Qemu-devel] [PATCH 4/4] qmp: add BLOCK_MEDIUM_EJECT event

2012-02-17 Thread Kevin Wolf
Am 16.02.2012 19:30, schrieb Markus Armbruster: Let's figure out how this stuff really works. 1. Guest load/eject Guest commands load or eject. Device model updates its state of virtual tray (e.g. IDEState member tray_open) unless locked, then calls bdrv_eject(). bdrv_eject() is a

Re: [Qemu-devel] [PATCH 2/2] pci: rewrite devaddr parsing

2012-02-17 Thread malc
On Fri, 17 Feb 2012, Michael S. Tsirkin wrote: On Thu, Feb 16, 2012 at 11:23:40PM +0400, malc wrote: +{ +unsigned dom, bus, slot, func; +int n = -1; + +/* Parse [[domain:]bus:]slot */ +sscanf(addr, %x:%x:%x%n, dom, bus, slot, n); sscanf can fail. +

Re: [Qemu-devel] [PATCH RFC v3 14/21] target-arm: Move the PXA270's iwMMXt reset to pxa270_reset()

2012-02-17 Thread andrzej zaborowski
On 3 February 2012 03:59, Andreas Färber afaer...@suse.de wrote: No other emulated CPU uses this at this time. But why does this code better fit in hw/ than target-arm? The iwMMXt registers are core registers after all. Also the defines let the board code request a cpu revision by name instead

Re: [Qemu-devel] [PATCH 2/2] pci: rewrite devaddr parsing

2012-02-17 Thread Michael S. Tsirkin
On Thu, Feb 16, 2012 at 01:39:02PM -0700, Eric Blake wrote: On 02/16/2012 12:23 PM, malc wrote: On Thu, 16 Feb 2012, Michael S. Tsirkin wrote: Use scanf instead of manual string scanning. + +/* Parse [[domain:]bus:]slot */ +sscanf(addr, %x:%x:%x%n, dom, bus, slot, n);

Re: [Qemu-devel] [PATCH 2/2] pci: rewrite devaddr parsing

2012-02-17 Thread Michael S. Tsirkin
On Fri, Feb 17, 2012 at 01:50:41PM +0400, malc wrote: On Fri, 17 Feb 2012, Michael S. Tsirkin wrote: On Thu, Feb 16, 2012 at 11:23:40PM +0400, malc wrote: +{ +unsigned dom, bus, slot, func; +int n = -1; + +/* Parse [[domain:]bus:]slot */ +sscanf(addr,

Re: [Qemu-devel] [PATCH] Add object_property_get_child().

2012-02-17 Thread Paolo Bonzini
Besides the non-triviality of the patch, how is this different from object_property_get_link? Perhaps we should just rename that one to object_property_get_obj, or add a function that is just a synonym. + */ +Object *object_property_get_child(Object *obj, const char *name, +

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

2012-02-17 Thread Martin Pitt
Hello Chris, or anyone else affected, Accepted qemu-kvm into lucid-proposed. The package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Re: [Qemu-devel] [PATCH] socket: add the support for -netdev socket, listen

2012-02-17 Thread Stefan Hajnoczi
On Fri, Feb 17, 2012 at 12:20:08PM +0800, zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com As you have known, QEMU upstream currently doesn't support for -netdev socket,listen; This patch makes it work now. This commit description does not give any context. Please

[Qemu-devel] [PATCH v5 6/7] pcspk: Convert to qdev

2012-02-17 Thread Jan Kiszka
Convert the PC speaker device to a qdev ISA model. Move the public interface to a dedicated header file at this chance. CC: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- Trivial rebase over git head. Would be great if this series could be merged now

Re: [Qemu-devel] [PATCH 4/4] qmp: add BLOCK_MEDIUM_EJECT event

2012-02-17 Thread Paolo Bonzini
On 02/16/2012 03:10 PM, Luiz Capitulino wrote: We have two external entities: the guest and the mngt app. It seems to me that the guest is seeing each step at a time. The guest is seeing each step separately, but that is managed by the device model (which sends two separate error codes: a NOT

Re: [Qemu-devel] [PATCH 4/4] qmp: add BLOCK_MEDIUM_EJECT event

2012-02-17 Thread Paolo Bonzini
On 02/16/2012 07:30 PM, Markus Armbruster wrote: 3. Physical load/eject with pass-through device The host_cdrom backend's tray handling is rudimentary. But let me sketch how a real implementation could work. 3a. User closes tray, or opens unlocked tray Backend gets notified, calls into

Re: [Qemu-devel] [PATCH 4/4] qmp: add BLOCK_MEDIUM_EJECT event

2012-02-17 Thread Paolo Bonzini
On 02/17/2012 10:53 AM, Kevin Wolf wrote: Note: device models call bdrv_eject() whether the state changed or not. The only use for that I can see is syncing a wayward physical tray to the virtual one. Shouldn't be necessary with Paolo's recent work, should it? The one case that I'm

Re: [Qemu-devel] [PATCH v2 0/4]: QMP: add BLOCK_MEDIUM_EJECT event

2012-02-17 Thread Paolo Bonzini
On 02/15/2012 07:42 PM, Luiz Capitulino wrote: There's been one non-rfc patch and one or two rfc ones. This is v2 of the non-rfc one. I think this version does what Kevin and Markus were asking: the event is emitted whenever the tray moves, be it the guest or HMP/QMP commands. In a

Re: [Qemu-devel] [QEMU] net: adapt dump to support the new syntax

2012-02-17 Thread Stefan Hajnoczi
On Fri, Feb 17, 2012 at 6:54 AM, Zhi Yong Wu zwu.ker...@gmail.com wrote: I would like to know if some one is playing around with the patchset. If yes, can any one make one response? I am very interested in rebasing it, and then playing with it. AFAIK no one is working on it - the main thing

Re: [Qemu-devel] [PATCH] [TRIVIAL] Removed unused pl080_init().

2012-02-17 Thread Stefan Hajnoczi
On Thu, Feb 16, 2012 at 6:11 PM, Peter Maydell peter.mayd...@linaro.org wrote: On 16 February 2012 17:36, Alexander Barabash alexander_barab...@mentor.com wrote:    Removed unused pl080_init(). I posted the equivalent of this patch recently and it is in arm-devs.next -- please don't commit

Re: [Qemu-devel] [PATCH] [TRIVIAL] Replace object_delete() with object_unref().

2012-02-17 Thread Stefan Hajnoczi
On Thu, Feb 16, 2012 at 6:12 PM, Peter Maydell peter.mayd...@linaro.org wrote: Object model lifecycle changes aren't trivial IMHO. [no comment on actual patch contents implied] Agreed. Stefan

Re: [Qemu-devel] [PATCH] qemu-ga: Add guest-getip command

2012-02-17 Thread Michal Privoznik
On 16.02.2012 21:10, Michael Roth wrote: On Thu, Feb 16, 2012 at 06:25:03PM +0100, Michal Privoznik wrote: This command returns an array of: [ifname, ipaddr, ipaddr_family, prefix, hwaddr] for each interface in the system that has an IP address. Currently, only IPv4 and IPv6 are supported.

Re: [Qemu-devel] [PATCH 4/4] qmp: add BLOCK_MEDIUM_EJECT event

2012-02-17 Thread Kevin Wolf
Am 17.02.2012 11:32, schrieb Paolo Bonzini: On 02/16/2012 03:10 PM, Luiz Capitulino wrote: We have two external entities: the guest and the mngt app. It seems to me that the guest is seeing each step at a time. The guest is seeing each step separately, but that is managed by the device

[Qemu-devel] [Bug 916720] Re: select fails on windows because a non-socket fd is in the rfds set

2012-02-17 Thread tombo
I'm also getting this error. Both on my own compile version 1.0 and on the version from http://lassauge.free.fr/qemu/ I have not been able to find a workaround for getting gdb to work. Does anybody knows a patch or a workaround? -- You received this bug notification because you are a member of

Re: [Qemu-devel] [PATCH v3 1/1] ./configure: add option for disabling VirtFS

2012-02-17 Thread Peter Maydell
On 17 February 2012 08:22, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: On Thu, 9 Feb 2012 20:31:17 -0600, Meador Inge mead...@codesourcery.com wrote: --- a/configure +++ b/configure @@ -121,6 +121,7 @@ docs=  fdt=  nptl=  sdl= +virtfs= do we want to say virtfs=yes No.

[Qemu-devel] [PATCH 11/22] hw/a15mpcore.c: Add Cortex-A15 private peripheral model

2012-02-17 Thread Peter Maydell
Add a model of the Cortex-A15 memory mapped private peripheral space. This is fairly simple because the only memory mapped bit of the A15 is the GIC. Note that we don't currently model a VGIC and therefore don't map the VGIC related bits of the GIC. Signed-off-by: Peter Maydell

[Qemu-devel] [PATCH 12/22] hw/vexpress.c: Make motherboard peripheral memory map table-driven

2012-02-17 Thread Peter Maydell
Pull the addresses used for mapping motherboard peripherals into memory out into a table. This will allow us to simply provide a second table to implement the Cortex-A Series memory map used by the A15 variant of Versatile Express, as well as the current Legacy map used by A9. Signed-off-by:

[Qemu-devel] [PATCH 19/22] hw/primecell.h: Remove obsolete pl080_init() declaration

2012-02-17 Thread Peter Maydell
Remove an obsolete declaration of pl080_init(), which has been incorrect since the conversion of pl080 to qdev back in 2009. Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- hw/primecell.h |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/hw/primecell.h

[Qemu-devel] [PATCH 13/22] hw/vexpress.c: Move secondary CPU boot code to SRAM

2012-02-17 Thread Peter Maydell
On real Versatile Express hardware, the boot ROM puts the secondary CPU bootcode/holding pen in SRAM. We can therefore rely on Linux not trashing this memory until secondary CPUs have booted up, and can put our QEMU-specific pen code in the same place. This allows us to drop the odd hack RAM page

[Qemu-devel] [PATCH 10/22] MAINTAINERS: Add maintainers for Exynos SOC.

2012-02-17 Thread Peter Maydell
From: Evgeny Voevodin e.voevo...@samsung.com Signed-off-by: Evgeny Voevodin e.voevo...@samsung.com Acked-by: Andreas Färber afaer...@suse.de Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- MAINTAINERS |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git

Re: [Qemu-devel] [RFC][PATCH 07/16 v6] target-i386: Add API to add extra memory mapping

2012-02-17 Thread HATAYAMA Daisuke
From: Wen Congyang we...@cn.fujitsu.com Subject: Re: [RFC][PATCH 07/16 v6] target-i386: Add API to add extra memory mapping Date: Fri, 17 Feb 2012 17:32:56 +0800 At 02/15/2012 06:21 PM, Jan Kiszka Wrote: On 2012-02-15 10:44, Wen Congyang wrote: At 02/15/2012 05:21 PM, Jan Kiszka Wrote: On

[Qemu-devel] [PATCH v2] qemu-ga: Add guest-network-info command

2012-02-17 Thread Michal Privoznik
This command returns an array of: [ifname, ipaddr, ipaddr_family, prefix, hwaddr] for each interface in the system that has an IP address. Currently, only IPv4 and IPv6 are supported. Signed-off-by: Michal Privoznik mpriv...@redhat.com --- diff to v1: -move from guest-getip to

[Qemu-devel] [PATCH 16/22] arm_boot: Pass base address of GIC CPU interface, not whole GIC

2012-02-17 Thread Peter Maydell
The arm_boot secondary boot loader code needs the address of the GIC CPU interface. Obtaining this from the base address of the private peripheral region was possible for A9 and 11MPcore, but the A15 puts the GIC CPU interface in a different place. So make boards pass in the GIC CPU interface

[Qemu-devel] [PATCH 07/22] hw/lan9118: Add basic 16-bit mode support.

2012-02-17 Thread Peter Maydell
From: Evgeny Voevodin e.voevo...@samsung.com Signed-off-by: Evgeny Voevodin e.voevo...@samsung.com Reviewed-by: Peter Maydell peter.mayd...@linaro.org Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- hw/lan9118.c | 124 +++--- 1 files

[Qemu-devel] [PATCH 03/22] ARM: exynos4210: UART support

2012-02-17 Thread Peter Maydell
From: Maksim Kozlov m.koz...@samsung.com Add basic support of exynos4210 UART Signed-off-by: Maksim Kozlov m.koz...@samsung.com Signed-off-by: Evgeny Voevodin e.voevo...@samsung.com Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- Makefile.target |2 +- hw/exynos4210.c |

[Qemu-devel] [PATCH 01/22] ARM: exynos4210: IRQ subsystem support.

2012-02-17 Thread Peter Maydell
From: Evgeny Voevodin e.voevo...@samsung.com Signed-off-by: Evgeny Voevodin e.voevo...@samsung.com Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- Makefile.target |1 + hw/exynos4210.h | 82 hw/exynos4210_combiner.c | 469

[Qemu-devel] [PATCH 20/22] Remove unnecessary includes of primecell.h

2012-02-17 Thread Peter Maydell
The primecell.h header now only has the definitions of constants indicating the usage of the arm_sysctl GPIO lines; remove obsolete includes of it from source files which don't care about those GPIO lines. Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- hw/highbank.c |1 -

[Qemu-devel] [PATCH 15/22] hw/vexpress.c: Instantiate the motherboard CLCD

2012-02-17 Thread Peter Maydell
Instantiate the CLCD on the vexpress motherboard as well as one on the daughterboard -- the A15 daughterboard does not have a CLCD and so relies on the motherboard one. At the moment QEMU doesn't provide infrastructure for selecting which display device gets to actually show graphics -- the first

[Qemu-devel] [PATCH 17/22] hw/vexpress.c: Add vexpress-a15 machine

2012-02-17 Thread Peter Maydell
Add the vexpress-a15 machine, and the A-Series memory map it uses. Signed-off-by: Peter Maydell peter.mayd...@linaro.org Reviewed-by: Andreas Färber afaer...@suse.de --- hw/vexpress.c | 141 + 1 files changed, 141 insertions(+), 0

[Qemu-devel] [PATCH 22/22] hw/pl031: Actually raise interrupt on timer expiry

2012-02-17 Thread Peter Maydell
Fix a typo in pl031_interrupt() which meant we were setting a bit in the interrupt mask rather than the interrupt status register and thus not actually raising an interrupt. This fix allows the rtctest program from the kernel's Documentation/rtc.txt to pass rather than hanging. Reported-by:

[Qemu-devel] [PATCH 06/22] ARM: exynos4210: MCT support.

2012-02-17 Thread Peter Maydell
From: Evgeny Voevodin e.voevo...@samsung.com Signed-off-by: Evgeny Voevodin e.voevo...@samsung.com Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- Makefile.target |2 +- hw/exynos4210.c | 19 + hw/exynos4210_mct.c | 1488 +++

[Qemu-devel] [PATCH 08/22] hw/exynos4210.c: Add LAN support for SMDKC210.

2012-02-17 Thread Peter Maydell
From: Evgeny Voevodin e.voevo...@samsung.com SMDKC210 uses lan9215 chip, but lan9118 in 16-bit mode seems to be enough. Signed-off-by: Evgeny Voevodin e.voevo...@samsung.com Reviewed-by: Peter Maydell peter.mayd...@linaro.org Signed-off-by: Peter Maydell peter.mayd...@linaro.org ---

[Qemu-devel] [PATCH 14/22] hw/vexpress.c: Factor out daughterboard-specific initialization

2012-02-17 Thread Peter Maydell
Factor out daughterboard specifics into a data structure and daughterboard initialization function, in preparation for adding vexpress-a15 support. Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- hw/vexpress.c | 118 - 1 files

[Qemu-devel] [PATCH 02/22] ARM: Samsung exynos4210-based boards emulation

2012-02-17 Thread Peter Maydell
From: Evgeny Voevodin e.voevo...@samsung.com Add initial support of NURI and SMDKC210 boards Signed-off-by: Evgeny Voevodin e.voevo...@samsung.com Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- Makefile.target |3 +- hw/exynos4210.c | 191

[Qemu-devel] [PATCH 21/22] MAINTAINERS: Add hw/highbank.c maintainer

2012-02-17 Thread Peter Maydell
From: Mark Langsdorf mark.langsd...@calxeda.com Signed-off-by: Mark Langsdorf mark.langsd...@calxeda.com Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- MAINTAINERS |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index

[Qemu-devel] [PATCH 18/22] hw/arm_sysctl: Drop legacy init function

2012-02-17 Thread Peter Maydell
Drop the legacy init function arm_sysctl_init(), since it has no users left any more. This allows us to drop the awkward '1' from the actual device init function. Signed-off-by: Peter Maydell peter.mayd...@linaro.org Acked-by: Andreas Färber afaer...@suse.de --- hw/arm_sysctl.c | 16

[Qemu-devel] [PULL 00/22] arm-devs queue

2012-02-17 Thread Peter Maydell
Hi; this is a pullreq for my arm-devs queue. Changes in the queue are * exynos4 model * vexpress-a15 model * the addition of a Highbank section to MAINTAINERS * a few minor cleanup patches Please pull (before somebody lands another whole-tree change that means it needs rebasing again :-))

[Qemu-devel] [PULL 0/3] NBD pull request for 2012-02-17

2012-02-17 Thread Paolo Bonzini
Anthony, The following changes since commit 9de36b1a7cf61aa8be365f13c81668b3e19fbc7f: Make -machine/-enable-kvm options merge into a single list (2012-02-17 09:10:13 +0100) are available in the git repository at: git://github.com/bonzini/qemu.git nbd-for-anthony Michael Tokarev (1):

Re: [Qemu-devel] [PATCH 4/4] qmp: add BLOCK_MEDIUM_EJECT event

2012-02-17 Thread Markus Armbruster
Kevin Wolf kw...@redhat.com writes: Am 16.02.2012 19:30, schrieb Markus Armbruster: Let's figure out how this stuff really works. 1. Guest load/eject Guest commands load or eject. Device model updates its state of virtual tray (e.g. IDEState member tray_open) unless locked, then calls

Re: [Qemu-devel] [PATCH 4/4] qmp: add BLOCK_MEDIUM_EJECT event

2012-02-17 Thread Markus Armbruster
Kevin Wolf kw...@redhat.com writes: Am 17.02.2012 11:32, schrieb Paolo Bonzini: On 02/16/2012 03:10 PM, Luiz Capitulino wrote: We have two external entities: the guest and the mngt app. It seems to me that the guest is seeing each step at a time. The guest is seeing each step separately,

Re: [Qemu-devel] [PATCH 4/4] qmp: add BLOCK_MEDIUM_EJECT event

2012-02-17 Thread Markus Armbruster
Paolo Bonzini pbonz...@redhat.com writes: On 02/17/2012 10:53 AM, Kevin Wolf wrote: Note: device models call bdrv_eject() whether the state changed or not. The only use for that I can see is syncing a wayward physical tray to the virtual one. Shouldn't be necessary with Paolo's recent

[Qemu-devel] [PATCH 1/3] do not chdir(/) in qemu-nbd before opening all files

2012-02-17 Thread Paolo Bonzini
From: Michael Tokarev m...@tls.msk.ru When qemu-nbd becomes a daemon it calls daemon(3) with nochdir=0, so daemon(3) changes current directory to /. But at this time, qemu-nbd did not open any user-specified files yet, so by changing current directory, all non-absolute paths becomes wrong. The

Re: [Qemu-devel] [PATCH 4/4] qmp: add BLOCK_MEDIUM_EJECT event

2012-02-17 Thread Luiz Capitulino
On Fri, 17 Feb 2012 12:44:28 +0100 Markus Armbruster arm...@redhat.com wrote: I figure Luiz's patch works. But maybe it could be simplified some by replacing bdrv_dev_change_media_cb() by a open/close tray callback that returns whether it moved. bdrv_dev_change_media_cb() would then

Re: [Qemu-devel] [PATCH 4/4] qmp: add BLOCK_MEDIUM_EJECT event

2012-02-17 Thread Markus Armbruster
Paolo Bonzini pbonz...@redhat.com writes: On 02/16/2012 07:30 PM, Markus Armbruster wrote: 3. Physical load/eject with pass-through device The host_cdrom backend's tray handling is rudimentary. But let me sketch how a real implementation could work. 3a. User closes tray, or opens

Re: [Qemu-devel] [PATCH v2 0/4]: QMP: add BLOCK_MEDIUM_EJECT event

2012-02-17 Thread Luiz Capitulino
On Fri, 17 Feb 2012 11:49:21 +0100 Paolo Bonzini pbonz...@redhat.com wrote: On 02/15/2012 07:42 PM, Luiz Capitulino wrote: There's been one non-rfc patch and one or two rfc ones. This is v2 of the non-rfc one. I think this version does what Kevin and Markus were asking: the event is

[Qemu-devel] [PATCH 3/3] nbd: add git tree to MAINTAINERS

2012-02-17 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- MAINTAINERS |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 173e893..6a9c981 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -510,6 +510,7 @@ S: Odd Fixes F: block/nbd.c F: nbd.* F:

[Qemu-devel] [PATCH 05/22] ARM: exynos4210: basic Power Management Unit implementation

2012-02-17 Thread Peter Maydell
From: Maksim Kozlov m.koz...@samsung.com Patch adds basic model for Exynos4210 SoC PMU. This model implements PMU registers just as a bulk of memory. Currently, the only reason this device exists is that secondary CPU boot loader uses PMU INFORM5 register as a holding pen. Signed-off-by: Maksim

Re: [Qemu-devel] [PATCH RFC v3 14/21] target-arm: Move the PXA270's iwMMXt reset to pxa270_reset()

2012-02-17 Thread Andreas Färber
Am 17.02.2012 10:59, schrieb andrzej zaborowski: On 3 February 2012 03:59, Andreas Färber afaer...@suse.de wrote: No other emulated CPU uses this at this time. But why does this code better fit in hw/ than target-arm? The iwMMXt registers are core registers after all. It seems you've

Re: [Qemu-devel] [PATCH v2] qemu-ga: Add guest-network-info command

2012-02-17 Thread Michal Privoznik
On 17.02.2012 12:35, Michal Privoznik wrote: This command returns an array of: [ifname, ipaddr, ipaddr_family, prefix, hwaddr] for each interface in the system that has an IP address. Currently, only IPv4 and IPv6 are supported. Signed-off-by: Michal Privoznik mpriv...@redhat.com ---

[Qemu-devel] [PATCH v3] qemu-ga: Add guest-network-info command

2012-02-17 Thread Michal Privoznik
This command returns an array of: [ifname, ipaddr, ipaddr_family, prefix, hwaddr] for each interface in the system that has an IP address. Currently, only IPv4 and IPv6 are supported. Signed-off-by: Michal Privoznik mpriv...@redhat.com --- diff to v2: -Properly set IP addr family for IPv6

Re: [Qemu-devel] [PATCH 4/4] qmp: add BLOCK_MEDIUM_EJECT event

2012-02-17 Thread Kevin Wolf
Am 17.02.2012 12:48, schrieb Markus Armbruster: Kevin Wolf kw...@redhat.com writes: Am 17.02.2012 11:32, schrieb Paolo Bonzini: On 02/16/2012 03:10 PM, Luiz Capitulino wrote: We have two external entities: the guest and the mngt app. It seems to me that the guest is seeing each step at a

Re: [Qemu-devel] [PATCH] kvmclock: Always register type

2012-02-17 Thread Andreas Färber
Am 17.02.2012 10:33, schrieb Jan Kiszka: On 2012-02-17 02:32, Andreas Färber wrote: Currently, the kvmclock type is only registered when kvm_enabled(). This breaks when moving type registration to before command line parsing (so that QOM types can be used for CPU and machine). Since the QOM

[Qemu-devel] [PATCH 2/3] open /dev/nbd in nbd_client_thread

2012-02-17 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- qemu-nbd.c | 34 -- 1 files changed, 16 insertions(+), 18 deletions(-) diff --git a/qemu-nbd.c b/qemu-nbd.c index e189cf8..d4e7041 100644 --- a/qemu-nbd.c +++ b/qemu-nbd.c @@ -37,7 +37,6 @@ static NBDExport

Re: [Qemu-devel] [PATCH RFC v3 14/21] target-arm: Move the PXA270's iwMMXt reset to pxa270_reset()

2012-02-17 Thread andrzej zaborowski
On 17 February 2012 13:03, Andreas Färber afaer...@suse.de wrote: Am 17.02.2012 10:59, schrieb andrzej zaborowski: On 3 February 2012 03:59, Andreas Färber afaer...@suse.de wrote: No other emulated CPU uses this at this time. But why does this code better fit in hw/ than target-arm?  The

Re: [Qemu-devel] [PATCH 4/4] qmp: add BLOCK_MEDIUM_EJECT event

2012-02-17 Thread Markus Armbruster
Kevin Wolf kw...@redhat.com writes: Am 17.02.2012 12:48, schrieb Markus Armbruster: Kevin Wolf kw...@redhat.com writes: Am 17.02.2012 11:32, schrieb Paolo Bonzini: On 02/16/2012 03:10 PM, Luiz Capitulino wrote: We have two external entities: the guest and the mngt app. It seems to me

Re: [Qemu-devel] [PATCH 2/2] pci: rewrite devaddr parsing

2012-02-17 Thread Markus Armbruster
Michael S. Tsirkin m...@redhat.com writes: On Thu, Feb 16, 2012 at 01:39:02PM -0700, Eric Blake wrote: On 02/16/2012 12:23 PM, malc wrote: On Thu, 16 Feb 2012, Michael S. Tsirkin wrote: Use scanf instead of manual string scanning. + +/* Parse [[domain:]bus:]slot */ +

Re: [Qemu-devel] [PATCH v2 1/2] qxl: introduce QXLCookie

2012-02-17 Thread Gerd Hoffmann
On 02/17/12 09:44, Alon Levy wrote: Will be used in the next patch. Signed-off-by: Alon Levy al...@redhat.com --- hw/qxl-render.c|2 +- hw/qxl.c | 60 +-- hw/qxl.h |2 +- ui/spice-display.c | 26

Re: [Qemu-devel] [PATCH v2 1/2] qxl: introduce QXLCookie

2012-02-17 Thread Alon Levy
On Fri, Feb 17, 2012 at 10:44:59AM +0200, Alon Levy wrote: Will be used in the next patch. NACK these two, Marc Andre found a cookie I missed, and the bz in the commit message is a dup of an existing bug (747011). Signed-off-by: Alon Levy al...@redhat.com --- hw/qxl-render.c|2 +-

Re: [Qemu-devel] [PATCHv2-RFC 1/2] shpc: standard hot plug controller

2012-02-17 Thread Gerd Hoffmann
On 02/13/12 10:15, Michael S. Tsirkin wrote: TODO: - migration support - fix dependency on pci_internals.h fix checkpatch warnings cheers, Gerd

Re: [Qemu-devel] [PATCHv2-RFC 2/2] pci: add standard bridge device

2012-02-17 Thread Gerd Hoffmann
Hi, +/* If we don't specify the name, the bus will be addressed as id.0, where + * id is the parent id. But it seems more natural to address the bus using + * the parent device name. */ +if (dev-qdev.id *dev-qdev.id) { +br-bus_name = dev-qdev.id; +} That

[Qemu-devel] [PATCH] build: add needed missing libraries libm and librt

2012-02-17 Thread Roger Pau Monne
libm is used in cutils.c, but the library was not specified when linking some binaries, throwing the following error: cutils.o: In function `strtosz_suffix_unit': /home/royger/xen-clean/tools/qemu-xen-dir/cutils.c:354: undefined reference to `__isnan'

Re: [Qemu-devel] [PATCH] slirp: kill ugly macros

2012-02-17 Thread Jan Kiszka
On 2012-02-16 12:06, Kevin Wolf wrote: Am 15.02.2012 19:55, schrieb Jan Kiszka: On 2012-02-15 19:45, Michael S. Tsirkin wrote: Remove ugly macros for field names, change done by the following script: s#\bifq_prev\b#m_prev#g; s#\bifq_next\b#m_next#g; s#\bifs_prev\b#m_prevpkt#g;

Re: [Qemu-devel] [PATCHv2-RFC 2/2] pci: add standard bridge device

2012-02-17 Thread Gerd Hoffmann
On 02/13/12 10:16, Michael S. Tsirkin wrote: This adds support for a standard pci to pci bridge, enabling support for more than 32 PCI devices in the system. Device hotplug is supported by means of SHPC controller. For guests with an SHPC driver, this allows robust hotplug and even hotplug of

Re: [Qemu-devel] [PATCH 1/2] slirp: remove duplicate definition

2012-02-17 Thread Jan Kiszka
On 2012-02-15 09:30, Jan Kiszka wrote: On 2012-02-15 09:12, zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- slirp/if.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/slirp/if.c

Re: [Qemu-devel] [PULL 0/3] NBD pull request for 2012-02-17

2012-02-17 Thread Anthony Liguori
On 02/17/2012 05:43 AM, Paolo Bonzini wrote: Anthony, The following changes since commit 9de36b1a7cf61aa8be365f13c81668b3e19fbc7f: Make -machine/-enable-kvm options merge into a single list (2012-02-17 09:10:13 +0100) are available in the git repository at:

Re: [Qemu-devel] [PULL 00/22] arm-devs queue

2012-02-17 Thread Anthony Liguori
On 02/17/2012 05:29 AM, Peter Maydell wrote: Hi; this is a pullreq for my arm-devs queue. Changes in the queue are * exynos4 model * vexpress-a15 model * the addition of a Highbank section to MAINTAINERS * a few minor cleanup patches Please pull (before somebody lands another whole-tree

Re: [Qemu-devel] [PULL 0/9] Trivial patches for 28 January to 10 February 2012

2012-02-17 Thread Anthony Liguori
On 02/10/2012 05:34 AM, Stefan Hajnoczi wrote: The following changes since commit 57c83dacfe179bf061b8fa79d9553ebabe4d2ff4: make: Remove duplicate use of GLIB_CFLAGS (2012-02-09 20:44:38 +0400) are available in the git repository at: git://github.com/stefanha/qemu.git trivial-patches

Re: [Qemu-devel] [PATCH][v11] megasas: LSI Megaraid SAS HBA emulation

2012-02-17 Thread Hannes Reinecke
On 02/17/2012 03:03 PM, Gerhard Wiesinger wrote: Hello Hannes, Reason for my problems of non working megasas is that megasas.o was no compiled: Details: Makefile.objs #hw-obj-$(CONFIG_MEGASAS_SCSI_PCI) += megasas.o # OK: hw-obj-y += megasas.o Although:

Re: [Qemu-devel] [PATCH v5 12/12] suspend: add qmp events

2012-02-17 Thread Anthony Liguori
On 02/15/2012 04:28 AM, Gerd Hoffmann wrote: Send qmp events on suspend and wakeup so libvirt has a chance to track the vm state. Signed-off-by: Gerd Hoffmannkra...@redhat.com Luiz, please Ack. Regards, Anthony Liguori --- monitor.c |6 ++ monitor.h |2 ++ vl.c | 15

Re: [Qemu-devel] [PATCH] checkpatch: Don't WARN about missing spaces in audio files

2012-02-17 Thread Anthony Liguori
On 02/11/2012 03:44 AM, Blue Swirl wrote: On Fri, Feb 10, 2012 at 17:47, Anthony Liguorialigu...@us.ibm.com wrote: On 02/09/2012 10:02 PM, malc wrote: On Fri, 10 Feb 2012, Evgeny Voevodin wrote: On 02/09/2012 06:59 PM, Andreas F?rber wrote: Disable warnings for spaces before opening

Re: [Qemu-devel] [PATCH] checkpatch: Don't WARN about missing spaces in audio files

2012-02-17 Thread Markus Armbruster
Anthony Liguori aligu...@us.ibm.com writes: I really hate having these discussions. I would almost rather we just pay the one-time cost of re-indenting so we can stop debating about this. For folks that feel strongly about this, please submit the following: An indent command that takes

[Qemu-devel] [PATCH 1/4] qxl: drop vram bar minimum size

2012-02-17 Thread Gerd Hoffmann
There is no reason to require a minimum size of 16 MB for the vram. Lower the limit to 4096 (one page). Make it disapper completely would break guests. --- hw/qxl.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/qxl.c b/hw/qxl.c index 5c6b556..4de4b8d 100644 ---

Re: [Qemu-devel] [PATCH] hw/qxl: allow vram to be sized to 4096 bytes

2012-02-17 Thread Gerd Hoffmann
Hi, -if (qxl-vram_size 16 * 1024 * 1024) { +/* a request of 0 vram_size is translated to the smallest vram that doesn't + * break current off screen surfaces using drivers */ +if (qxl-vram_size 0 qxl-vram_size 16 * 1024 * 1024) { Is there any reason to keep the 16MB

Re: [Qemu-devel] [PATCH v2 1/2] qxl: introduce QXLCookie

2012-02-17 Thread Alon Levy
On Fri, Feb 17, 2012 at 02:11:40PM +0100, Gerd Hoffmann wrote: On 02/17/12 09:44, Alon Levy wrote: Will be used in the next patch. Signed-off-by: Alon Levy al...@redhat.com --- hw/qxl-render.c|2 +- hw/qxl.c | 60

[Qemu-devel] [PATCH 0/4] qxl: memory config patches

2012-02-17 Thread Gerd Hoffmann
Hi, This patch series tweaks the qxl memory bar size configuration a bit. The first three are pretty straigt forward. I'm looking for comments on the last one which adds a 64bit vram bar. cheers, Gerd Gerd Hoffmann (4): qxl: drop vram bar minimum size qxl: move ram size init to new

[Qemu-devel] [PATCH 4/4] [experimental] add optinal 64bit vram bar to qxl

2012-02-17 Thread Gerd Hoffmann
This patch adds an 64bit pci bar for vram. It is turned off by default. It can be enabled by setting the size of the 64bit bar to be larger than the 32bit bar. Both 32bit and 64bit bar refer to the same memory. Only the first part of the memory is available via 32bit bar. The intention is to

Re: [Qemu-devel] [PATCH] checkpatch: Don't WARN about missing spaces in audio files

2012-02-17 Thread Anthony Liguori
On 02/17/2012 08:55 AM, Markus Armbruster wrote: Anthony Liguorialigu...@us.ibm.com writes: I really hate having these discussions. I would almost rather we just pay the one-time cost of re-indenting so we can stop debating about this. For folks that feel strongly about this, please submit

  1   2   3   >