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

2011-12-14 Thread Wen Congyang
At 12/13/2011 09:03 PM, Jan Kiszka Write: On 2011-12-09 09:06, Wen Congyang wrote: 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 ---

Re: [Qemu-devel] [PATCH v3 12/14] hw/sd.c, hw/sd.h: add receive ready query routine to SD/MMC API

2011-12-14 Thread Mitsyanko Igor
On 12/13/2011 08:22 PM, Peter Maydell wrote: On 13 December 2011 15:11, Peter Maydellpeter.mayd...@linaro.org wrote: On 12 December 2011 06:43, Evgeny Voevodine.voevo...@samsung.com wrote: From: Mitsyanko Igori.mitsya...@samsung.com Data transfer direction between host controller and SD/MMC

Re: [Qemu-devel] [PATCH] PPC: Fix linker scripts on ppc hosts

2011-12-14 Thread Peter Maydell
On 14 December 2011 00:30, Paul Brook p...@codesourcery.com wrote: IIRC mmap'ing files would break with 32-on-64, but I'd have to check up on the details. I ended up passing MAP_32BIT to all linux-user mmap calla for 32-on-x86_64, but that doesn't work with -R. Hmm, I thought we'd fixed that.

Re: [Qemu-devel] [RFC] Plan for moving forward with QOM

2011-12-14 Thread Andreas Färber
Am 13.12.2011 22:53, schrieb Anthony Liguori: ISADevice could very easily become an Interface as it has no state today. Not in upstream, but Hervé and me had been working on that for PReP, as you may recall. There seemed to be consensus that some ISA devices can choose which I/O ports and IRQs

Re: [Qemu-devel] [PATCH] syborg: drop support for Symbian Virtual Platform

2011-12-14 Thread Stefan Hajnoczi
On Tue, Dec 13, 2011 at 10:59:46PM +, Peter Maydell wrote: On 12 December 2011 23:35, Anthony Liguori aligu...@us.ibm.com wrote: On 12/12/2011 06:11 AM, Stefan Hajnoczi wrote: The Symbian Virtual Platform was an ARM-based development and debugging board.  Since Symbian has been

[Qemu-devel] [PATCH] spapr: Add support for -vga option

2011-12-14 Thread Benjamin Herrenschmidt
The -vga option is a handy high level option for instanciating things automatically. This adds support for it to the spapr (aka pseries) machine. Also instanciate the USB keyboard and mouse when that option is used (you can still use -device to create individual devices without all the defaults)

Re: [Qemu-devel] [Spice-devel] client_migrate_info - do we need a new command?

2011-12-14 Thread Yonit Halperin
Hi, On 12/13/2011 08:19 PM, Anthony Liguori wrote: In our call today, Avi asked that we evaluate whether the interface for client_migrate_info is the Right Interface before we introduce a new command to work around the fact that async commands are broken. I looked into this today and here's

Re: [Qemu-devel] [Qemu-trivial] [PATCH] doc: Remove Symbian Virtual Platform

2011-12-14 Thread Stefan Hajnoczi
On Wed, Dec 14, 2011 at 6:30 AM, Stefan Weil s...@weilnetz.de wrote: Commit d396a657baec8c6b7aa0c888746e0e2f78303650 removed the code for SVP, so the documentation needs this update. Signed-off-by: Stefan Weil s...@weilnetz.de ---  qemu-doc.texi |   23 ---  1 files

Re: [Qemu-devel] [PATCH] Initial support for ARM V6-M

2011-12-14 Thread Alex Rozenman
Hi Peter, Thank you for your comments. I'll submit a new patch. I am aware about architertural differences b/w v6m and v7m, but many of them is less relevant for the existing QEMU code (pririty bits for example). Alex On Tue, 2011-12-13 at 18:05 +, Peter Maydell wrote: On 13 December 2011

Re: [Qemu-devel] [PATCH] Initial support for ARM V6-M

2011-12-14 Thread Peter Maydell
On 14 December 2011 09:55, Alex Rozenman alex_rozen...@mentor.com wrote: Thank you for your comments. I'll submit a new patch. I am aware about architertural differences b/w v6m and v7m, but many of them is less relevant for the existing QEMU code (pririty bits for example). My concern really

Re: [Qemu-devel] client_migrate_info - do we need a new command?

2011-12-14 Thread Avi Kivity
On 12/13/2011 08:19 PM, Anthony Liguori wrote: In our call today, Avi asked that we evaluate whether the interface for client_migrate_info is the Right Interface before we introduce a new command to work around the fact that async commands are broken. I looked into this today and here's what

Re: [Qemu-devel] [RFC] QEMU Object Model status/merge plan

2011-12-14 Thread Kevin Wolf
Am 13.12.2011 17:02, schrieb Anthony Liguori: On 12/13/2011 09:05 AM, Kevin Wolf wrote: Am 13.12.2011 14:43, schrieb Anthony Liguori: On 12/13/2011 05:35 AM, Stefan Hajnoczi wrote: On Mon, Dec 12, 2011 at 7:36 PM, Anthony Liguorianth...@codemonkey.ws wrote: I choose the serial device to

Re: [Qemu-devel] [PULL 00/19] Trivial patches for 3 to 6 December 2011

2011-12-14 Thread Stefan Hajnoczi
On Tue, Dec 6, 2011 at 11:00 AM, Stefan Hajnoczi stefa...@linux.vnet.ibm.com wrote: The following changes since commit 217bfb445b54db618a30f3a39170bebd9fd9dbf2:  hw/arm_gic.c: Ignore attempts to complete nonexistent IRQs (2011-12-05 21:38:56 +0100) are available in the git repository at:  

Re: [Qemu-devel] [PATCH v3 0/9] block: generic image streaming

2011-12-14 Thread Stefan Hajnoczi
On Wed, Dec 14, 2011 at 1:42 AM, Yibin Shen zit...@taobao.com wrote: On Tue, Dec 13, 2011 at 11:18 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Tue, Dec 13, 2011 at 2:12 PM, Yibin Shen zit...@taobao.com wrote: all these patches looks good to me except one thing, when I run a qemu-img

Re: [Qemu-devel] [PATCH 00/17] Support mismatched host and guest logical block sizes

2011-12-14 Thread Kevin Wolf
Am 13.12.2011 13:37, schrieb Paolo Bonzini: Running with mismatched host and guest logical block sizes is going to become more important as 4k-sector disks become more widespread. This is because we need a 512 byte disk to boot from. Mismatched block sizes have two problems: 1) with

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

2011-12-14 Thread Stefan Hajnoczi
On Sat, Dec 10, 2011 at 12:19:40AM +0100, Stefan Weil wrote: 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

Re: [Qemu-devel] [PATCH] tcg: make tcg_const_ptr actually accept a pointer argument

2011-12-14 Thread Stefan Hajnoczi
On Sat, Dec 10, 2011 at 04:35:31PM +, Peter Maydell wrote: Make tcg_const_ptr() include a cast so that you can pass it a pointer. This allows us to drop the casts we had in all the places that use this macro. Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- Minor cleanup; I

Re: [Qemu-devel] [PATCH] migration.h: remove incoming_expected declarations

2011-12-14 Thread Stefan Hajnoczi
On Tue, Dec 13, 2011 at 12:40:51PM +0900, Isaku Yamahata wrote: The variable is deleted by 1bcef683bf840a928d633755031ac572d5fdb851 So remove its declaration. Cc: Luiz Capitulino lcapitul...@redhat.com Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp --- migration.h |2 -- 1

Re: [Qemu-devel] [Qemu-trivial] [PATCH] doc: Remove Symbian Virtual Platform

2011-12-14 Thread Stefan Hajnoczi
On Wed, Dec 14, 2011 at 07:30:24AM +0100, Stefan Weil wrote: Commit d396a657baec8c6b7aa0c888746e0e2f78303650 removed the code for SVP, so the documentation needs this update. Signed-off-by: Stefan Weil s...@weilnetz.de --- qemu-doc.texi | 23 --- 1 files changed, 0

Re: [Qemu-devel] [PATCH v3 02/14] ARM: exynos4210: CMU support

2011-12-14 Thread Maksim E. Kozlov
+ +static const VMStateDescription vmstate_exynos4210_cmu = { +.name = exynos4210.cmu, +.version_id = 1, +.minimum_version_id = 1, +.minimum_version_id_old = 1, +.fields = (VMStateField[]) { +/* + * TODO: Maybe we should save

Re: [Qemu-devel] [PATCH 0/4] tcg: Add debug facilities for TCGv

2011-12-14 Thread Andreas Färber
Am 13.12.2011 17:26, schrieb Paul Brook: You've almost no chance of getting it right. In some cases the correct answer will be to use 32-bit arithmetic, then sign/zero extend the result. In other cases the correct answer will be to perform word size arithmetic. Blindly picking one just

Re: [Qemu-devel] [PATCH v3 02/14] ARM: exynos4210: CMU support

2011-12-14 Thread Peter Maydell
On 14 December 2011 12:10, Maksim E. Kozlov m.koz...@samsung.com wrote: Should we save globally defined static structures , some fields of which can be changed at runtime? If yes, could you recommend a right way to do that? You shouldn't have globally defined static structures or variables

Re: [Qemu-devel] [PATCH 00/17] Support mismatched host and guest logical block sizes

2011-12-14 Thread Paolo Bonzini
On 12/14/2011 12:13 PM, Kevin Wolf wrote: As we discussed before, the really interesting point here is defaults, and whatever you choose to do is wrong in some respect. So it looks like you chose to make the virtual device default to the host block size. ... wait wait, I default to 512. :)

Re: [Qemu-devel] [PATCH 00/17] Support mismatched host and guest logical block sizes

2011-12-14 Thread Kevin Wolf
Am 14.12.2011 12:47, schrieb Paolo Bonzini: On 12/14/2011 12:13 PM, Kevin Wolf wrote: As we discussed before, the really interesting point here is defaults, and whatever you choose to do is wrong in some respect. So it looks like you chose to make the virtual device default to the host block

Re: [Qemu-devel] [PATCH 1/3] raw-posix: Remove dead code

2011-12-14 Thread Andreas Färber
Am 10.11.2011 19:40, schrieb Pavel Borzenkov: It was commented out since the initial import from svn. Signed-off-by: Pavel Borzenkov pavel.borzen...@gmail.com This dead code has just been picked up by Paolo for his Support mismatched host and guest logical block sizes series (10/17). Feel

Re: [Qemu-devel] [PATCH] PPC: Fix linker scripts on ppc hosts

2011-12-14 Thread Paul Brook
The proper solution would be to rewrite mmap.c to be smarter (perhaps by looking at /proc/self/maps and reserving a lot of space with PROT_NONE mappings at startup and then managing it itself), but so far nobody's done that Yes they have. That's what -R does. We used to try and parse

Re: [Qemu-devel] [PATCH] PPC: Fix linker scripts on ppc hosts

2011-12-14 Thread Peter Maydell
On 14 December 2011 12:04, Paul Brook p...@codesourcery.com wrote: The proper solution would be to rewrite mmap.c to be smarter (perhaps by looking at /proc/self/maps and reserving a lot of space with PROT_NONE mappings at startup and then managing it itself), but so far nobody's done that

Re: [Qemu-devel] [PATCH 00/17] Support mismatched host and guest logical block sizes

2011-12-14 Thread Paolo Bonzini
On 12/14/2011 01:05 PM, Kevin Wolf wrote: Am 14.12.2011 12:47, schrieb Paolo Bonzini: On 12/14/2011 12:13 PM, Kevin Wolf wrote: As we discussed before, the really interesting point here is defaults, and whatever you choose to do is wrong in some respect. So it looks like you chose to make the

Re: [Qemu-devel] [PATCH v2] qemu-ga: Add the guest-suspend command

2011-12-14 Thread Luiz Capitulino
On Tue, 13 Dec 2011 14:03:08 -0600 Michael Roth mdr...@linux.vnet.ibm.com wrote: On 12/13/2011 12:28 PM, Luiz Capitulino wrote: It supports two modes: hibernate (which corresponds to S4) and sleep (which corresponds to S3). It will try to execute the pm-hibernate or pm-suspend scripts, if

Re: [Qemu-devel] [PATCH v2] qemu-ga: Add the guest-suspend command

2011-12-14 Thread Luiz Capitulino
On Tue, 13 Dec 2011 23:13:23 + Daniel P. Berrange berra...@redhat.com wrote: On Tue, Dec 13, 2011 at 04:28:50PM -0200, Luiz Capitulino wrote: It supports two modes: hibernate (which corresponds to S4) and sleep (which corresponds to S3). It will try to execute the pm-hibernate or

Re: [Qemu-devel] [PATCH v2] qemu-ga: Add the guest-suspend command

2011-12-14 Thread Luiz Capitulino
On Tue, 13 Dec 2011 14:27:56 -0600 Michael Roth mdr...@linux.vnet.ibm.com wrote: On 12/13/2011 12:28 PM, Luiz Capitulino wrote: It supports two modes: hibernate (which corresponds to S4) and sleep (which corresponds to S3). It will try to execute the pm-hibernate or pm-suspend scripts, if

[Qemu-devel] [PATCH V5 12/14] hw/9pfs: Documentation changes related to proxy fs

2011-12-14 Thread M. Mohan Kumar
From: M. Mohan Kumar mo...@in.ibm.com Signed-off-by: M. Mohan Kumar mo...@in.ibm.com --- qemu-options.hx | 25 - 1 files changed, 16 insertions(+), 9 deletions(-) diff --git a/qemu-options.hx b/qemu-options.hx index b3db10c..cfc999f 100644 --- a/qemu-options.hx +++

[Qemu-devel] [PATCH V5 05/14] hw/9pfs: File system helper process for qemu 9p proxy FS

2011-12-14 Thread M. Mohan Kumar
From: M. Mohan Kumar mo...@in.ibm.com Provide root privilege access to QEMU 9p proxy filesystem using socket communication. Proxy helper is started by root user as: ~ # virtfs-proxy-helper -f|--fd socket descriptor -p|--path path-to-share Signed-off-by: M. Mohan Kumar mo...@in.ibm.com ---

[Qemu-devel] [PATCH V5 10/14] hw/9pfs: xattr interfaces in proxy filesystem driver

2011-12-14 Thread M. Mohan Kumar
From: M. Mohan Kumar mo...@in.ibm.com Add xattr support for proxy FS Signed-off-by: M. Mohan Kumar mo...@in.ibm.com --- fsdev/virtfs-proxy-helper.c | 99 ++ hw/9pfs/virtio-9p-proxy.c | 124 ---

[Qemu-devel] [PATCH V5 08/14] hw/9pfs: Add stat/readlink/statfs for proxy FS

2011-12-14 Thread M. Mohan Kumar
From: M. Mohan Kumar mo...@in.ibm.com Signed-off-by: M. Mohan Kumar mo...@in.ibm.com --- fsdev/virtfs-proxy-helper.c | 182 ++ hw/9pfs/virtio-9p-proxy.c | 206 +-- hw/9pfs/virtio-9p-proxy.h | 34 +++ 3 files

[Qemu-devel] [PATCH V5 06/14] hw/9pfs: Open and create files

2011-12-14 Thread M. Mohan Kumar
From: M. Mohan Kumar mo...@in.ibm.com Add interfaces to open and create files for proxy file system driver. Signed-off-by: M. Mohan Kumar mo...@in.ibm.com --- fsdev/virtfs-proxy-helper.c | 178 - hw/9pfs/virtio-9p-proxy.c | 187

[Qemu-devel] [PATCH V14 6/7] Introduce --enable-tpm-passthrough configure option

2011-12-14 Thread Stefan Berger
Introduce --enable-tpm-passthrough configure option. Signed-off-by: Stefan Berger stef...@linux.vnet.ibm.com --- configure | 16 +++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/configure b/configure index 25995bc..ffb599e 100755 --- a/configure +++ b/configure

[Qemu-devel] [PATCH V14 7/7] Add fd parameter for TPM passthrough driver

2011-12-14 Thread Stefan Berger
Enable the passing of a file descriptor via fd=.. to access the host's TPM device using the TPM passthrough driver. Signed-off-by: Stefan Berger stef...@linux.vnet.ibm.com --- hw/tpm_passthrough.c | 73 +- qemu-config.c|5 +++

[Qemu-devel] [PATCH V14 5/7] Add a TPM Passthrough backend driver implementation

2011-12-14 Thread Stefan Berger
From Andreas Niederl's original posting with adaptations where necessary: This patch is based of off version 9 of Stefan Berger's patch series Qemu Trusted Platform Module (TPM) integration and adds a new backend driver for it. This patch adds a passthrough backend driver for passing commands

[Qemu-devel] [PATCH V14 1/7] Support for TPM command line options

2011-12-14 Thread Stefan Berger
This patch adds support for TPM command line options. The command line options supported here are ./qemu-... -tpmdev passthrough,path=path to TPM device,id=id -device tpm-tis,tpmdev=id and ./qemu-... -tpmdev ? where the latter works similar to -soundhw ? and shows a list of

[Qemu-devel] [PATCH V14 4/7] Build the TPM frontend code

2011-12-14 Thread Stefan Berger
Build the TPM frontend code that has been added so far. Signed-off-by: Stefan Berger stef...@linux.vnet.ibm.com --- Makefile.target |2 ++ configure | 11 +++ 2 files changed, 13 insertions(+), 0 deletions(-) diff --git a/Makefile.target b/Makefile.target index

Re: [Qemu-devel] [Bug 899140] Re: Problem with Linux Kernel Traffic Control

2011-12-14 Thread Vincent Autefage
Well, I have checked differences between the GIT repository (V0.14.0) and the Ubuntu version (V0.14.0) and generated patch diff file. The patch contains about 5000 lines... What's the next step ? Vincent Le 05/12/2011 12:11, Stefan Hajnoczi a écrit : On Mon, Dec 5, 2011 at 10:45 AM, Vincent

Re: [Qemu-devel] [RFC] QEMU Object Model status/merge plan

2011-12-14 Thread Anthony Liguori
On 12/14/2011 04:33 AM, Kevin Wolf wrote: Am 13.12.2011 17:02, schrieb Anthony Liguori: static TypeInfo e1000_device_info = { .name = TYPE_E1000, .parent = TYPE_PCI_DEVICE, .instance_size = sizeof(E1000State), .class_init = pci_generic_class_init, .class_data

[Qemu-devel] [PATCH V14 0/7] Qemu Trusted Platform Module (TPM) integration

2011-12-14 Thread Stefan Berger
The following series of patches adds TPM (Trusted Platform Module) support to Qemu. An emulator for the TIS (TPM Interface Spec) interface is added that provides the basis for accessing a 'backend' implementing the actual TPM functionality. The TIS emulator serves as a 'frontend' enabling for

Re: [Qemu-devel] [PATCH v3 2/9] block: add BlockJob interface for long-running operations

2011-12-14 Thread Kevin Wolf
Am 13.12.2011 14:52, schrieb Stefan Hajnoczi: Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- block_int.h | 83 +++ 1 files changed, 83 insertions(+), 0 deletions(-) Why are these functions static inline in the header

[Qemu-devel] [Bug 889053] Re: x86: FPU_MAX, FPU_MIN incorrect

2011-12-14 Thread Daniil Troshkov
Hello! Can I commit this patch (in development branch), and close this bug... Or you must do it? -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/889053 Title: x86: FPU_MAX, FPU_MIN incorrect Status

Re: [Qemu-devel] [RFC] Plan for moving forward with QOM

2011-12-14 Thread Anthony Liguori
On 12/13/2011 06:39 PM, Paul Brook wrote: Composition == etching to the same piece of silicon. Nothing more, nothing less. That's a really crappy definition. Most ARM systems are comprised of approximately one piece of silicon. There may be dozens of variants of a particular chip, with the

Re: [Qemu-devel] [PATCH v3 3/9] block: add image streaming block job

2011-12-14 Thread Kevin Wolf
Am 13.12.2011 14:52, schrieb Stefan Hajnoczi: Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- Makefile.objs |1 + block/stream.c | 121 block_int.h|3 + trace-events |4 ++ 4 files changed, 129

[Qemu-devel] [PATCH V5 11/14] hw/9pfs: Proxy getversion

2011-12-14 Thread M. Mohan Kumar
From: M. Mohan Kumar mo...@in.ibm.com Add proxy getversion to get generation number Signed-off-by: M. Mohan Kumar mo...@in.ibm.com --- fsdev/virtfs-proxy-helper.c | 80 +++ hw/9pfs/virtio-9p-proxy.c | 32 + hw/9pfs/virtio-9p-proxy.h

[Qemu-devel] [PATCH V5 04/14] hw/9pfs: Add new proxy filesystem driver

2011-12-14 Thread M. Mohan Kumar
From: M. Mohan Kumar mo...@in.ibm.com Add new proxy filesystem driver to add root privilege to qemu process. It needs a helper process to be started by root user. Following command line can be used to utilize proxy filesystem driver -virtfs proxy,id=id,mount_tag=tag,socket_fd=socket-fd

[Qemu-devel] [PATCH V14 3/7] Add a debug register

2011-12-14 Thread Stefan Berger
This patch uses the possibility to add a vendor-specific register and adds a debug register useful for dumping the TIS's internal state. This register is only active in a debug build (#define DEBUG_TIS). Signed-off-by: Stefan Berger stef...@linux.vnet.ibm.com --- hw/tpm_tis.c | 70

Re: [Qemu-devel] [RFC] Plan for moving forward with QOM

2011-12-14 Thread Avi Kivity
On 12/14/2011 03:53 PM, Anthony Liguori wrote: The fact that serial.c (which really should be called 16550.c) contains ISA specific IO callback routines feels like ISASerial isn't doing its job proberly to start with :-) It's not really ISA specific callbacks but I need to think through

[Qemu-devel] [PATCH V5 01/14] hw/9pfs: Move opt validation to FsDriver callback

2011-12-14 Thread M. Mohan Kumar
From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com This remove all conditional code from common code path and make opt validation a FSDriver callback. Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com Signed-off-by: M. Mohan Kumar mo...@in.ibm.com ---

[Qemu-devel] [PATCH V5 00/14] Proxy FS driver for VirtFS

2011-12-14 Thread M. Mohan Kumar
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 mode/uid:gid). There are two issues in pass-through security model 1) TOCTTOU vulnerability: Following symbolic links in the server could

Re: [Qemu-devel] [RFC] Plan for moving forward with QOM

2011-12-14 Thread Anthony Liguori
On 12/14/2011 08:01 AM, Avi Kivity wrote: On 12/14/2011 03:53 PM, Anthony Liguori wrote: The fact that serial.c (which really should be called 16550.c) contains ISA specific IO callback routines feels like ISASerial isn't doing its job proberly to start with :-) It's not really ISA specific

[Qemu-devel] [PATCH V14 2/7] Add TPM (frontend) hardware interface (TPM TIS) to Qemu

2011-12-14 Thread Stefan Berger
This patch adds the main code of the TPM frontend driver, the TPM TIS interface, to Qemu. The code is largely based on the previous implementation for Xen but has been significantly extended to meet the standard's requirements, such as the support for changing of localities and all the

[Qemu-devel] [PATCH V5 13/14] hw/9pfs: man page for proxy helper

2011-12-14 Thread M. Mohan Kumar
From: M. Mohan Kumar mo...@in.ibm.com Signed-off-by: M. Mohan Kumar mo...@in.ibm.com --- Makefile | 12 +++- fsdev/virtfs-proxy-helper.texi | 59 2 files changed, 70 insertions(+), 1 deletions(-) create mode 100644

[Qemu-devel] [PATCH V5 03/14] hw/9pfs: Add validation to {un}marshal code

2011-12-14 Thread M. Mohan Kumar
From: M. Mohan Kumar mo...@in.ibm.com Signed-off-by: M. Mohan Kumar mo...@in.ibm.com Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com --- fsdev/virtio-9p-marshal.c | 148 -- fsdev/virtio-9p-marshal.h | 19 +- hw/9pfs/virtio-9p.c | 467

[Qemu-devel] [PATCH V5 02/14] hw/9pfs: Move pdu_marshal/unmarshal code to a seperate file

2011-12-14 Thread M. Mohan Kumar
From: M. Mohan Kumar mo...@in.ibm.com Move p9 marshaling/unmarshaling code to a separate file so that proxy filesytem driver can use these calls. Also made marshaling code generic to accept struct iovec instead of V9fsPDU. Signed-off-by: M. Mohan Kumar mo...@in.ibm.com --- Makefile.objs

[Qemu-devel] [PATCH V5 09/14] hw/9pfs: File ownership and others

2011-12-14 Thread M. Mohan Kumar
From: M. Mohan Kumar mo...@in.ibm.com Add file ownership interfaces like chmod/chown, utime update, rename, remove and truncating files for proxy FS Signed-off-by: M. Mohan Kumar mo...@in.ibm.com --- Makefile|2 +- fsdev/virtfs-proxy-helper.c | 83

[Qemu-devel] [PATCH V5 14/14] hw/9pfs: Add support to use named socket for proxy FS

2011-12-14 Thread M. Mohan Kumar
From: M. Mohan Kumar mo...@in.ibm.com Add option to use named socket for communicating between proxy helper and qemu proxy FS. Access to socket can be given by using command line options -u and -g. We can achive the same using a shell script over qemu and virtfs-proxy-helper using exec

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

2011-12-14 Thread 陳韋任
On Tue, Dec 13, 2011 at 08:29:50PM -0500, Xin Tong wrote: QEMU performs a recursive unchaining on the current executing tb when a timer fires. This timer is set by setitimer in the qemu-timer.c. You mean dynticks_start_timer? This is what I mean by interrupt

[Qemu-devel] USB continuous reset / unplug cleanup not done properly

2011-12-14 Thread erik . rull
Hi all, I experience several problems using the usb-host USB routing feature to the guest. 1) Devices get resetted again and again on the host side and do not work properly on the guest side - they work fine on the host side outside qemu. 2) Unplugged devices remain in the info usb list I start

[Qemu-devel] [PATCH v2 0/3] remove sysbus_init_mmio_cb2 usage

2011-12-14 Thread Benoît Canet
These patches remove sysbus_init_mmio_cb2 usage from the codebase. v2: dont't change ppce500 initialisation method (peter) Benoît Canet (3): sh_pci: remove sysbus_init_mmio_cb2 usage ppce500_pci: remove sysbus_init_mmio_cb2 usage sysbus: remove sysbus_init_mmio_cb2 hw/ppce500_mpc8544ds.c

[Qemu-devel] [PATCH v2 2/3] ppce500_pci: remove sysbus_init_mmio_cb2 usage

2011-12-14 Thread Benoît Canet
Expose only one container MemoryRegion to sysbus. (Peter Maydell's idea) Signed-off-by: Benoît Canet benoit.ca...@gmail.com --- hw/ppce500_mpc8544ds.c |1 + hw/ppce500_pci.c | 27 ++- 2 files changed, 7 insertions(+), 21 deletions(-) diff --git

[Qemu-devel] [PATCH v2 3/3] sysbus: remove sysbus_init_mmio_cb2

2011-12-14 Thread Benoît Canet
This function is not longer in use so remove it. Signed-off-by: Benoît Canet benoit.ca...@gmail.com --- hw/sysbus.c | 16 hw/sysbus.h |5 - 2 files changed, 0 insertions(+), 21 deletions(-) diff --git a/hw/sysbus.c b/hw/sysbus.c index b315a8c..81a57bd 100644 ---

[Qemu-devel] [PATCH V5 07/14] hw/9pfs: Create other filesystem objects

2011-12-14 Thread M. Mohan Kumar
From: M. Mohan Kumar mo...@in.ibm.com Add interfaces to create filesystem objects like directory, device nodes, symbolic links, links for proxy filesytem driver Signed-off-by: M. Mohan Kumar mo...@in.ibm.com --- fsdev/virtfs-proxy-helper.c | 129 ++--

Re: [Qemu-devel] [RFC] Plan for moving forward with QOM

2011-12-14 Thread Avi Kivity
On 12/14/2011 04:11 PM, Anthony Liguori wrote: In fact I want the ability to create new address spaces. For example index/data style interfaces, as found in RTC, IOAPIC, and PCI 0xcf8 style config space, can be hooked to drive an RTC MemoryRegion, an IOAPIC MemoryRegion, and the PCI config

Re: [Qemu-devel] [Bug 899140] Re: Problem with Linux Kernel Traffic Control

2011-12-14 Thread Vincent Autefage
I've just checked the problem with a *ne2k_pci* instead of the default e1000 and the problem does not exist with the *ne2k_pci*... (Version 0.14-1 of qemu) I'm going to check other cards right now Vincent Le 05/12/2011 12:11, Stefan Hajnoczi a écrit : On Mon, Dec 5, 2011 at 10:45 AM,

Re: [Qemu-devel] [Bug 899140] Re: Problem with Linux Kernel Traffic Control

2011-12-14 Thread Stefan Hajnoczi
On Wed, Dec 14, 2011 at 1:36 PM, Vincent Autefage 899...@bugs.launchpad.net wrote: I have checked differences between the GIT repository (V0.14.0) and the Ubuntu version (V0.14.0) and generated patch diff file. The patch contains about 5000 lines... What's the next step ? Okay, so when you

[Qemu-devel] [PATCH v2 1/3] sh_pci: remove sysbus_init_mmio_cb2 usage

2011-12-14 Thread Benoît Canet
The isa region is not exposed as a sysbus region because the iobr register contains its address and use it to remap dynamically the region. (Peter Maydell's idea) Signed-off-by: Benoît Canet benoit.ca...@gmail.com --- hw/r2d.c| 14 -- hw/sh_pci.c | 29

Re: [Qemu-devel] [RFC] Plan for moving forward with QOM

2011-12-14 Thread Anthony Liguori
On 12/14/2011 08:35 AM, Avi Kivity wrote: On 12/14/2011 04:11 PM, Anthony Liguori wrote: We discussed it before and I believe he was planning on adding itl_shift as a MemoryRegion mutator. I don't think it makes sense as a mutator, can it_shift change dynamically? But as part of setup,

Re: [Qemu-devel] [Bug 899140] Re: Problem with Linux Kernel Traffic Control

2011-12-14 Thread Vincent Autefage
Ok so the *Intel e1000* seems the only card which is impacted by the bug. Vincent Le 05/12/2011 12:11, Stefan Hajnoczi a écrit : On Mon, Dec 5, 2011 at 10:45 AM, Vincent Autefage 899...@bugs.launchpad.net wrote: So we have another problem... The thing is that the 0.14.0 (and all 0.14.0 rc)

Re: [Qemu-devel] [RFC] Plan for moving forward with QOM

2011-12-14 Thread Avi Kivity
On 12/14/2011 04:46 PM, Anthony Liguori wrote: Well, that's exactly what I had in mind (except that you'd bounce the I/O to an AddressSpace, which takes care of preparing the dispatch tables etc. instead of searching dynamically through the hierarchy). But the I/O table for the AddressSpace

Re: [Qemu-devel] [PATCH v3 8/9] qmp: add query-block-jobs

2011-12-14 Thread Kevin Wolf
Am 13.12.2011 14:52, schrieb Stefan Hajnoczi: Add query-block-jobs, which shows the progress of ongoing block device operations. Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- blockdev.c | 33 + hmp.c| 40

Re: [Qemu-devel] [PULL 00/19] Trivial patches for 3 to 6 December 2011

2011-12-14 Thread Anthony Liguori
On 12/14/2011 04:38 AM, Stefan Hajnoczi wrote: On Tue, Dec 6, 2011 at 11:00 AM, Stefan Hajnoczi stefa...@linux.vnet.ibm.com wrote: The following changes since commit 217bfb445b54db618a30f3a39170bebd9fd9dbf2: hw/arm_gic.c: Ignore attempts to complete nonexistent IRQs (2011-12-05 21:38:56

Re: [Qemu-devel] [PATCH] target-i386: Fix regression with maxsd SSE2 instruction v2

2011-12-14 Thread Peter Maydell
Jason, ping? Are you going to do a v3 of this patch? Thanks -- PMM On 19 November 2011 16:20, Peter Maydell peter.mayd...@linaro.org wrote: On 8 November 2011 14:20, Jason Wessel jason.wes...@windriver.com wrote: The maxsd instruction needs to take into account the sign of the numbers 64 bit

[Qemu-devel] [Bug 889053] Re: x86: FPU_MAX, FPU_MIN incorrect

2011-12-14 Thread Peter Maydell
Your patch is broken, as I said before. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/889053 Title: x86: FPU_MAX, FPU_MIN incorrect Status in QEMU: New Bug description: Dear All, Bug was

Re: [Qemu-devel] [PATCH] spapr: Add support for -vga option

2011-12-14 Thread Paolo Bonzini
On 12/14/2011 10:22 AM, Benjamin Herrenschmidt wrote: of course you can use -device to manually instanciate individual devices. That's true, however... @@ -563,7 +568,9 @@ static void spapr_finalize_fdt(sPAPREnvironment *spapr, } } -spapr_populate_chosen_stdout(fdt,

[Qemu-devel] [PATCH 1/3] linux-user: Allow NULL value pointer in setxattr and getxattr

2011-12-14 Thread Peter Maydell
It's valid to pass a NULL value pointer to setxattr, so don't fail this case EFAULT. Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- linux-user/syscall.c | 24 ++-- 1 files changed, 18 insertions(+), 6 deletions(-) diff --git a/linux-user/syscall.c

[Qemu-devel] [Bug 889053] Re: x86: FPU_MAX, FPU_MIN incorrect

2011-12-14 Thread Daniil Troshkov
Yes, but you patch is correct... -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/889053 Title: x86: FPU_MAX, FPU_MIN incorrect Status in QEMU: New Bug description: Dear All, Bug was found

Re: [Qemu-devel] [PATCH v2] qemu-ga: Add the guest-suspend command

2011-12-14 Thread Michael Roth
On 12/14/2011 07:07 AM, Luiz Capitulino wrote: On Tue, 13 Dec 2011 14:27:56 -0600 Michael Rothmdr...@linux.vnet.ibm.com wrote: On 12/13/2011 12:28 PM, Luiz Capitulino wrote: It supports two modes: hibernate (which corresponds to S4) and sleep (which corresponds to S3). It will try to execute

Re: [Qemu-devel] [PATCH v2] qemu-ga: Add the guest-suspend command

2011-12-14 Thread Michael Roth
On 12/14/2011 07:00 AM, Luiz Capitulino wrote: On Tue, 13 Dec 2011 14:03:08 -0600 Michael Rothmdr...@linux.vnet.ibm.com wrote: On 12/13/2011 12:28 PM, Luiz Capitulino wrote: It supports two modes: hibernate (which corresponds to S4) and sleep (which corresponds to S3). It will try to execute

[Qemu-devel] [Bug 904308] [NEW] x86: BT/BTS/BTR/BTC: ZF flag is unaffected

2011-12-14 Thread Daniil Troshkov
Public bug reported: Hello! Bug was found in qemu.git. See target-i386/translate.c: case 0x1ba: /* bt/bts/btr/btc Gv, im */ ot = dflag + OT_WORD; modrm = ldub_code(s-pc++); op = (modrm 3) 7; mod = (modrm 6) 3; rm = (modrm 7) | REX_B(s);

[Qemu-devel] [Bug 904308] Re: x86: BT/BTS/BTR/BTC: ZF flag is unaffected

2011-12-14 Thread Daniil Troshkov
** Patch added: patch https://bugs.launchpad.net/bugs/904308/+attachment/2633025/+files/patch2 -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/904308 Title: x86: BT/BTS/BTR/BTC: ZF flag is

[Qemu-devel] [Bug 889053] Re: x86: FPU_MAX, FPU_MIN incorrect

2011-12-14 Thread Daniil Troshkov
May be commit you patch -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/889053 Title: x86: FPU_MAX, FPU_MIN incorrect Status in QEMU: New Bug description: Dear All, Bug was found in

[Qemu-devel] [PATCH 3/3] linux-user: Implement *listxattr syscalls

2011-12-14 Thread Peter Maydell
Implement listxattr, flistxattr and llistxattr syscalls. Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- linux-user/syscall.c | 36 +++- 1 files changed, 35 insertions(+), 1 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index

[Qemu-devel] [PATCH 2/3] linux-user/syscall.c: Implement f and l versions of set/get/removexattr

2011-12-14 Thread Peter Maydell
Implement the f and l versions (operate on fd, don't follow links) of the setxattr, getxattr and removexattr syscalls. Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- linux-user/syscall.c | 79 -- 1 files changed, 70 insertions(+), 9

[Qemu-devel] [PATCH 0/3] linux-user: Implement missing *xattr calls

2011-12-14 Thread Peter Maydell
These patches implement the missing *xattr syscalls: listxattr fsetattr, fgetattr, fremovexattr, flistxattr lsetattr, lgetattr, lremovexattr, llistxattr They also fix a bug in the existing code where we weren't allowing a NULL value pointer. Tested with the testcases in crackerjack. (There

Re: [Qemu-devel] [PATCH 1/3] linux-user:Support for MIPS64 user mode emulation in QEMU

2011-12-14 Thread Richard Henderson
On 12/08/2011 07:15 AM, Andreas Färber wrote: For linux-user IIUC the ABI is relevant, so shouldn't this be mipsn64-linux-user? We have a patch for mipsn32/mipsn32el. What about mipsn64el? The compiler flags are -mabi={32,n32,64,o64}, so no, not n64. But yes, we should have an el version.

[Qemu-devel] [Bug 904308] Re: x86: BT/BTS/BTR/BTC: ZF flag is unaffected

2011-12-14 Thread Peter Maydell
It would be helpful if you could submit patches in line with the guidance documented on the wiki: http://wiki.qemu.org/Contribute/SubmitAPatch In particular, patches should be sent to the mailing list in the right format, and we cannot apply any patch without a signed-off-by line. Thanks. --

[Qemu-devel] [Bug 889053] Re: x86: FPU_MAX, FPU_MIN incorrect

2011-12-14 Thread Daniil Troshkov
I say about #define FPU_MIN(size, a, b) float ## size ## _lt(a, b, env-sse_status) ? (a) : (b) #define FPU_MAX(size, a, b) float ## size ## _lt(b, a, env-sse_status) ? (b) : (a) -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU.

Re: [Qemu-devel] [Bug 904308] [NEW] x86: BT/BTS/BTR/BTC: ZF flag is unaffected

2011-12-14 Thread malc
On Wed, 14 Dec 2011, Daniil Troshkov wrote: Public bug reported: Hello! Bug was found in qemu.git. See target-i386/translate.c: [..snip..] Intel's documentation doesn't cover this, AMD's says that ZF is undefined, so, question is: why do you think QEMU is wrong here? --

Re: [Qemu-devel] [PATCH v3 02/14] ARM: exynos4210: CMU support

2011-12-14 Thread Maksim E. Kozlov
+ +/* + * There are five CMUs: + * + * CMU_LEFTBUS + * CMU_RIGHTBUS + * CMU_TOP + * CMU_DMC + * CMU_CPU + * + * each of them uses 16KB address space for SFRs + * + * + 0x4000 because SFR region for CMUs starts at 0x1003, + * but the first CMU (CMU_LEFTBUS) starts with this offset + *

Re: [Qemu-devel] [Bug 904308] [NEW] x86: BT/BTS/BTR/BTC: ZF flag is unaffected

2011-12-14 Thread Avi Kivity
On 12/14/2011 06:08 PM, malc wrote: On Wed, 14 Dec 2011, Daniil Troshkov wrote: Public bug reported: Hello! Bug was found in qemu.git. See target-i386/translate.c: [..snip..] Intel's documentation doesn't cover this, AMD's says that ZF is undefined, so, question is: why do

Re: [Qemu-devel] [PATCH 3/3] linux-user:Signal handling for MIPS64

2011-12-14 Thread Richard Henderson
On 12/07/2011 09:25 PM, kha...@kics.edu.pk wrote: +#if defined(TARGET_MIPS64) +/* tswapal() do 64 bit swap in case of MIPS64 but + we need 32 bit swap as sa_flags is 32 bit */ +k-sa_flags = bswap32(act-sa_flags); +#else k-sa_flags = tswapal(act-sa_flags);

[Qemu-devel] [PATCH 0/4] GTK-DOC build integration

2011-12-14 Thread Anthony Liguori
This series integrates GTK-DOC into our build process via a gtkdoc build target. This is to provide internal API documentation in a more accessible format. Once this gets merged into the tree, I'll add a nightly cron job on qemu.org so that there is always a copy of the latest internal API

[Qemu-devel] [PATCH 1/4] memory: make memory API parsable by gtkdoc-scan

2011-12-14 Thread Anthony Liguori
GTK/glib uses a convenient of: typedef struct _CamelCase CamelCase; The reason that they use a separate struct name is that in C++, the struct namespace not a separate namespace from the type namespace. This is actually a reasonable policy for QEMU to adopt as we eventually start exporting

[Qemu-devel] [PATCH 4/4] memory: move header into include/ and add to QEMU docs

2011-12-14 Thread Anthony Liguori
Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- QEMU-docs.xml|1 + include/memory.h | 566 ++ memory.h | 566 -- 3 files changed, 567 insertions(+), 566 deletions(-)

Re: [Qemu-devel] [Bug 904308] [NEW] x86: BT/BTS/BTR/BTC: ZF flag is unaffected

2011-12-14 Thread malc
On Wed, 14 Dec 2011, Avi Kivity wrote: On 12/14/2011 06:08 PM, malc wrote: On Wed, 14 Dec 2011, Daniil Troshkov wrote: Public bug reported: Hello! Bug was found in qemu.git. See target-i386/translate.c: [..snip..] Intel's documentation doesn't cover this,

  1   2   >