[Qemu-devel] [RFC][PATCH 1/5 v2] Add API to create memory mapping list

2011-12-09 Thread Wen Congyang
The memory mapping list stores virtual address and physical address mapping. The folloing patch will use this information to create PT_LOAD in the vmcore. Signed-off-by: Wen Congyang we...@cn.fujitsu.com --- Makefile.target |1 + memory_mapping.c | 130

[Qemu-devel] [RFC][PATCH 2/5 v2] Add API to check whether a physical address is I/O address

2011-12-09 Thread Wen Congyang
This API will be used in the following patch. Signed-off-by: Wen Congyang we...@cn.fujitsu.com --- cpu-common.h |1 + exec.c | 20 2 files changed, 21 insertions(+), 0 deletions(-) diff --git a/cpu-common.h b/cpu-common.h index 7c9cef8..abcd1a6 100644 ---

[Qemu-devel] [RFC][PATCH 3/5 v2] target-i386: implement cpu_get_memory_mapping()

2011-12-09 Thread Wen Congyang
Walk cpu's page table and collect all virtual address and physical address mapping. Then, add these mapping into memory mapping list. Signed-off-by: Wen Congyang we...@cn.fujitsu.com --- cpu-all.h| 10 ++ target-i386/helper.c | 239

[Qemu-devel] [RFC][PATCH 4/5 v2] Add API to get memory mapping

2011-12-09 Thread Wen Congyang
Add API to get all virtual address and physical address mapping. If there is no virtual address for some physical address, the virtual address is 0. Signed-off-by: Wen Congyang we...@cn.fujitsu.com --- memory_mapping.c | 53 +

[Qemu-devel] [RFC][PATCH 5/5v2] introduce a new monitor command 'dump' to dump guest's memory

2011-12-09 Thread Wen Congyang
Signed-off-by: Wen Congyang we...@cn.fujitsu.com --- Makefile.target |8 +- dump.c | 722 +++ dump.h |6 + hmp-commands.hx | 16 ++ monitor.c |3 + qmp-commands.hx | 24 ++ 6 files changed, 775

Re: [Qemu-devel] [PATCH v4 2/3] Extract code to nbd_setup function to be used for many purposes

2011-12-09 Thread Chunyan Liu
Thanks for your suggestions. Revision. Add -f option to qemu-nbd. Signed-off-by: Chunyan Liu cy...@suse.com --- qemu-nbd.c | 76 ++- 1 files changed, 54 insertions(+), 22 deletions(-) diff --git a/qemu-nbd.c b/qemu-nbd.c index

Re: [Qemu-devel] [PATCH] configure: Enable build by default PIE / read-only relocation sections on OpenBSD amd64/i386.

2011-12-09 Thread Brad
On 28/11/11 11:15 PM, Brad wrote: On 28/11/11 9:28 PM, Anthony Liguori wrote: On 11/28/2011 06:53 PM, Brad wrote: Enable build by default PIE / read-only relocation sections for the QEMU binaries on OpenBSD amd64/i386. Signed-off-by: Brad Smithb...@comstyle.com Can you mention what targets

Re: [Qemu-devel] [PATCH 00/14] ARM: Samsung S5PC210-based boards support.

2011-12-09 Thread Dmitry Solodkiy
Dear Peter, Well, for a long-term Exynos keyword would be better so we're going to use it in the next patch proposal (estimated today (09.12) or next Monday). Thanks, Dmitry Solodkiy, Mobile SW PL, Advanced Software Group, Moscow RD center, Samsung Electronics -Original

Re: [Qemu-devel] [PATCH v4 2/3] Extract code to nbd_setup function to be used for many purposes

2011-12-09 Thread Stefan Hajnoczi
On Fri, Dec 9, 2011 at 8:31 AM, Chunyan Liu cy...@suse.com wrote: Thanks for your suggestions. Revision. Add -f option to qemu-nbd. Signed-off-by: Chunyan Liu cy...@suse.com ---  qemu-nbd.c |   76 ++-  1 files changed, 54

Re: [Qemu-devel] Qemu stable releases

2011-12-09 Thread Richard W.M. Jones
On Mon, Dec 05, 2011 at 02:08:03PM -0600, Justin M. Forbes wrote: The stable tree for 1.0 has now been created and the mailing list exists. I am curious as to people's thoughts on how we should proceed. There was discussion of setting up a predictable time table for stable releases, say

Re: [Qemu-devel] [PATCH v2] block/cow.c : return real error code in cow.c

2011-12-09 Thread Kevin Wolf
Am 09.12.2011 08:58, schrieb Li Zhi Hui: v2: modify some errors Signed-off-by: Li Zhi Hui zhihu...@linux.vnet.ibm.com --- block/cow.c | 31 ++- 1 files changed, 18 insertions(+), 13 deletions(-) diff --git a/block/cow.c b/block/cow.c index 3c52735..51ca681

Re: [Qemu-devel] [PATCH] use pci macro in virtio

2011-12-09 Thread Stefan Hajnoczi
On Thu, Dec 08, 2011 at 01:49:13PM +0800, hkran wrote: Signed-off-by: hkran hk...@linux.vnet.ibm.com --- hw/virtio-pci.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Thanks, applied to the trivial patches -next tree:

Re: [Qemu-devel] [PATCH v3 0/6] Remove libqemu related stuff from QEMU source tree

2011-12-09 Thread Stefan Hajnoczi
On Tue, Nov 15, 2011 at 08:47:06PM +0800, Chen Wei-Ren (陳韋任) wrote: From: Chen Wei-Ren che...@iis.sinica.edu.tw According to [1], libqemu is not available anymore. Remove libqemu related stuff from QEMU source tree. [1] http://www.mail-archive.com/address@hidden/msg49809.html v2: -

Re: [Qemu-devel] [Qemu-trivial] [PATCH] tcg: Remove redundant declarations of TCG_TARGET_REG_BITS

2011-12-09 Thread Stefan Hajnoczi
On Wed, Dec 07, 2011 at 11:31:46PM +0100, Stefan Weil wrote: TCG_TARGET_REG_BITS is declared in tcg.h for all TCG targets. Signed-off-by: Stefan Weil s...@weilnetz.de --- tcg/i386/tcg-target.h |5 - 1 files changed, 0 insertions(+), 5 deletions(-) Thanks, applied to the trivial

Re: [Qemu-devel] [PATCH v3 5/6] Makefile.objs: Remove libqemu_common.a from the comment

2011-12-09 Thread Andreas Färber
Am 15.11.2011 13:47, schrieb Chen Wei-Ren (陳韋任): From: Chen Wei-Ren che...@iis.sinica.edu.tw Remove libqemu_common.a from the comment. Signed-off-by: Chen Wei-Ren che...@iis.sinica.edu.tw --- Makefile.objs |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git

Re: [Qemu-devel] [PATCH v2 16/18] qom: optimize qdev_get_canonical_path using a parent link

2011-12-09 Thread Kevin Wolf
Am 02.12.2011 21:20, schrieb Anthony Liguori: The full tree search was a bit unreasonable. Signed-off-by: Anthony Liguori aligu...@us.ibm.com diff --git a/hw/qdev.h b/hw/qdev.h index 4351e2e..fdab848 100644 --- a/hw/qdev.h +++ b/hw/qdev.h @@ -92,6 +92,10 @@ struct DeviceState {

Re: [Qemu-devel] [PATCH v2 18/18] qom: add test tools (v2)

2011-12-09 Thread Kevin Wolf
Am 02.12.2011 21:20, schrieb Anthony Liguori: Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- v1 - v2 - fix comments (Stefan) --- QMP/qom-get | 26 ++ QMP/qom-list | 30 ++ QMP/qom-set | 21 + 3 files

Re: [Qemu-devel] [PATCH v2 15/18] rtc: add a dynamic property for retrieving the date

2011-12-09 Thread Kevin Wolf
Am 02.12.2011 21:20, schrieb Anthony Liguori: This really shows the power of dynamic object properties compared to qdev static properties. This property represents a complex structure who's format is preserved over the wire. This is enabled by visitors. It also shows an entirely

Re: [Qemu-devel] [PATCH v2 0/5] backdoor: lightweight guest-to-QEMU backdoor channel

2011-12-09 Thread Stefan Hajnoczi
2011/12/8 Lluís Vilanova vilan...@ac.upc.edu: Stefan Hajnoczi writes: [...] * Support for tracing guest code through TCG. I'm not clear on whether a backdoor mechanism is needed or not.  A backdoor mechanism allows a modified guest to participate in tracing. Depending on the type of

Re: [Qemu-devel] [PATCH v3 5/6] Makefile.objs: Remove libqemu_common.a from the comment

2011-12-09 Thread Stefan Hajnoczi
On Fri, Dec 9, 2011 at 11:09 AM, Andreas Färber afaer...@suse.de wrote: Am 15.11.2011 13:47, schrieb Chen Wei-Ren (陳韋任): From: Chen Wei-Ren che...@iis.sinica.edu.tw   Remove libqemu_common.a from the comment. Signed-off-by: Chen Wei-Ren che...@iis.sinica.edu.tw ---  Makefile.objs |    7

[Qemu-devel] [PATCH 0/3] balloon: error if guest driver is not initialised

2011-12-09 Thread Amit Shah
Hello, These patches make qemu generate an error on failure in setting a balloon value: (qemu) balloon 400 Device 'balloon' has not been activated This can happen when the guest hasn't yet loaded a balloon driver. Previously, such a ballooning attempt didn't produce an error, but the

[Qemu-devel] [PATCH 1/3] balloon: Make functions return 0 on OK, -1 on error.

2011-12-09 Thread Amit Shah
Current semantics of 1 on OK and 0 on error are slightly weird. qemu_balloon() and qemu_balloon_stats() do this. Other functions in the file use the standard 0 and -1 return values. This commit makes the file consistent in returning such values. Signed-off-by: Amit Shah amit.s...@redhat.com ---

[Qemu-devel] [PATCH 3/3] virtio-balloon: report error if balloon driver in guest not available

2011-12-09 Thread Amit Shah
The guest may not have the balloon driver initialised or may have it disabled. Report an error to the user in such a case when a request for ballooning arrives. This also solves another issue where a previous request for ballooning failed (e.g., for the reason mentioned above), but the config

[Qemu-devel] [PATCH 2/3] balloon: report error if ballooning operation fails

2011-12-09 Thread Amit Shah
Ballooning operations can fail (e.g. driver in guest not available). Let the user know of such an error condition instead of silently ignoring errors. Signed-off-by: Amit Shah amit.s...@redhat.com --- balloon.c |7 +-- balloon.h |2 +- hw/virtio-balloon.c |3

Re: [Qemu-devel] [PATCH 0/3] balloon: error if guest driver is not initialised

2011-12-09 Thread Daniel P. Berrange
On Fri, Dec 09, 2011 at 05:19:35PM +0530, Amit Shah wrote: Hello, These patches make qemu generate an error on failure in setting a balloon value: (qemu) balloon 400 Device 'balloon' has not been activated This can happen when the guest hasn't yet loaded a balloon driver. This is a

Re: [Qemu-devel] Qemu stable releases

2011-12-09 Thread Richard W.M. Jones
On Fri, Dec 09, 2011 at 10:39:37AM +, Richard W.M. Jones wrote: FWIW in libguestfs we have such a policy. Every few weeks I evaluate _all_ commits along the development branch and cherry pick those that meet this policy back to the stable branch, followed by making a new stable release.

Re: [Qemu-devel] [PATCH 0/3] balloon: error if guest driver is not initialised

2011-12-09 Thread Amit Shah
On (Fri) 09 Dec 2011 [11:55:21], Daniel P. Berrange wrote: On Fri, Dec 09, 2011 at 05:19:35PM +0530, Amit Shah wrote: Hello, These patches make qemu generate an error on failure in setting a balloon value: (qemu) balloon 400 Device 'balloon' has not been activated This can

Re: [Qemu-devel] [RFC] qemu-ga: Introduce guest-hibernate command

2011-12-09 Thread Luiz Capitulino
On Thu, 08 Dec 2011 21:18:00 -0600 Michael Roth mdr...@linux.vnet.ibm.com wrote: On 12/08/2011 12:52 PM, Luiz Capitulino wrote: This is basically suspend to disk on a Linux guest. Signed-off-by: Luiz Capitulinolcapitul...@redhat.com --- This is an RFC because I did it as simple as

Re: [Qemu-devel] [RFC] qemu-ga: Introduce guest-hibernate command

2011-12-09 Thread Luiz Capitulino
On Thu, 08 Dec 2011 19:14:43 -0600 Michael Roth mdr...@linux.vnet.ibm.com wrote: On 12/08/2011 12:52 PM, Luiz Capitulino wrote: This is basically suspend to disk on a Linux guest. Nice! Signed-off-by: Luiz Capitulinolcapitul...@redhat.com --- This is an RFC because I did it as

Re: [Qemu-devel] [PATCH v2] exec.c: Fix subpage memory access to RAM MemoryRegion

2011-12-09 Thread Andreas Färber
Am 01.12.2011 10:29, schrieb Avi Kivity: On 11/30/2011 05:26 PM, Andreas Färber wrote: Commit 95c318f5e1f88d7e5bcc6deac17330fd4806a2d3 (Fix segfault in mmio subpage handling code.) prevented a segfault by making all subpage registrations over an existing memory page perform an unassigned

Re: [Qemu-devel] [PATCH 2/2] net: take ownership of fd in socket init functions

2011-12-09 Thread Zhi Yong Wu
On Thu, Dec 8, 2011 at 8:57 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Thu, Dec 8, 2011 at 12:29 PM, Zhi Yong Wu zwu.ker...@gmail.com wrote: On Wed, Dec 7, 2011 at 11:01 PM, Stefan Hajnoczi stefa...@linux.vnet.ibm.com wrote: Today net/socket.c has no consistent policy for closing the

Re: [Qemu-devel] [RFC] qemu-ga: Introduce guest-hibernate command

2011-12-09 Thread Amit Shah
On (Fri) 09 Dec 2011 [10:22:25], Luiz Capitulino wrote: On Thu, 08 Dec 2011 21:18:00 -0600 Michael Roth mdr...@linux.vnet.ibm.com wrote: On 12/08/2011 12:52 PM, Luiz Capitulino wrote: This is basically suspend to disk on a Linux guest. Signed-off-by: Luiz

[Qemu-devel] USB device assignment in qemu-1.0

2011-12-09 Thread erik . rull
Hi all, coming from 0.14 and older versions, I'm a bit confused using usb in qemu. My scenario is: - Linux box as host with USB devices that are used by the host - Windows guest that needs e.g. access to some dedicated usb-ports and needs to get ALL devices that are connected there What I do:

Re: [Qemu-devel] [PATCH v2] trace: Provide a per-event status define for conditional compilation

2011-12-09 Thread Stefan Hajnoczi
On Tue, Dec 06, 2011 at 05:38:15PM +0100, Lluís Vilanova wrote: Adds a 'TRACE_${NAME}_ENABLED' preprocessor define for each tracing event in trace.h. This lets the user conditionally compile code with a relatively high execution cost that is only necessary when producing the tracing

Re: [Qemu-devel] Qemu stable releases

2011-12-09 Thread Andreas Färber
Am 05.12.2011 21:08, schrieb Justin M. Forbes: Typically I get a flurry of patches shortly after a release (and they have already started for 1.0). I have tried to get a .1 release out in a timely manner, and then it seems patches for stable become few and far between. In the 0.14 and 0.15

Re: [Qemu-devel] [PATCH v2 15/18] rtc: add a dynamic property for retrieving the date

2011-12-09 Thread Anthony Liguori
On 12/09/2011 05:26 AM, Kevin Wolf wrote: Am 02.12.2011 21:20, schrieb Anthony Liguori: This really shows the power of dynamic object properties compared to qdev static properties. This property represents a complex structure who's format is preserved over the wire. This is enabled by

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

2011-12-09 Thread Michael Niehren
Public bug reported: Hi, i try the following command: /usr/bin/qemu-img create -f qcow2 test.img 10G if i run it on V0.15.1 it works, on V1.0 it hangs. Starting qemu-kvm hangs too, i think it's the same Bug. Strace on the hanging qemu-img ends on: select(5, [4], [], NULL, NULL) = 1

Re: [Qemu-devel] Qemu stable releases

2011-12-09 Thread Anthony Liguori
On 12/09/2011 06:55 AM, Andreas Färber wrote: Am 05.12.2011 21:08, schrieb Justin M. Forbes: Typically I get a flurry of patches shortly after a release (and they have already started for 1.0). I have tried to get a .1 release out in a timely manner, and then it seems patches for stable become

Re: [Qemu-devel] Qemu stable releases

2011-12-09 Thread Anthony Liguori
On 12/09/2011 06:01 AM, Richard W.M. Jones wrote: On Fri, Dec 09, 2011 at 10:39:37AM +, Richard W.M. Jones wrote: FWIW in libguestfs we have such a policy. Every few weeks I evaluate _all_ commits along the development branch and cherry pick those that meet this policy back to the stable

Re: [Qemu-devel] Qemu stable releases

2011-12-09 Thread Justin M. Forbes
On Fri, 2011-12-09 at 13:55 +0100, Andreas Färber wrote: Am 05.12.2011 21:08, schrieb Justin M. Forbes: Typically I get a flurry of patches shortly after a release (and they have already started for 1.0). I have tried to get a .1 release out in a timely manner, and then it seems patches

[Qemu-devel] [PATCH 00/15 V2] ARM: Samsung Exynos4210-based boards support.

2011-12-09 Thread Evgeny Voevodin
Second version of patches: add support for Samsung Exynos4210-based boards NURI and SMDKC210. Tested on Linux kernel v3.x series. Usage of -smp 2 option is reuired for now. Evgeny Voevodin (9): hw/sysbus.h: Increase maximum number of device IRQs. ARM: exynos4210: IRQ subsystem support. ARM:

[Qemu-devel] [PATCH 08/15] hw/arm_gic.c: lower IRQ only on changing of enable bit.

2011-12-09 Thread Evgeny Voevodin
In previous version IRQ was lowered every time if enable bits were not set. If platform has splitted IRQ source to pass IRQ to two identical GICs simultaneously in first of which IRQ passing is enabled but in second is disabled, handling IRQ by second GIC would lower IRQ previously raised by first

[Qemu-devel] [PATCH 04/15] hw/sysbus.h: Increase maximum number of device IRQs.

2011-12-09 Thread Evgeny Voevodin
Samsung exynos4210 Interrupt Combiner needs 512 IRQ sources. Signed-off-by: Evgeny Voevodin e.voevo...@samsung.com --- hw/sysbus.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/sysbus.h b/hw/sysbus.h index 9bac582..4ef0c3c 100644 --- a/hw/sysbus.h +++ b/hw/sysbus.h

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

2011-12-09 Thread Evgeny Voevodin
From: Maksim Kozlov m.koz...@samsung.com Add basic support of exynos4210 UART Conflicts: Makefile.target Signed-off-by: Evgeny Voevodin e.voevo...@samsung.com --- Makefile.target |2 +- hw/exynos4210.c | 51 hw/exynos4210.h |9 + hw/exynos4210_uart.c |

[Qemu-devel] [PATCH 13/15] hw/sd.c, hw/sd.h: add receive ready query routine to SD/MMC API

2011-12-09 Thread Evgeny Voevodin
From: Mitsyanko Igor i.mitsya...@samsung.com Data transfer direction between host controller and SD/MMC card is selected by host controller configuration registers, but whether we actually need or need not perform data transfer depends on type of last issued command. To avoid memorization of

Re: [Qemu-devel] Qemu stable releases

2011-12-09 Thread Richard W.M. Jones
On Fri, Dec 09, 2011 at 07:25:39AM -0600, Anthony Liguori wrote: On 12/09/2011 06:01 AM, Richard W.M. Jones wrote: On Fri, Dec 09, 2011 at 10:39:37AM +, Richard W.M. Jones wrote: FWIW in libguestfs we have such a policy. Every few weeks I evaluate _all_ commits along the development

Re: [Qemu-devel] Qemu stable releases

2011-12-09 Thread Andreas Färber
Am 09.12.2011 14:24, schrieb Anthony Liguori: On 12/09/2011 06:55 AM, Andreas Färber wrote: Am 05.12.2011 21:08, schrieb Justin M. Forbes: Typically I get a flurry of patches shortly after a release (and they have already started for 1.0). I have tried to get a .1 release out in a timely

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

2011-12-09 Thread Evgeny Voevodin
Signed-off-by: Evgeny Voevodin e.voevo...@samsung.com --- hw/devices.h |2 +- hw/lan9118.c | 115 ++ 2 files changed, 109 insertions(+), 8 deletions(-) diff --git a/hw/devices.h b/hw/devices.h index 1a55c1e..24cae4c 100644 ---

[Qemu-devel] [PATCH 02/15] ARM: exynos4210: CMU support

2011-12-09 Thread Evgeny Voevodin
From: Maksim Kozlov m.koz...@samsung.com Add exynos4210 Clock Management Units emulation Signed-off-by: Evgeny Voevodin e.voevo...@samsung.com --- Makefile.target |2 +- hw/exynos4210.c |7 + hw/exynos4210.h | 22 + hw/exynos4210_cmu.c | 1146

[Qemu-devel] [PATCH 05/15] ARM: exynos4210: IRQ subsystem support.

2011-12-09 Thread Evgeny Voevodin
Signed-off-by: Evgeny Voevodin e.voevo...@samsung.com --- Makefile.target |3 +- hw/exynos4210.c | 161 ++- hw/exynos4210.h | 41 + hw/exynos4210_combiner.c | 385 ++ hw/exynos4210_gic.c | 415

Re: [Qemu-devel] [PATCH v2 15/18] rtc: add a dynamic property for retrieving the date

2011-12-09 Thread Kevin Wolf
Am 09.12.2011 14:08, schrieb Anthony Liguori: On 12/09/2011 05:26 AM, Kevin Wolf wrote: Am 02.12.2011 21:20, schrieb Anthony Liguori: This really shows the power of dynamic object properties compared to qdev static properties. This property represents a complex structure who's format is

[Qemu-devel] [PATCH 06/15] ARM: exynos4210: PWM support.

2011-12-09 Thread Evgeny Voevodin
Signed-off-by: Evgeny Voevodin e.voevo...@samsung.com --- Makefile.target |2 +- hw/exynos4210.c | 12 ++ hw/exynos4210_pwm.c | 433 +++ 3 files changed, 446 insertions(+), 1 deletions(-) create mode 100644 hw/exynos4210_pwm.c diff

[Qemu-devel] [PATCH 01/15] ARM: Samsung exynos4210-based boards emulation

2011-12-09 Thread Evgeny Voevodin
From: Maksim Kozlov m.koz...@samsung.com Add initial code for support of NURI and SMDKC210 boards Signed-off-by: Evgeny Voevodin e.voevo...@samsung.com --- Makefile.target |1 + hw/exynos4210.c | 224 +++ hw/exynos4210.h | 34

Re: [Qemu-devel] [PATCH v2 15/18] rtc: add a dynamic property for retrieving the date

2011-12-09 Thread Anthony Liguori
On 12/09/2011 08:04 AM, Kevin Wolf wrote: Am 09.12.2011 14:08, schrieb Anthony Liguori: On 12/09/2011 05:26 AM, Kevin Wolf wrote: Am 02.12.2011 21:20, schrieb Anthony Liguori: This really shows the power of dynamic object properties compared to qdev static properties. This property

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

2011-12-09 Thread Evgeny Voevodin
SMDKC210 uses lan9215 chip, but lan9118 in 16-bit mode seems to be enough. Signed-off-by: Evgeny Voevodin e.voevo...@samsung.com --- hw/exynos4210.c | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/hw/exynos4210.c b/hw/exynos4210.c index 8d8a12c..5b18b68

Re: [Qemu-devel] [PATCH v3 5/6] Makefile.objs: Remove libqemu_common.a from the comment

2011-12-09 Thread Stefan Hajnoczi
On Fri, Dec 9, 2011 at 11:28 AM, Stefan Hajnoczi stefa...@gmail.com wrote: On Fri, Dec 9, 2011 at 11:09 AM, Andreas Färber afaer...@suse.de wrote: Am 15.11.2011 13:47, schrieb Chen Wei-Ren (陳韋任): From: Chen Wei-Ren che...@iis.sinica.edu.tw   Remove libqemu_common.a from the comment.

[Qemu-devel] git.qemu.org is being transferred to a new server

2011-12-09 Thread Anthony Liguori
FYI We're in the process of moving git.qemu.org to a new server. While the DNS changes propagate, you may get see an old version of the tree. If you have commit access, please wait until tomorrow to push any new changes to ensure you're pushing to the right place. Regards, Anthony

[Qemu-devel] [PATCH 09/15] ARM: exynos4210: MCT support.

2011-12-09 Thread Evgeny Voevodin
Signed-off-by: Evgeny Voevodin e.voevo...@samsung.com --- Makefile.target |2 +- hw/exynos4210.c | 19 + hw/exynos4210_mct.c | 1486 +++ 3 files changed, 1506 insertions(+), 1 deletions(-) create mode 100644 hw/exynos4210_mct.c diff

[Qemu-devel] [PATCH 07/15] hw/arm_boot.c: Add new secondary CPU bootloader.

2011-12-09 Thread Evgeny Voevodin
Secondary CPU bootloader enables interrupt and issues wfi until start address is written to system controller. The position where to find this start address is hardcoded to 0x1030. This commit adds new bootloader for secondary CPU which allows a target board to cpecify a position where to find

[Qemu-devel] [PATCH 10/15] hw/exynos4210.c: Boot secondary CPU.

2011-12-09 Thread Evgeny Voevodin
Signed-off-by: Evgeny Voevodin e.voevo...@samsung.com --- hw/exynos4210.c | 28 +++- 1 files changed, 27 insertions(+), 1 deletions(-) diff --git a/hw/exynos4210.c b/hw/exynos4210.c index f172346..8d8a12c 100644 --- a/hw/exynos4210.c +++ b/hw/exynos4210.c @@ -93,6

Re: [Qemu-devel] [PATCH V4 00/13] Proxy FS driver for VirtFS

2011-12-09 Thread M. Mohan Kumar
On Thursday, December 08, 2011 11:16:33 PM Stefan Hajnoczi wrote: On Mon, Dec 05, 2011 at 09:48:37PM +0530, M. Mohan Kumar wrote: From: M. Mohan Kumar mo...@in.ibm.com Pass-through security model in QEMU 9p server needs root privilege to do few file operations (like chown, chmod to any

Re: [Qemu-devel] [RFC 0/4] virtio-mmio transport

2011-12-09 Thread Paul Brook
[Replying to various bits of this thread all at once] * you have to specify which kind of virtio device you want in the board model. In particular this means that for virtio-blk the user has to say -drive if=none,file=whatever.img,id=myimg -global virtio-blk-mmio.drive=myimg or the

Re: [Qemu-devel] [PATCH 08/15] hw/arm_gic.c: lower IRQ only on changing of enable bit.

2011-12-09 Thread Paul Brook
In previous version IRQ was lowered every time if enable bits were not set. If platform has splitted IRQ source to pass IRQ to two identical GICs simultaneously in first of which IRQ passing is enabled but in second is disabled, handling IRQ by second GIC would lower IRQ previously raised by

Re: [Qemu-devel] [RFC 0/4] virtio-mmio transport

2011-12-09 Thread Anthony Liguori
On 12/09/2011 09:16 AM, Paul Brook wrote: [Replying to various bits of this thread all at once] * you have to specify which kind of virtio device you want in the board model. In particular this means that for virtio-blk the user has to say -drive if=none,file=whatever.img,id=myimg

Re: [Qemu-devel] [RFC] Device sandboxing

2011-12-09 Thread Paul Brook
A group of us are starting to work on sandboxing QEMU device emulation code. We're just getting started investigating various approaches, and want to engage the community to gather input. Following are the design points that we are currently considering: * Decompose QEMU into multiple

Re: [Qemu-devel] [RFC] Device sandboxing

2011-12-09 Thread Paul Moore
On Friday, December 09, 2011 04:17:50 PM Paul Brook wrote: A group of us are starting to work on sandboxing QEMU device emulation code. We're just getting started investigating various approaches, and want to engage the community to gather input. Following are the design points that we

Re: [Qemu-devel] [PATCH V4 04/13] hw/9pfs: File system helper process for qemu 9p proxy FS

2011-12-09 Thread M. Mohan Kumar
On Friday, December 09, 2011 12:01:14 AM Stefan Hajnoczi wrote: On Mon, Dec 05, 2011 at 09:48:41PM +0530, M. Mohan Kumar wrote: +static int read_request(int sockfd, struct iovec *iovec, ProxyHeader *header) +{ +int retval; + +/* + * read the request header. + */ +

Re: [Qemu-devel] [RFC] Device sandboxing

2011-12-09 Thread Paul Brook
On Friday, December 09, 2011 04:17:50 PM Paul Brook wrote: A group of us are starting to work on sandboxing QEMU device emulation code. We're just getting started investigating various approaches, and want to engage the community to gather input. Following are the design points

Re: [Qemu-devel] [RFC] Device sandboxing

2011-12-09 Thread Paul Moore
On Friday, December 09, 2011 05:32:19 PM Paul Brook wrote: On Friday, December 09, 2011 04:17:50 PM Paul Brook wrote: A group of us are starting to work on sandboxing QEMU device emulation code. We're just getting started investigating various approaches, and want to engage the

[Qemu-devel] QEMU TB Unlinking due to interrupt.

2011-12-09 Thread Xin Tong
Currently, QEMU unchains TBs if there is an interrupt pending. I would like to know whether there is any reason behind this ? (why not checking interrupt status in the beginning of every tb ?) Thanks Xin

Re: [Qemu-devel] [RFC] Device sandboxing

2011-12-09 Thread Paul Brook
Last time I checked at least one of the Intel/AMD schemes had been implemented, through I don't know if it's been merged, or had any serious performance tuning. My main intent was to raise this as a potentially viable alternative. Someone who actually cares about the answer can figure

Re: [Qemu-devel] [RFC] Device sandboxing

2011-12-09 Thread Paul Moore
On Friday, December 09, 2011 06:46:59 PM Paul Brook wrote: Last time I checked at least one of the Intel/AMD schemes had been implemented, through I don't know if it's been merged, or had any serious performance tuning. My main intent was to raise this as a potentially viable

Re: [Qemu-devel] [RFC] Device sandboxing

2011-12-09 Thread Paul Brook
Last time I checked at least one of the Intel/AMD schemes had been implemented, through I don't know if it's been merged, or had any serious performance tuning. My main intent was to raise this as a potentially viable alternative. Someone who actually cares about the answer can

[Qemu-devel] [Bug 883133] Re: qemu on ARM hosts asserts due to code buffer/libc heap conflict

2011-12-09 Thread Dr. David Alan Gilbert
** Changed in: qemu-linaro Assignee: (unassigned) = Dr. David Alan Gilbert (davidgil-uk) ** Changed in: qemu-linaro Status: New = In Progress -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU.

[Qemu-devel] regarding qemu version

2011-12-09 Thread sparsh mittal
Hello While using qemu-0.14 I get these warnings. Unknown savevm section or instance 'cpu_common' 1 qemu-system-x86_64: Error -22 while loading VM state I was wondering qemu-0.15 version has fixes for these. If so, that will be great, since I can switch to that (but I can't switch to more

Re: [Qemu-devel] [RFC] Device sandboxing

2011-12-09 Thread Paul Moore
On Friday, December 09, 2011 06:59:29 PM Paul Brook wrote: ... and to be clear, the reason I don't care is because you're trying to solve a problem that doesn't interest me. That's fine with me, the world would be a very boring place if we all shared the same opinions and interests. -- paul

[Qemu-devel] unknown keycodes error

2011-12-09 Thread Jordan Fix
Hello, I created a vm with ubuntu-vm-creator: sudo ubuntu-vm-builder kvm oneiric --user user --pass test When I execute ./run.sh I get the following errors: kvm: pci_add_option_rom: failed to find romfile pxe-rtl8139.bin unknown keycodes `empty_aliases(qwerty)', please report to

[Qemu-devel] [Bug 902306] [NEW] qemu-user -static variants require shared libraries

2011-12-09 Thread Vagrant Cascadian
Public bug reported: somehwere in the qemu 1.0 series, the qemu-user static variants started issuing build warnings like so: /usr/lib/gcc/i486-linux-gnu/4.6/../../../i386-linux-gnu/libglib-2.0.a(gutils.o): In function `g_get_any_init_do': (.text+0xe37): warning: Using 'getpwuid' in

Re: [Qemu-devel] [PATCH 01/10] trace: [doc] Document event properties on a separate section

2011-12-09 Thread Lluís Vilanova
This series must be updated to apply on top of the patch recently accepted by Stefan into the tracing tree [1]. [1] http://lists.gnu.org/archive/html/qemu-devel/2011-12/msg00763.html Lluis Lluís Vilanova writes: Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu --- docs/tracing.txt | 22

[Qemu-devel] [PATCH 0/7] trace: Add some simple TCG tracing events

2011-12-09 Thread Lluís Vilanova
Adds the following TCG tracing events: * vbbl : guest starts executing a basic block (a QEMU TB, in fact) * vfetch: guest starts executing an instruction * vmem : guest starts performing a memory access Also includes events for tracing the lifecycle of a vCPU (previously sent separately in the

[Qemu-devel] [PATCH 1/7] Make 'qemu_init_vcpu' a function (instead of a macro)

2011-12-09 Thread Lluís Vilanova
Implementation with 'CONFIG_USER_ONLY' is moved into new file 'cpus-user.c'. Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu --- Makefile.objs |1 + cpus-user.c | 15 +++ qemu-common.h |4 3 files changed, 16 insertions(+), 4 deletions(-) create mode 100644

[Qemu-devel] [PATCH 2/7] trace: Add vcpu_init event

2011-12-09 Thread Lluís Vilanova
Signals the creation of a new vCPU (CPUState structure). Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu --- cpus-user.c |2 ++ cpus.c |2 ++ trace-events |7 +++ 3 files changed, 11 insertions(+), 0 deletions(-) diff --git a/cpus-user.c b/cpus-user.c index

[Qemu-devel] [PATCH 3/7] trace: Add vcpu_reset event

2011-12-09 Thread Lluís Vilanova
Signals the reset of the state a vCPU (CPUState structure). Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu --- target-arm/helper.c |3 +++ target-cris/translate.c |3 +++ target-i386/helper.c |3 +++ target-lm32/helper.c |3 +++

[Qemu-devel] [PATCH 4/7] trace: [all] Add vbbl TCG tracing event

2011-12-09 Thread Lluís Vilanova
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu --- target-alpha/translate.c |1 + target-arm/translate.c|1 + target-cris/translate.c |1 + target-i386/translate.c |1 + target-lm32/translate.c |1 + target-m68k/translate.c |1 +

[Qemu-devel] [PATCH 5/7] [all] Trivial 'tcg_gen_debug_insn_start' unification in 'gen_intermediate_code_internal'

2011-12-09 Thread Lluís Vilanova
Make sure 'tcg_gen_debug_insn_start' is always called in 'gen_intermediate_code_internal' and after calls to 'gen_io_start' (before the instruction decoding). Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu --- target-alpha/translate.c | 11 ++- target-cris/translate.c |

[Qemu-devel] [PATCH 6/7] trace: [all] Add vfetch TCG tracing event

2011-12-09 Thread Lluís Vilanova
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu --- target-alpha/translate.c |2 ++ target-arm/translate.c|2 ++ target-cris/translate.c |2 ++ target-i386/translate.c |2 ++ target-lm32/translate.c |2 ++ target-m68k/translate.c |2

[Qemu-devel] [PATCH 7/7] trace: [all] Add vmem TCG tracing event

2011-12-09 Thread Lluís Vilanova
Signed-off-by: Lluís Vilanova vilan...@ac.upc.edu --- cpu-all.h | 58 +++-- exec-all.h |3 ++ softmmu_header.h| 15 ++ tcg/tcg-op.h|6 trace-events|9 ++

Re: [Qemu-devel] [Bug 902306] [NEW] qemu-user -static variants require shared libraries

2011-12-09 Thread Michael Roth
On 12/09/2011 01:39 PM, Vagrant Cascadian wrote: Public bug reported: somehwere in the qemu 1.0 series, the qemu-user static variants started issuing build warnings like so: /usr/lib/gcc/i486-linux-gnu/4.6/../../../i386-linux-gnu/libglib-2.0.a(gutils.o): In function `g_get_any_init_do':

[Qemu-devel] [Bug 902306] Re: qemu-user -static variants require shared libraries

2011-12-09 Thread Bug Watch Updater
** Changed in: qemu (Debian) Status: Unknown = New -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/902306 Title: qemu-user -static variants require shared libraries Status in QEMU: New

Re: [Qemu-devel] [PATCH v2 0/5] backdoor: lightweight guest-to-QEMU backdoor channel

2011-12-09 Thread Lluís Vilanova
Stefan Hajnoczi writes: 2011/12/8 Lluís Vilanova vilan...@ac.upc.edu: Stefan Hajnoczi writes: [...] * Support for tracing guest code through TCG. I'm not clear on whether a backdoor mechanism is needed or not.  A backdoor mechanism allows a modified guest to participate in tracing.

[Qemu-devel] [PATCH V2 1/5] vl.c: Do not save RAM state when Xen is used.

2011-12-09 Thread Anthony PERARD
In Xen case, the guest RAM is not handle by QEMU, and it is saved by Xen tools. So, we just avoid to register the RAM save state handler. Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- vl.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/vl.c b/vl.c

[Qemu-devel] [PATCH V2 0/5] Have a working migration with Xen

2011-12-09 Thread Anthony PERARD
Hi all, This patch series provide some fix to have migration working with Xen. The main issue with Xen is that the guest RAM is not handle by QEMU. So, first of all, the RAM will not be saved in the QEMU state file. - For this, we can also unregister the ram_save_live function later in xen code

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

2011-12-09 Thread Anthony PERARD
During the initialisation of the machine at restore time, the access to the VRAM will fail because QEMU does not know yet the right guest address to map, so the vram_ptr is NULL. So this patch avoid using a NULL pointer during initialisation, and try to get another vram_ptr if the call failed the

[Qemu-devel] [PATCH V2 2/5] xen mapcache: Check if a memory space has moved.

2011-12-09 Thread Anthony PERARD
This patch change the xen_map_cache behavior. Before trying to map a guest addr, mapcache will look into the list of range of address that have been moved (physmap/set_memory). There is currently one memory space like this, the vram, moved from were it's allocated to were the guest will look into.

[Qemu-devel] [PATCH V2 4/5] xen: Change memory access behavior during migration.

2011-12-09 Thread Anthony PERARD
Do not allocate RAM during pre-migration runstate. Do not actually do set_memory during migration. Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- xen-all.c | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/xen-all.c b/xen-all.c index

[Qemu-devel] [PATCH V2 3/5] Introduce premigrate RunState.

2011-12-09 Thread Anthony PERARD
This new state will be used by Xen functions to know QEMU will wait for a migration. This is important to know for memory related function because the memory is already allocated and reallocated them will not works. Signed-off-by: Anthony PERARD anthony.per...@citrix.com --- qapi-schema.json |

[Qemu-devel] [PATCH 0/6] New fixes for some misspellings

2011-12-09 Thread Stefan Weil
This patch series tries to fix the most common misspellings using the tool 'codespell'. See http://wiki.qemu.org/Contribute/SpellCheck for more information on using codespell with QEMU. Regards, Stefan Weil [PATCH 1/6] Add spelling exceptions for codespell [PATCH 2/6] fmopl: Fix spelling in

[Qemu-devel] [PATCH 1/6] Add spelling exceptions for codespell

2011-12-09 Thread Stefan Weil
This file can be used with codespell to suppress wrong misspelling reports. Signed-off-by: Stefan Weil s...@weilnetz.de --- scripts/codespell.exclude | 215 + 1 files changed, 215 insertions(+), 0 deletions(-) create mode 100644

[Qemu-devel] [PATCH 2/6] fmopl: Fix spelling in code and comments

2011-12-09 Thread Stefan Weil
algorythm-algorithm rythm-rhythm I did not try to fix the coding standard, so checkpatch.pl reports lots of violations. Signed-off-by: Stefan Weil s...@weilnetz.de --- hw/fmopl.c | 32 hw/fmopl.h |4 ++-- 2 files changed, 18 insertions(+), 18 deletions(-)

[Qemu-devel] [PATCH 4/6] hw: Fix spelling in comments

2011-12-09 Thread Stefan Weil
adress-address advertisment-advertisement begining-beginning bondary-boundary controler-controller controll-control convertion-conversion doesnt-doesn't existant-existent instuction-instruction loosing-losing managment-management multipled-multiplied negotation-negotiation runing-running teh-the

  1   2   >