Re: [Qemu-devel] [PATCH v5 3/4] block: add block timer and block throttling algorithm

2011-08-09 Thread Zhi Yong Wu
On Tue, Aug 9, 2011 at 11:19 PM, Stefan Hajnoczi wrote: > On Tue, Aug 9, 2011 at 5:17 AM, Zhi Yong Wu wrote: >> Note: >>      1.) When bps/iops limits are specified to a small value such as 511 >> bytes/s, this VM will hang up. We are considering how to handle this senario. > > If an I/O request

Re: [Qemu-devel] [PATCH 2/2] ui/spice-core: report version in 'info spice'

2011-08-09 Thread Gerd Hoffmann
On 08/09/11 22:53, Alon Levy wrote: Signed-off-by: Alon Levy --- ui/spice-core.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/ui/spice-core.c b/ui/spice-core.c index 3d77c01..342ed6c 100644 --- a/ui/spice-core.c +++ b/ui/spice-core.c @@ -372,6 +372,10 @@ void do_

Re: [Qemu-devel] [PATCH v5 2/4] block: add the block queue support

2011-08-09 Thread Zhi Yong Wu
On Tue, Aug 9, 2011 at 8:49 PM, Stefan Hajnoczi wrote: > On Tue, Aug 9, 2011 at 5:17 AM, Zhi Yong Wu wrote: >> +/* The APIs for block request queue on qemu block layer. >> + */ >> + >> +static void qemu_block_queue_cancel(BlockDriverAIOCB *acb) >> +{ >> +    qemu_aio_release(acb); >> +} >> + >> +

[Qemu-devel] [PATCH v2 2/2] i_generation / st_gen support for handle based fs driver

2011-08-09 Thread Harsh Prateek Bora
v2: - close fd after use in handle_ioc_getversion Signed-off-by: Harsh Prateek Bora --- hw/9pfs/virtio-9p-handle.c | 31 +++ 1 files changed, 31 insertions(+), 0 deletions(-) diff --git a/hw/9pfs/virtio-9p-handle.c b/hw/9pfs/virtio-9p-handle.c index 548a841..98178e

[Qemu-devel] [Bug 823733] [NEW] Soloaris can't be poweroff

2011-08-09 Thread showrun
Public bug reported: Thank you forgive my poor English. It seems KVM can’t poweroff solairs 10 or sloalrs 11 VM. I have created solaris 10 and 11 as usual. Everything in VM is running OK, but finally I use shell command ‘poweroff’ or ‘init 5’, the solaris VM (both 10 & 11) system could’t be pow

[Qemu-devel] [PATCH v2 0/2] Support for i_generation / st_gen in 9p server

2011-08-09 Thread Harsh Prateek Bora
This patch series provide support for i_generation / st_gen in 9p server. First patch provide support for local fs type, second patch adds support for handle based fs driver. Harsh Prateek Bora (2): i_generation / st_gen support for local fs type i_generation / st_gen support for handle based

[Qemu-devel] [PATCH v2 1/2] i_generation / st_gen support for local fs type

2011-08-09 Thread Harsh Prateek Bora
v2: - close fd after use in local_ioc_getversion Signed-off-by: Harsh Prateek Bora --- fsdev/file-op-9p.h |7 +++ hw/9pfs/cofile.c | 22 ++ hw/9pfs/virtio-9p-coth.h |2 ++ hw/9pfs/virtio-9p-device.c |1 + hw/9pfs/virtio-9p-local.c | 33

[Qemu-devel] Bug in recent CFAR patch

2011-08-09 Thread David Gibson
Hi Alex, I realised there was a bug in the CFAR patch in my recent qemu patch series which breaks the build for ppc32 targets. There is a patch to fix it below, but I'm not sure if you want this standalone, or if you'd prefer I fold it into the CFAR patch replacing the one you have now. Please a

Re: [Qemu-devel] [PATCH v5 1/4] block: add the command line support

2011-08-09 Thread Zhi Yong Wu
On Tue, Aug 9, 2011 at 8:25 PM, Stefan Hajnoczi wrote: > On Tue, Aug 9, 2011 at 5:17 AM, Zhi Yong Wu wrote: >> Signed-off-by: Zhi Yong Wu >> --- >>  Makefile.objs   |    2 +- >>  blockdev.c      |   39 +++ >>  qemu-config.c   |   24 >>

Re: [Qemu-devel] [PATCH] Permit -mem-path without sync mmu

2011-08-09 Thread David Gibson
On Mon, Aug 08, 2011 at 11:24:09AM +0300, Avi Kivity wrote: > On 08/08/2011 09:03 AM, David Gibson wrote: > >Second, if userspace qemu passing hugepages to kvm can cause (host) > >kernel memory corruption, that is clearly a host kernel bug. So am I > >correct in thinking this is basically just a s

Re: [Qemu-devel] [PATCH v5 0/4] The intro of QEMU block I/O throttling

2011-08-09 Thread Zhi Yong Wu
On Tue, Aug 9, 2011 at 8:08 PM, Stefan Hajnoczi wrote: > On Tue, Aug 9, 2011 at 5:17 AM, Zhi Yong Wu wrote: >>  Makefile.objs     |    2 +- >>  block.c           |  347 >> +++-- >>  block.h           |    6 +- >>  block/blk-queue.c |  141 +

[Qemu-devel] Question about adding IBTC (Indirect Branch Translation Cache) into QEMU

2011-08-09 Thread 陳韋任
Hi, all I want to add a binary tranlation optimization, called IBTC (Indirect Branch Translation Cache) to QEMU. IBTC is a data structure used to cache the mapping between guest IB (indirect branch) and its corresponding translated code cache address. If IBTC get a hit, then there is no need to

Re: [Qemu-devel] [PATCH 2/3] PPC: Enable to use PAPR with PR style KVM

2011-08-09 Thread David Gibson
On Tue, Aug 09, 2011 at 06:39:29PM +0200, Alexander Graf wrote: > When running PR style KVM, we need to tell the kernel that we want > to run in PAPR mode now. This means that we need to pass some more > register information down and enable papr mode. We also need to align > the HTAB to htab_size b

Re: [Qemu-devel] [PATCH 3/3] PPC: SPAPR: Use KVM function for time info

2011-08-09 Thread David Gibson
On Tue, Aug 09, 2011 at 06:39:30PM +0200, Alexander Graf wrote: > One of the things we can't fake on PPC is the timer speed. So > we need to extract the frequency information from the host and > put it back into the guest device tree. > > Luckily, we already have functions for that from the non-ps

Re: [Qemu-devel] [PATCH] Correctly assign PCI domain numbers

2011-08-09 Thread David Gibson
On Mon, Aug 01, 2011 at 01:10:38PM +0300, Michael S. Tsirkin wrote: > On Mon, Aug 01, 2011 at 04:51:02PM +1000, David Gibson wrote: > > qemu already almost supports PCI domains; that is, several entirely > > independent PCI host bridges on the same machine. However, a bug in > > pci_bus_new_inplac

Re: [Qemu-devel] kvm PCI assignment & VFIO ramblings

2011-08-09 Thread Benjamin Herrenschmidt
> Mostly correct, yes. x86 isn't immune to the group problem, it shows up > for us any time there's a PCIe-to-PCI bridge in the device hierarchy. > We lose resolution of devices behind the bridge. As you state though, I > think of this as only a constraint on what we're able to do with those > d

Re: [Qemu-devel] [ANNOUNCE] QEMU 0.15.0 Release

2011-08-09 Thread Natalia Portillo
Hi, El 08/08/2011, a las 20:16, Anthony Liguori escribió: > Hi, > > On behalf of the entire QEMU team, I'm please to announce the release of QEMU > 0.15.0. This is the first release of the 0.15 branch and is intended for > production usage. QEMU Official OS Support List on http://www.claunia

[Qemu-devel] [RFC] Incorrect CPU timebase-frequency and clock-frequency in OpenBIOS

2011-08-09 Thread William Hahne
Hello, I would like to apologize for not splitting up my last post. I am a Google Summer of Code student working on getting Mac OS X to work in Qemu. Currently the cpu device in OpenBIOS has incorrect timebase-frequency and clock-frequency properties. The Mac OS X scheduler relies on these values

Re: [Qemu-devel] kvm PCI assignment & VFIO ramblings

2011-08-09 Thread Alex Williamson
On Mon, 2011-08-08 at 11:28 +0300, Avi Kivity wrote: > On 08/03/2011 05:04 AM, David Gibson wrote: > > I still don't understand the distinction you're making. We're saying > > the group is "owned" by a given user or guest in the sense that no-one > > else may use anything in the group (including h

[Qemu-devel] [PATCH 4/4] milkymist-softusb: use hid code directly

2011-08-09 Thread Michael Walle
Remove the dummy USB device and use the HID code directly. Use the HID code for the mouse support, too. Signed-off-by: Michael Walle --- hw/milkymist-softusb.c | 122 +++- 1 files changed, 38 insertions(+), 84 deletions(-) diff --git a/hw/milkymist-s

Re: [Qemu-devel] [libvirt] [BUG] Re: [2/6] loadvm: improve tests before bdrv_snapshot_goto()

2011-08-09 Thread Eric Blake
On 04/14/2011 03:29 AM, Kevin Wolf wrote: Am 14.04.2011 11:10, schrieb Philipp Hahn: Reviving an old thread... Hello, Am Dienstag 03 August 2010 06:44:26 schrieb Kevin Wolf: From: Miguel Di Ciurcio Filho This patch improves the resilience of the load_vmstate() function, doing further and b

[Qemu-devel] [PATCH 2/4] hid: introduce hid vmstate macros

2011-08-09 Thread Michael Walle
Add VMSTATE macros to describe a HIDState. Based on usb-hid.c descriptions. Signed-off-by: Michael Walle --- hw/hid.c | 58 ++ hw/hw.h | 20 2 files changed, 78 insertions(+), 0 deletions(-) diff --git a/hw/hid.c

Re: [Qemu-devel] [PATCH 1/4] hid: register kbd hander in init()

2011-08-09 Thread Peter Maydell
On 9 August 2011 22:54, Michael Walle wrote: > Register the keyboard event handler in hid's init() instead of its reset() > function. > > Signed-off-by: Michael Walle Reviewed-by: Peter Maydell There's actually an equivalent patch to this lurking in the qemu-linaro patch stack (inherited from

[Qemu-devel] [PATCH] spice-qemu-char.c: Use correct printf format char for ssize_t

2011-08-09 Thread Peter Maydell
Use the correct printf format string character (%z) for ssize_t. This fixes a compile failure on 32 bit Linux with spice enabled. Signed-off-by: Peter Maydell --- I note that this seems to have been present since the file was introduced, so presumably nobody up til now has attempted to compile q

[Qemu-devel] [PATCH 1/4] hid: register kbd hander in init()

2011-08-09 Thread Michael Walle
Register the keyboard event handler in hid's init() instead of its reset() function. Signed-off-by: Michael Walle --- hw/hid.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/hw/hid.c b/hw/hid.c index 7b5ef5f..6934f05 100644 --- a/hw/hid.c +++ b/hw/hid.c @@ -359,7 +3

[Qemu-devel] [PATCH 3/4] usb-hid: use hid vmstate macro

2011-08-09 Thread Michael Walle
Use new hid vmstate macro. Version stays the same, because there is no reordering of the fields. Signed-off-by: Michael Walle --- hw/usb-hid.c | 41 ++--- 1 files changed, 2 insertions(+), 39 deletions(-) diff --git a/hw/usb-hid.c b/hw/usb-hid.c index e5d57

[Qemu-devel] [PATCH v2 0/4] usb/hid: bugfixes, more on usb and hid split

2011-08-09 Thread Michael Walle
This USB patchset moves the HID VM state stuff from usb-hid.c to hid.c, so it can be reused by other devices. changes v1->v2: - don't reorder vmstate field to be backward compatible Michael Walle (4): hid: register kbd hander in init() hid: introduce hid vmstate macros usb-hid: use hid vm

[Qemu-devel] [PATCH 2/2] ui/spice-core: report version in 'info spice'

2011-08-09 Thread Alon Levy
Signed-off-by: Alon Levy --- ui/spice-core.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/ui/spice-core.c b/ui/spice-core.c index 3d77c01..342ed6c 100644 --- a/ui/spice-core.c +++ b/ui/spice-core.c @@ -372,6 +372,10 @@ void do_info_spice_print(Monitor *mon, const QO

[Qemu-devel] [PATCH 1/2] qxl: unbreak after memory API conversion

2011-08-09 Thread Alon Levy
Break is only noticable with newer spice-server library (0.8.2 release or 0.9.0 and newer on master branch). ioport_write's val was changed from uint32_t to uint64_t, this broke two printfs. Use PRId64 instead of %d. Signed-off-by: Alon Levy --- hw/qxl.c |5 +++-- 1 files changed, 3 inserti

Re: [Qemu-devel] [PATCH 2/3] linux-user: Verify MIPS syscall arguments

2011-08-09 Thread Peter Maydell
On 9 August 2011 20:32, An-Cheng Huang wrote: > On MIPS, some syscall arguments are taken from the stack. This patch adds > verification such that do_syscall() is only invoked if all arguments > have been successfully taken from the stack. > > Signed-off-by: An-Cheng Huang Reviewed-by: Peter May

Re: [Qemu-devel] [PATCH 1/3] linux-user: Fix MIPS indirect syscall handling

2011-08-09 Thread Peter Maydell
On 9 August 2011 20:31, An-Cheng Huang wrote: > Change the number of argument for MIPS sys_syscall from 0 to 8. This > allows arguments for indirect syscalls to be processed correctly. > > Signed-off-by: An-Cheng Huang Reviewed-by: Peter Maydell -- PMM

Re: [Qemu-devel] [RFC] PowerPC Mac OS on Qemu

2011-08-09 Thread Natalia Portillo
Please, a) separate the patch in pieces, I suggest you checking how other patches are split, there have been a lot of patches today to get insight. b) use inline signed-by patch Regards, Natalia Portillo El 09/08/2011, a las 20:46, William Hahne escribió: > Hello, > > I am a Google Summer of

[Qemu-devel] [RFC] PowerPC Mac OS on Qemu

2011-08-09 Thread William Hahne
Hello, I am a Google Summer of Code student working on getting PowerPC Mac OS running on Qemu. While I am not finished I need to upstream what I currently have before the end of Summer of Code. My patch is for OpenBIOS but I am cross-posting to both Qemu and OpenBIOS mailing lists since it is usef

Re: [Qemu-devel] Safely reopening image files by stashing fds

2011-08-09 Thread Blue Swirl
On Tue, Aug 9, 2011 at 12:24 PM, Kevin Wolf wrote: > Am 09.08.2011 14:00, schrieb Stefan Hajnoczi: >> On Tue, Aug 09, 2011 at 01:39:13PM +0200, Kevin Wolf wrote: >>> Am 09.08.2011 12:56, schrieb Stefan Hajnoczi: On Tue, Aug 9, 2011 at 11:50 AM, Stefan Hajnoczi wrote: > On Tue, Aug

[Qemu-devel] [PATCH 3/3] linux-user: Implement setxattr/getxattr/removexattr syscalls

2011-08-09 Thread An-Cheng Huang
This patch implements the setxattr, getxattr, and removexattr syscalls if CONFIG_ATTR is enabled. Note that since libattr uses indirect syscalls for these, this change depends on the fix for indirect syscall handling on MIPS. Signed-off-by: An-Cheng Huang --- linux-user/syscall.c | 54 +++

[Qemu-devel] [PATCH 2/3] linux-user: Verify MIPS syscall arguments

2011-08-09 Thread An-Cheng Huang
On MIPS, some syscall arguments are taken from the stack. This patch adds verification such that do_syscall() is only invoked if all arguments have been successfully taken from the stack. Signed-off-by: An-Cheng Huang --- linux-user/main.c | 22 +- 1 files changed, 17 inser

[Qemu-devel] [PATCH 1/3] linux-user: Fix MIPS indirect syscall handling

2011-08-09 Thread An-Cheng Huang
Change the number of argument for MIPS sys_syscall from 0 to 8. This allows arguments for indirect syscalls to be processed correctly. Signed-off-by: An-Cheng Huang --- linux-user/main.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/linux-user/main.c b/linux-user/main

[Qemu-devel] [PATCH 0/3] linux-user: Implement setxattr/getxattr/removexattr syscalls

2011-08-09 Thread An-Cheng Huang
These patches implement the setxattr, getxattr, and removexattr syscalls. Since libattr uses indirect syscalls for these, the fix for the indirect syscall handling on MIPS is needed for these to work. An-Cheng Huang (3): linux-user: Fix MIPS indirect syscall handling linux-user: Verify MIPS sy

Re: [Qemu-devel] build failure with coroutine-gthread

2011-08-09 Thread Aneesh Kumar K.V
On Tue, 9 Aug 2011 17:28:17 +, Blue Swirl wrote: > On Mon, Aug 8, 2011 at 9:29 AM, Stefan Hajnoczi wrote: > > On Mon, Aug 8, 2011 at 10:01 AM, Aneesh Kumar K.V > > wrote: > >> > >> > >>  LINK  qemu-ga > >> coroutine-gthread.o: In function `coroutine_init': > >> /home/opensource/sources/qemu/

Re: [Qemu-devel] [PULL 0/7] ARM patch queue (for master)

2011-08-09 Thread Edgar E. Iglesias
On Mon, Aug 08, 2011 at 10:54:47AM +0100, Peter Maydell wrote: > Ping? I've applied this, thanks. Cheers

Re: [Qemu-devel] build failure with coroutine-gthread

2011-08-09 Thread Blue Swirl
On Mon, Aug 8, 2011 at 9:29 AM, Stefan Hajnoczi wrote: > On Mon, Aug 8, 2011 at 10:01 AM, Aneesh Kumar K.V > wrote: >> >> >>  LINK  qemu-ga >> coroutine-gthread.o: In function `coroutine_init': >> /home/opensource/sources/qemu/qemu-upstream/coroutine-gthread.c:39: >> undefined reference to `g_th

Re: [Qemu-devel] [PATCH] e1000: Do reset when E1000_CTRL_RST bit is set.

2011-08-09 Thread Peter Maydell
On 9 August 2011 15:10, Anthony PERARD wrote: > On Fri, Aug 5, 2011 at 17:53, Anthony Liguori wrote: >> >> You'll break some GCCs with -Wall -Werror with this.  Please do: >> >> if ((val & E1000_CTRL_RST)) { > > :(, I never heard of this. But OK, I will do that. Please don't unless Anthony L can

[Qemu-devel] VNC server running on `127.0.0.1:5900'

2011-08-09 Thread Nithish R
Hi, I installed the latest version of Qemu 0.15.0 today. Until now I was using 0.14.1. Now after installing this new version, I am not able to boot into any guest OS that I had installed before. Also while trying to load any ISO file or img file, I get an output as: :~/Qemu$ qemu -m 512 -hda fedor

Re: [Qemu-devel] coroutine-win32.c:36: error: thread-local storage not supported for this target

2011-08-09 Thread Sebastian Herbszt
Paolo Bonzini wrote: On 08/09/2011 05:53 PM, Sebastian Herbszt wrote: CC coroutine-win32.o coroutine-win32.c:36: error: thread-local storage not supported for this target coroutine-win32.c:37: error: thread-local storage not supported for this target make: *** [coroutine-win32.o] Error 1 You n

[Qemu-devel] [PATCH 3/3] PPC: SPAPR: Use KVM function for time info

2011-08-09 Thread Alexander Graf
One of the things we can't fake on PPC is the timer speed. So we need to extract the frequency information from the host and put it back into the guest device tree. Luckily, we already have functions for that from the non-pseries targets, so all we need to do is to connect the dots and the guest s

[Qemu-devel] [PATCH 1/3] KVM: update kernel headers

2011-08-09 Thread Alexander Graf
This patch updates the kvm kernel headers to the latest version. Signed-off-by: Alexander Graf --- linux-headers/asm-powerpc/kvm.h | 23 +++ linux-headers/asm-x86/kvm_para.h | 14 ++ linux-headers/linux/kvm.h| 25 + linux-hea

[Qemu-devel] [PATCH 2/3] PPC: Enable to use PAPR with PR style KVM

2011-08-09 Thread Alexander Graf
When running PR style KVM, we need to tell the kernel that we want to run in PAPR mode now. This means that we need to pass some more register information down and enable papr mode. We also need to align the HTAB to htab_size boundary. Using this patch, -M pseries works with kvm even on non-hv kvm

[Qemu-devel] [PATCH 0/3] PPC: Support -M pseries for PR KVM

2011-08-09 Thread Alexander Graf
We have support for -M pseries with TCG for a while now, but are missing integration with KVM. While the KVM HV target which is predestined for -M pseries is slightly more tricky to integrate and needs to evolve a bit still, we can easily support it with PR KVM. So this patch set adds support for

Re: [Qemu-devel] [PATCH] hw/qxl: fir build break with newer spice

2011-08-09 Thread Alon Levy
On Tue, Aug 09, 2011 at 03:21:15PM +0300, Alon Levy wrote: > ioport_write's val was changed from uint32_t to uint64_t, this > broke two printfs. Use PRId64 instead of %d. Nack, missed a 'd' on the second fix. And the subject has a typo. > > Signed-off-by: Alon Levy > --- > hw/qxl.c |5 +++-

Re: [Qemu-devel] coroutine-win32.c:36: error: thread-local storage not supported for this target

2011-08-09 Thread Paolo Bonzini
On 08/09/2011 05:53 PM, Sebastian Herbszt wrote: CC coroutine-win32.o coroutine-win32.c:36: error: thread-local storage not supported for this target coroutine-win32.c:37: error: thread-local storage not supported for this target make: *** [coroutine-win32.o] Error 1 You need a newer GCC. Alte

[Qemu-devel] coroutine-win32.c:36: error: thread-local storage not supported for this target

2011-08-09 Thread Sebastian Herbszt
CCcoroutine-win32.o coroutine-win32.c:36: error: thread-local storage not supported for this target coroutine-win32.c:37: error: thread-local storage not supported for this target make: *** [coroutine-win32.o] Error 1 Sebastian

Re: [Qemu-devel] [Bug 816370] Re: compile error in QEMU 0.15.0-rc0 and 0.15.0-rc1

2011-08-09 Thread Stefan Hajnoczi
On Tue, Aug 9, 2011 at 4:01 PM, Michael Roth <816...@bugs.launchpad.net> wrote: > Take a look at Gerd Hoffmann's comment: it looks like Spice server 0.8.2 > pulls in some ALSA includes that contain a error.h which ends up > clobbering the error.h that that particular C file is trying to pull in. W

Re: [Qemu-devel] [PATCH v5 3/4] block: add block timer and block throttling algorithm

2011-08-09 Thread Stefan Hajnoczi
On Tue, Aug 9, 2011 at 5:17 AM, Zhi Yong Wu wrote: > Note: >      1.) When bps/iops limits are specified to a small value such as 511 > bytes/s, this VM will hang up. We are considering how to handle this senario. If an I/O request is larger than the limit itself then I think we should let it th

Re: [Qemu-devel] [Bug 816370] Re: compile error in QEMU 0.15.0-rc0 and 0.15.0-rc1

2011-08-09 Thread Michael Roth
On 08/08/2011 11:46 PM, rowa wrote: > This Bug is not fixed in QEMU 0.15.0 > :-( > Hi Rowa, Take a look at Gerd Hoffmann's comment: it looks like Spice server 0.8.2 pulls in some ALSA includes that contain a error.h which ends up clobbering the error.h that that particular C file is trying to p

Re: [Qemu-devel] [Bug 816370] Re: compile error in QEMU 0.15.0-rc0 and 0.15.0-rc1

2011-08-09 Thread Michael Roth
On 08/09/2011 07:02 AM, rowa wrote: Hi Stefan, here is the file qapi-visit-core.txt: http://pastebin.com/6sG5PdXQ Robert This seems to confirm ALSA's error.h is the culprit: # # 375 "./qemu-common.h" 2 # # 18 "./qapi/qapi-types-core.h" 2 # # 1 "/usr/include/alsa/error.h" 1 # # 45 "/usr/inc

[Qemu-devel] [Bug 816370] Re: compile error in QEMU 0.15.0-rc0 and 0.15.0-rc1

2011-08-09 Thread rowa
Hi Stefan, here is the file qapi-visit-core.txt: http://pastebin.com/6sG5PdXQ Robert -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/816370 Title: compile error in QEMU 0.15.0-rc0 and 0.15.0-rc1

[Qemu-devel] Ahmed

2011-08-09 Thread Ahmed
e suis le fils de l'ancien ministre de la Guinée (Mariame Sy Diallo) mais je vis actuellement en Angleterre, j'ai trouvé votre adresse à la chambre de commerce ici à Londres, j'ai besoin de votre aide pour investir au Maroc ou Algérie ou en Tunisie. Si vous êtes intéressé à ma demandes'il vous p

Re: [Qemu-devel] Safely reopening image files by stashing fds

2011-08-09 Thread Kevin Wolf
Am 09.08.2011 14:00, schrieb Stefan Hajnoczi: > On Tue, Aug 09, 2011 at 01:39:13PM +0200, Kevin Wolf wrote: >> Am 09.08.2011 12:56, schrieb Stefan Hajnoczi: >>> On Tue, Aug 9, 2011 at 11:50 AM, Stefan Hajnoczi wrote: On Tue, Aug 9, 2011 at 11:35 AM, Kevin Wolf wrote: > Am 09.08.2011 12:2

Re: [Qemu-devel] Safely reopening image files by stashing fds

2011-08-09 Thread Stefan Hajnoczi
On Mon, Aug 8, 2011 at 4:16 PM, Kevin Wolf wrote: > Am 08.08.2011 16:49, schrieb Stefan Hajnoczi: >> On Fri, Aug 5, 2011 at 10:48 AM, Kevin Wolf wrote: >>> Am 05.08.2011 11:29, schrieb Stefan Hajnoczi: On Fri, Aug 5, 2011 at 10:07 AM, Kevin Wolf wrote: > Am 05.08.2011 10:40, schrieb Ste

[Qemu-devel] Información importante

2011-08-09 Thread Frank Mill
- This mail is in HTML. Some elements may be ommited in plain text. - Leer archivo adjunto para más detalles de sus fondos muertos miembro de la familia. Saludos, Yo soy el Sr. Frank Miller, el gerente de créditos del Sistema Nacional de Salud Fiduciario en Holanda. Hay una cuenta que pertenece

Re: [Qemu-devel] KVM call agenda for August 8

2011-08-09 Thread Juan Quintela
Anthony Liguori wrote: > On 08/09/2011 04:21 AM, Juan Quintela wrote: >> >> Hi >> >> Please send in any agenda items you are interested in covering. > > I think we can skip since many people will be in Vancouver next week > and we'll have plenty to talk about then. > > Just a couple reminders, for

Re: [Qemu-devel] [PATCH 44/55] spitz tosa: Simplify "drive is suitable for microdrive" test

2011-08-09 Thread Kevin Wolf
Am 09.08.2011 13:56, schrieb Markus Armbruster: > bdrv_is_locked() is about the frontend's media lock. To make this more > obvious, my PATCH 29/55 replaces it by bdrv_dev_is_medium_locked(). It > does *not* query the backend's lock (which may not even exist!) set by > bdrv_set_locked(). This sou

Re: [Qemu-devel] Safely reopening image files by stashing fds

2011-08-09 Thread Kevin Wolf
Am 09.08.2011 12:25, schrieb Stefan Hajnoczi: > On Mon, Aug 8, 2011 at 4:16 PM, Kevin Wolf wrote: >> Am 08.08.2011 16:49, schrieb Stefan Hajnoczi: >>> On Fri, Aug 5, 2011 at 10:48 AM, Kevin Wolf wrote: Am 05.08.2011 11:29, schrieb Stefan Hajnoczi: > On Fri, Aug 5, 2011 at 10:07 AM, Kevin

Re: [Qemu-devel] [PATCH v4 26/39] pcnet: convert to memory API

2011-08-09 Thread Michael S. Tsirkin
On Tue, Aug 09, 2011 at 03:44:35PM +0300, Avi Kivity wrote: > On 08/09/2011 03:42 PM, Michael S. Tsirkin wrote: > >On Tue, Aug 09, 2011 at 09:52:17AM +0300, Avi Kivity wrote: > >> On 08/09/2011 09:55 AM, Bob Breuer wrote: > >> >>static void lance_cleanup(VLANClientState *nc) > >> >> @@ -11

Re: [Qemu-devel] [PATCH] e1000: Do reset when E1000_CTRL_RST bit is set.

2011-08-09 Thread Anthony PERARD
On Fri, Aug 5, 2011 at 17:53, Anthony Liguori wrote: > > You'll break some GCCs with -Wall -Werror with this.  Please do: > > if ((val & E1000_CTRL_RST)) { :(, I never heard of this. But OK, I will do that. -- Anthony PERARD

Re: [Qemu-devel] [PATCH v5 0/4] The intro of QEMU block I/O throttling

2011-08-09 Thread Stefan Hajnoczi
On Tue, Aug 9, 2011 at 5:17 AM, Zhi Yong Wu wrote: >  Makefile.objs     |    2 +- >  block.c           |  347 > +++-- >  block.h           |    6 +- >  block/blk-queue.c |  141 ++ >  block/blk-queue.h |   73 +++ >  block_

Re: [Qemu-devel] Safely reopening image files by stashing fds

2011-08-09 Thread Kevin Wolf
Am 09.08.2011 12:56, schrieb Stefan Hajnoczi: > On Tue, Aug 9, 2011 at 11:50 AM, Stefan Hajnoczi wrote: >> On Tue, Aug 9, 2011 at 11:35 AM, Kevin Wolf wrote: >>> Am 09.08.2011 12:25, schrieb Stefan Hajnoczi: On Mon, Aug 8, 2011 at 4:16 PM, Kevin Wolf wrote: > Am 08.08.2011 16:49, schrie

Re: [Qemu-devel] [PATCH 44/55] spitz tosa: Simplify "drive is suitable for microdrive" test

2011-08-09 Thread Markus Armbruster
Kevin Wolf writes: > Am 09.08.2011 06:32, schrieb andrzej zaborowski: >> On 4 August 2011 10:02, Kevin Wolf wrote: >>> Am 03.08.2011 22:20, schrieb andrzej zaborowski: On 3 August 2011 20:24, Markus Armbruster wrote: > andrzej zaborowski writes: >> On 3 August 2011 18:38, Markus A

Re: [Qemu-devel] [PATCH v4 26/39] pcnet: convert to memory API

2011-08-09 Thread Avi Kivity
On 08/09/2011 03:42 PM, Michael S. Tsirkin wrote: On Tue, Aug 09, 2011 at 09:52:17AM +0300, Avi Kivity wrote: > On 08/09/2011 09:55 AM, Bob Breuer wrote: > >>static void lance_cleanup(VLANClientState *nc) > >> @@ -117,13 +116,11 @@ static int lance_init(SysBusDevice *dev) > >>Sy

[Qemu-devel] [PATCH] hw/qxl: fir build break with newer spice

2011-08-09 Thread Alon Levy
ioport_write's val was changed from uint32_t to uint64_t, this broke two printfs. Use PRId64 instead of %d. Signed-off-by: Alon Levy --- hw/qxl.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/hw/qxl.c b/hw/qxl.c index db7ae7a..2335e4b 100644 --- a/hw/qxl.c +++ b/hw

Re: [Qemu-devel] [PATCH] PPC: Fix sync instructions problem in SMP

2011-08-09 Thread Alexander Graf
On 08/04/2011 12:34 PM, Elie Richa wrote: bump. Anybody have opinions on this? I can provide a more thorough explanation of the problem if needed. I wrote the test case in Ada for an MPC8641D processor (2 e600 cores) on a board that is not yet submitted to the list, therefore I cannot provide

[Qemu-devel] [PATCH] etrax: QDevify the Ethernet MAC.

2011-08-09 Thread Edgar E. Iglesias
Hi, This QDevifies the ETRAX Ethernet MAC. DMA Connections remain adhoc.. Cheers commit ad1a1afaa185de0ed668f9bc3fb4f3cb076b32a0 Author: Edgar E. Iglesias Date: Tue Aug 9 13:24:04 2011 +0200 etrax: QDevify the Ethernet MAC. Signed-off-by: Edgar E. Iglesias diff --git a/hw/cris

Re: [Qemu-devel] [PATCH v5 2/4] block: add the block queue support

2011-08-09 Thread Stefan Hajnoczi
On Tue, Aug 9, 2011 at 5:17 AM, Zhi Yong Wu wrote: > +/* The APIs for block request queue on qemu block layer. > + */ > + > +static void qemu_block_queue_cancel(BlockDriverAIOCB *acb) > +{ > +    qemu_aio_release(acb); > +} > + > +static AIOPool block_queue_pool = { > +    .aiocb_size         = si

Re: [Qemu-devel] Safely reopening image files by stashing fds

2011-08-09 Thread Stefan Hajnoczi
On Tue, Aug 09, 2011 at 01:39:13PM +0200, Kevin Wolf wrote: > Am 09.08.2011 12:56, schrieb Stefan Hajnoczi: > > On Tue, Aug 9, 2011 at 11:50 AM, Stefan Hajnoczi wrote: > >> On Tue, Aug 9, 2011 at 11:35 AM, Kevin Wolf wrote: > >>> Am 09.08.2011 12:25, schrieb Stefan Hajnoczi: > On Mon, Aug 8,

Re: [Qemu-devel] [PATCH 0/4] usb/hid: bugfixes, more on usb and hid split

2011-08-09 Thread Gerd Hoffmann
On 08/07/11 19:29, Michael Walle wrote: This USB patchset moves the VM state stuff from usb-hid.c to hid.c, so it can be reused by other devices. Nice. There is one major drawback: i need to increase the vmstate version_id of the usb-hid device. I don't know if you agree with this change. Alt

Re: [Qemu-devel] [PATCH v4 26/39] pcnet: convert to memory API

2011-08-09 Thread Michael S. Tsirkin
On Tue, Aug 09, 2011 at 09:52:17AM +0300, Avi Kivity wrote: > On 08/09/2011 09:55 AM, Bob Breuer wrote: > >> static void lance_cleanup(VLANClientState *nc) > >> @@ -117,13 +116,11 @@ static int lance_init(SysBusDevice *dev) > >> SysBusPCNetState *d = FROM_SYSBUS(SysBusPCNetState, dev); > >

Re: [Qemu-devel] [PATCH] Introduce short names for fixed width integer types

2011-08-09 Thread Juan Quintela
Peter Maydell wrote: > On 8 August 2011 13:56, Avi Kivity wrote: >> QEMU deals with a lot of fixed width integer types; their names >> (uint64_t etc) are clumsy to use and take up a lot of space. >> >> Following Linux, introduce shorter names, for example U64 for >> uint64_t. > > Strongly disagre

Re: [Qemu-devel] [PATCH 44/55] spitz tosa: Simplify "drive is suitable for microdrive" test

2011-08-09 Thread Kevin Wolf
Am 09.08.2011 14:36, schrieb Markus Armbruster: > Kevin Wolf writes: > >> Am 09.08.2011 13:56, schrieb Markus Armbruster: >>> bdrv_is_locked() is about the frontend's media lock. To make this more >>> obvious, my PATCH 29/55 replaces it by bdrv_dev_is_medium_locked(). It >>> does *not* query th

Re: [Qemu-devel] [PATCH v4 26/39] pcnet: convert to memory API

2011-08-09 Thread Avi Kivity
On 08/09/2011 03:48 PM, Michael S. Tsirkin wrote: > > But in some cases, we can't, and the it's a pain having to wrap > MemoryRegion in another structure containing an opaque. I guess, even though that wrapping structure would use a proper type, not an opaque. Yes, of course - that's what th

Re: [Qemu-devel] [Bug 816370] Re: compile error in QEMU 0.15.0-rc0 and 0.15.0-rc1

2011-08-09 Thread Stefan Hajnoczi
On Thu, Aug 4, 2011 at 4:52 PM, rowa <816...@bugs.launchpad.net> wrote: > Now it is possible to build qemu 0.15.0-rc1 with --disable-spice option > on Ubuntu 10.10 „Maverick Meerkat“ . > > -- > You received this bug notification because you are a member of qemu- > devel-ml, which is subscribed to Q

Re: [Qemu-devel] Safely reopening image files by stashing fds

2011-08-09 Thread Stefan Hajnoczi
On Tue, Aug 9, 2011 at 11:50 AM, Stefan Hajnoczi wrote: > On Tue, Aug 9, 2011 at 11:35 AM, Kevin Wolf wrote: >> Am 09.08.2011 12:25, schrieb Stefan Hajnoczi: >>> On Mon, Aug 8, 2011 at 4:16 PM, Kevin Wolf wrote: Am 08.08.2011 16:49, schrieb Stefan Hajnoczi: > On Fri, Aug 5, 2011 at 10:4

Re: [Qemu-devel] [PATCH v1.1 09/24] omap_gpmc/nseries/tusb6010: convert to memory API

2011-08-09 Thread Avi Kivity
On 08/09/2011 12:41 PM, Peter Maydell wrote: On 9 August 2011 10:26, Avi Kivity wrote: > On 08/09/2011 12:23 PM, Peter Maydell wrote: >> >> On 9 August 2011 10:02, Avi Kivitywrote: >> >+static const MemoryRegionOps omap_gpmc_ops = { >> >+.read = omap_gpmc_read, >> >+

Re: [Qemu-devel] [PATCH 44/55] spitz tosa: Simplify "drive is suitable for microdrive" test

2011-08-09 Thread Markus Armbruster
Kevin Wolf writes: > Am 09.08.2011 13:56, schrieb Markus Armbruster: >> bdrv_is_locked() is about the frontend's media lock. To make this more >> obvious, my PATCH 29/55 replaces it by bdrv_dev_is_medium_locked(). It >> does *not* query the backend's lock (which may not even exist!) set by >> b

[Qemu-devel] [PATCH v1.2 09/24] omap_gpmc/nseries/tusb6010: convert to memory API

2011-08-09 Thread Avi Kivity
Somewhat clumsy since it needs a variable sized region. Signed-off-by: Avi Kivity --- v1.2: drop v1.1 changes, instead forward invalid size accesses to original omap_badwidth_*() functions v1.1: set access size validity for omap gpmc region to allow only 32-bit accesses hw/omap.h

Re: [Qemu-devel] [Spice-devel] [PATCH] qxl: allowing the command rings to be not empty when spice worker is stopped RHBZ #728984

2011-08-09 Thread Arnon Gilboa
Acked-by: Arnon Gilboa Yonit Halperin wrote: same as 8927cfbba232e28304734f7afd463c1b84134031, but for qxl_check_state, that was triggered by qxl_pre_load (which calls qxl_hard_reset, which calls qxl_soft_reset), and caused the migration target to crash. --- hw/qxl.c |8 +++- 1 files

Re: [Qemu-devel] KVM call agenda for August 8

2011-08-09 Thread Anthony Liguori
On 08/09/2011 04:21 AM, Juan Quintela wrote: Hi Please send in any agenda items you are interested in covering. I think we can skip since many people will be in Vancouver next week and we'll have plenty to talk about then. Just a couple reminders, for KVM Forum speakers, please post your s

[Qemu-devel] Regarding guest physical addresses for multithreaded program

2011-08-09 Thread Amit Roy
Hi, I have recently started using Qemu. I have a very specific requirement which has been discussed previously at length. I want to capture the guest physical address trace of multithreaded programs (x86_64 arch). After going through the archives, I have been able to record the guest virtual

Re: [Qemu-devel] Safely reopening image files by stashing fds

2011-08-09 Thread Stefan Hajnoczi
On Tue, Aug 9, 2011 at 11:35 AM, Kevin Wolf wrote: > Am 09.08.2011 12:25, schrieb Stefan Hajnoczi: >> On Mon, Aug 8, 2011 at 4:16 PM, Kevin Wolf wrote: >>> Am 08.08.2011 16:49, schrieb Stefan Hajnoczi: On Fri, Aug 5, 2011 at 10:48 AM, Kevin Wolf wrote: > Am 05.08.2011 11:29, schrieb Ste

Re: [Qemu-devel] [ANNOUNCE] QEMU 0.15.0 Release

2011-08-09 Thread Anthony Liguori
On 08/09/2011 04:11 AM, Avi Kivity wrote: On 08/08/2011 10:16 PM, Anthony Liguori wrote: Hi, On behalf of the entire QEMU team, I'm please to announce the release of QEMU 0.15.0. This is the first release of the 0.15 branch and is intended for production usage. The 0.15.0 release is the produc

Re: [Qemu-devel] [PATCH v5 1/4] block: add the command line support

2011-08-09 Thread Stefan Hajnoczi
On Tue, Aug 9, 2011 at 5:17 AM, Zhi Yong Wu wrote: > Signed-off-by: Zhi Yong Wu > --- >  Makefile.objs   |    2 +- >  blockdev.c      |   39 +++ >  qemu-config.c   |   24 >  qemu-option.c   |   17 + >  qemu-option.h   |

[Qemu-devel] [PATCH] qxl: allowing the command rings to be not empty when spice worker is stopped RHBZ #728984

2011-08-09 Thread Yonit Halperin
same as 8927cfbba232e28304734f7afd463c1b84134031, but for qxl_check_state, that was triggered by qxl_pre_load (which calls qxl_hard_reset, which calls qxl_soft_reset), and caused the migration target to crash. --- hw/qxl.c |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) diff -

Re: [Qemu-devel] [PATCH v4 17/39] es1370: convert to memory API

2011-08-09 Thread malc
On Mon, 8 Aug 2011, Avi Kivity wrote: Fine with this too, thanks. [..snip..] -- mailto:av1...@comtv.ru

Re: [Qemu-devel] [PATCH] Introduce short names for fixed width integer types

2011-08-09 Thread malc
On Mon, 8 Aug 2011, Peter Maydell wrote: > On 8 August 2011 13:56, Avi Kivity wrote: > > QEMU deals with a lot of fixed width integer types; their names > > (uint64_t etc) are clumsy to use and take up a lot of space. > > > > Following Linux, introduce shorter names, for example U64 for > > uint6

Re: [Qemu-devel] [PATCH v4 14/39] ac97: convert to memory API

2011-08-09 Thread malc
On Mon, 8 Aug 2011, Avi Kivity wrote: > fixes BAR sizing as well. I'm fine with this version, thanks. [..snip..] -- mailto:av1...@comtv.ru

Re: [Qemu-devel] Safely reopening image files by stashing fds

2011-08-09 Thread supriya kannery
Kevin Wolf wrote: Am 09.08.2011 11:22, schrieb supriya kannery: Kevin Wolf wrote: Am 08.08.2011 09:02, schrieb Supriya Kannery: On 08/05/2011 09:19 PM, Anthony Liguori wrote: On 08/05/2011 10:43 AM, Kevin Wolf wrote: Am 05.08.2011 17:24, schr

Re: [Qemu-devel] Safely reopening image files by stashing fds

2011-08-09 Thread Kevin Wolf
Am 09.08.2011 11:22, schrieb supriya kannery: > Kevin Wolf wrote: >> Am 08.08.2011 09:02, schrieb Supriya Kannery: >> >>> On 08/05/2011 09:19 PM, Anthony Liguori wrote: >>> On 08/05/2011 10:43 AM, Kevin Wolf wrote: > Am 05.08.2011 17:24, schrieb Stefan Hajnoczi: >

Re: [Qemu-devel] Safely reopening image files by stashing fds

2011-08-09 Thread supriya kannery
Kevin Wolf wrote: Am 08.08.2011 09:02, schrieb Supriya Kannery: On 08/05/2011 09:19 PM, Anthony Liguori wrote: On 08/05/2011 10:43 AM, Kevin Wolf wrote: Am 05.08.2011 17:24, schrieb Stefan Hajnoczi: On Fri, Aug 5, 2011 at 3:28 PM, Christoph Hellwig wrote: O

Re: [Qemu-devel] [PATCH v1.1 09/24] omap_gpmc/nseries/tusb6010: convert to memory API

2011-08-09 Thread Peter Maydell
On 9 August 2011 10:26, Avi Kivity wrote: > On 08/09/2011 12:23 PM, Peter Maydell wrote: >> >> On 9 August 2011 10:02, Avi Kivity  wrote: >> >  +static const MemoryRegionOps omap_gpmc_ops = { >> >  +    .read = omap_gpmc_read, >> >  +    .write = omap_gpmc_write, >> >  +    .endianness = DEVICE_NA

Re: [Qemu-devel] [PATCH v1.1 09/24] omap_gpmc/nseries/tusb6010: convert to memory API

2011-08-09 Thread Avi Kivity
On 08/09/2011 12:23 PM, Peter Maydell wrote: On 9 August 2011 10:02, Avi Kivity wrote: > +static const MemoryRegionOps omap_gpmc_ops = { > +.read = omap_gpmc_read, > +.write = omap_gpmc_write, > +.endianness = DEVICE_NATIVE_ENDIAN, > +.valid = { > +.min_access_size

Re: [Qemu-devel] [PATCH v1.1 09/24] omap_gpmc/nseries/tusb6010: convert to memory API

2011-08-09 Thread Peter Maydell
On 9 August 2011 10:02, Avi Kivity wrote: > +static const MemoryRegionOps omap_gpmc_ops = { > +    .read = omap_gpmc_read, > +    .write = omap_gpmc_write, > +    .endianness = DEVICE_NATIVE_ENDIAN, > +    .valid = { > +        .min_access_size = 4, > +        .max_access_size = 4, > +    }, >  };

  1   2   >