Re: [Qemu-devel] [PATCH v4 1/3] coroutine: introduce coroutines

2011-05-21 Thread Blue Swirl
On Fri, May 20, 2011 at 1:59 PM, Stefan Hajnoczi stefa...@linux.vnet.ibm.com wrote: From: Kevin Wolf kw...@redhat.com Asynchronous code is becoming very complex.  At the same time synchronous code is growing because it is convenient to write. Sometimes duplicate code paths are even added, one

Re: [Qemu-devel] [PATCH] ppc: Fix compilation for ppc64-softmmu

2011-05-21 Thread Alexander Graf
On 20.05.2011, at 22:30, Stefan Weil wrote: When QEMU was configured with --enable-debug-tcg, compilation fails in spr_write_booke206_mmucsr0() and in spr_write_booke_pid(). Similar changes are also needed in conditional code which is normally unused. Stefan (Hajnoczi), can we add

Re: [Qemu-devel] AHCI problems.

2011-05-21 Thread Alexander Graf
On 20.05.2011, at 19:27, Alexey Zaytsev wrote: On Fri, May 20, 2011 at 00:29, Alexey Zaytsev alexey.zayt...@gmail.com wrote: On Tue, May 17, 2011 at 17:46, Alexander Graf ag...@suse.de wrote: On 15.05.2011, at 18:41, Alexey Zaytsev wrote: Hi again. After reverting 667bb59, ahci

Re: [Qemu-devel] [PATCH 06/11] target-i386: use floatx80 constants in helper_fld*_ST0()

2011-05-21 Thread Andreas Färber
Am 20.05.2011 um 12:32 schrieb Peter Maydell: On 15 May 2011 15:13, Aurelien Jarno aurel...@aurel32.net wrote: Instead of using a table which doesn't correspond to anything from physical in the CPU, use directly the constants in helper_fld*_ST0(). Actually I rather suspect there is

[Qemu-devel] [PATCH] multiboot: Support commas in module parameters

2011-05-21 Thread Adam Lackorzynski
Support commas in the parameter list of multiboot modules, by using double commas (via get_opt_value()). Signed-off-by: Adam Lackorzynski a...@os.inf.tu-dresden.de --- hw/multiboot.c | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/hw/multiboot.c

Re: [Qemu-devel] [PATCH 0/6] Implement constant folding and copy propagation in TCG

2011-05-21 Thread Laurent Desnogues
On Sat, May 21, 2011 at 1:31 AM, Andreas Färber andreas.faer...@web.de wrote: [...] Has anyone evaluated reusing LLVM optimization passes for TCG? Or maybe GIMPL if there's an equivalent? IMHO the qemu_ld/st semantics and the size of TB blocks will always limit the usefulness of more involved

Re: [Qemu-devel] [PATCH] Fix a bug in mtsr/mtsrin emulation on ppc64

2011-05-21 Thread Andreas Färber
Am 21.05.2011 um 03:58 schrieb Alexander Graf: Am 21.05.2011 um 00:37 schrieb Andreas Färber andreas.faer...@web.de: Am 20.05.2011 um 09:40 schrieb Alexander Graf: On 20.05.2011, at 05:34, David Gibson wrote: Early ppc64 CPUs include a hack to partially simulate the ppc32 segment

Re: [Qemu-devel] [PATCH] Fix a bug in mtsr/mtsrin emulation on ppc64

2011-05-21 Thread Alexander Graf
On 21.05.2011, at 03:58, Alexander Graf wrote: Am 21.05.2011 um 00:37 schrieb Andreas Färber andreas.faer...@web.de: Am 20.05.2011 um 09:40 schrieb Alexander Graf: On 20.05.2011, at 05:34, David Gibson wrote: Early ppc64 CPUs include a hack to partially simulate the ppc32 segment

Re: [Qemu-devel] [PATCH] Fix a bug in mtsr/mtsrin emulation on ppc64

2011-05-21 Thread Andreas Färber
Am 20.05.2011 um 09:40 schrieb Alexander Graf: On 20.05.2011, at 05:34, David Gibson wrote: Early ppc64 CPUs include a hack to partially simulate the ppc32 segment registers, by translating writes to them into writes to the SLB. This is not used by any current Linux kernel, but it is used

Re: [Qemu-devel] [PATCH] Fix a bug in mtsr/mtsrin emulation on ppc64

2011-05-21 Thread Alexander Graf
On 21.05.2011, at 11:39, Andreas Färber wrote: Am 21.05.2011 um 03:58 schrieb Alexander Graf: Am 21.05.2011 um 00:37 schrieb Andreas Färber andreas.faer...@web.de: Am 20.05.2011 um 09:40 schrieb Alexander Graf: On 20.05.2011, at 05:34, David Gibson wrote: Early ppc64 CPUs include a

Re: [Qemu-devel] [PATCH] Fix a bug in mtsr/mtsrin emulation on ppc64

2011-05-21 Thread Alexander Graf
On 21.05.2011, at 11:40, Andreas Färber wrote: Am 20.05.2011 um 09:40 schrieb Alexander Graf: On 20.05.2011, at 05:34, David Gibson wrote: Early ppc64 CPUs include a hack to partially simulate the ppc32 segment registers, by translating writes to them into writes to the SLB. This is

Re: [Qemu-devel] [PATCH] Fix a bug in mtsr/mtsrin emulation on ppc64

2011-05-21 Thread Andreas Färber
Am 20.05.2011 um 05:34 schrieb David Gibson: Early ppc64 CPUs include a hack to partially simulate the ppc32 segment registers, by translating writes to them into writes to the SLB. This is not used by any current Linux kernel, but it is used by the openbios used in the qemu mac99 model.

Re: [Qemu-devel] AHCI problems.

2011-05-21 Thread Alexey Zaytsev
Ok, so I just installed the current OpenIndiana development build (http://dlc.openindiana.org/isos/148/oi-dev-148-text-x86.iso) on AHCI and booted from it. It works just fine for me :). Confirmed, works after a clean install. I'll see if I can get it into non-working state.

Re: [Qemu-devel] [PATCH 18/18] usb: add ehci adapter

2011-05-21 Thread Andreas Färber
Am 17.05.2011 um 22:39 schrieb Blue Swirl: On Tue, May 17, 2011 at 5:47 AM, David Ahern daah...@cisco.com wrote: On 05/16/11 13:56, Gerd Hoffmann wrote: This patch finally merges the EHCI host adapter aka USB 2.0 support. Based on git://git.kiszka.org/qemu.git ehci Changes: - Adapt to

Re: [Qemu-devel] [PATCH 0/6] Implement constant folding and copy propagation in TCG

2011-05-21 Thread Aurelien Jarno
On Sat, May 21, 2011 at 11:37:49AM +0200, Laurent Desnogues wrote: On Sat, May 21, 2011 at 1:31 AM, Andreas Färber andreas.faer...@web.de wrote: [...] Has anyone evaluated reusing LLVM optimization passes for TCG? Or maybe GIMPL if there's an equivalent? IMHO the qemu_ld/st semantics

Re: [Qemu-devel] [PATCH] Fix a bug in mtsr/mtsrin emulation on ppc64

2011-05-21 Thread David Gibson
On Sat, May 21, 2011 at 11:46:12AM +0200, Alexander Graf wrote: On 21.05.2011, at 11:40, Andreas Färber wrote: Am 20.05.2011 um 09:40 schrieb Alexander Graf: On 20.05.2011, at 05:34, David Gibson wrote: Early ppc64 CPUs include a hack to partially simulate the ppc32 segment

Re: [Qemu-devel] [PATCH] Fix a bug in mtsr/mtsrin emulation on ppc64

2011-05-21 Thread Alexander Graf
On 21.05.2011, at 13:13, David Gibson wrote: On Sat, May 21, 2011 at 11:46:12AM +0200, Alexander Graf wrote: On 21.05.2011, at 11:40, Andreas Färber wrote: Am 20.05.2011 um 09:40 schrieb Alexander Graf: On 20.05.2011, at 05:34, David Gibson wrote: Early ppc64 CPUs include a hack to

Re: [Qemu-devel] mouse doesn't work on guest OS

2011-05-21 Thread Amirali Shambayati
Hi Brad, Qemu starts, kernel boots and ubuntu's GUI boots. I use dmesg in terminal to see printks which I have put in kernel code. My problem is that, mouse is hanged in the middle of the screen. I need mouse to connect to Internet!! if anyway exists to make Internet connection using terminal, I

Re: [Qemu-devel] AHCI problems.

2011-05-21 Thread Alexey Zaytsev
On Sat, May 21, 2011 at 14:26, Alexey Zaytsev alexey.zayt...@gmail.com wrote: Ok, so I just installed the current OpenIndiana development build (http://dlc.openindiana.org/isos/148/oi-dev-148-text-x86.iso) on AHCI and booted from it. It works just fine for me :). Confirmed, works after a

Re: [Qemu-devel] AHCI problems.

2011-05-21 Thread Alexander Graf
On 21.05.2011, at 13:46, Alexey Zaytsev wrote: On Sat, May 21, 2011 at 14:26, Alexey Zaytsev alexey.zayt...@gmail.com wrote: Ok, so I just installed the current OpenIndiana development build (http://dlc.openindiana.org/isos/148/oi-dev-148-text-x86.iso) on AHCI and booted from it. It

Re: [Qemu-devel] [PATCH] Fix a bug in mtsr/mtsrin emulation on ppc64

2011-05-21 Thread Alexander Graf
On 21.05.2011, at 11:39, Andreas Färber wrote: Am 21.05.2011 um 03:58 schrieb Alexander Graf: Am 21.05.2011 um 00:37 schrieb Andreas Färber andreas.faer...@web.de: Am 20.05.2011 um 09:40 schrieb Alexander Graf: On 20.05.2011, at 05:34, David Gibson wrote: Early ppc64 CPUs include a

[Qemu-devel] [PATCH] sheepdog: add data preallocation support

2011-05-21 Thread MORITA Kazutaka
This introduces a qemu-img create option for sheepdog which allows the data to be preallocated (note that sheepdog always preallocates metadata). This is necessary to use Sheepdog volumes as a backend storage for iSCSI target. More information is available at

Re: [Qemu-devel] [PATCH 0/6] Implement constant folding and copy propagation in TCG

2011-05-21 Thread Dmitry Zhurikhin
On 05/20/2011 11:35 PM, Aurelien Jarno wrote: On Fri, May 20, 2011 at 04:39:27PM +0400, Kirill Batuzov wrote: This series implements some basic machine-independent optimizations. They simplify code and allow liveness analysis do it's work better. Suppose we have following ARM code: movw

Re: [Qemu-devel] [PATCH 0/6] Implement constant folding and copy propagation in TCG

2011-05-21 Thread Aurelien Jarno
On Fri, May 20, 2011 at 09:35:08PM +0200, Aurelien Jarno wrote: On Fri, May 20, 2011 at 04:39:27PM +0400, Kirill Batuzov wrote: This series implements some basic machine-independent optimizations. They simplify code and allow liveness analysis do it's work better. Suppose we have

Re: [Qemu-devel] AHCI problems.

2011-05-21 Thread Alexey Zaytsev
On Sat, May 21, 2011 at 16:00, Alexander Graf ag...@suse.de wrote: On 21.05.2011, at 13:46, Alexey Zaytsev wrote: On Sat, May 21, 2011 at 14:26, Alexey Zaytsev alexey.zayt...@gmail.com wrote: Ok, so I just installed the current OpenIndiana development build

[Qemu-devel] [Bug 786208] [NEW] Missing checks for non-existent device in ide_exec_cmd

2011-05-21 Thread Nelson Elhage
Public bug reported: Several calls in the ide_exec_cmd handler are missing checks for (!s-bs) or similar, resulting in NULL pointer dereferences, divide-by- zero, or possibly other badness if the guest performs operations on a non-existent IDE master. For example, the WIN_READ_NATIVE_MAX command

[Qemu-devel] [Bug 786209] [NEW] Information leak in IDE core

2011-05-21 Thread Nelson Elhage
*** This bug is a security vulnerability *** Public security bug reported: When the DRQ_STAT bit is set, the IDE core permits both data reads and data writes, regardless of whether the current transfer was initiated as a read or write. Furthermore, the IO buffer is allocated via a qemu_memalign

[Qemu-devel] [Bug 786211] Re: Missing checks for valid, writable, firmware in fw_cfg_write

2011-05-21 Thread Nelson Elhage
** Patch added: 0001-fw_cfg-Disallow-writes-to-non-writable-firmware-entr.patch https://bugs.launchpad.net/bugs/786211/+attachment/2137594/+files/0001-fw_cfg-Disallow-writes-to-non-writable-firmware-entr.patch ** Visibility changed to: Public -- You received this bug notification because

[Qemu-devel] PCI hotplug disable

2011-05-21 Thread Nikolai Zhubr
Hello all, is there some simple way to disable pci hotplug support in qemu-kvm (via some command-line options or alike)? Problem is, my guest windows xp is thinking that it could attempt to remove Intel 82371SB, Cirrus Logic 5446, and other pci devices, and enumerates them all under Safe

Re: [Qemu-devel] [PATCH 0/6] Implement constant folding and copy propagation in TCG

2011-05-21 Thread Kirill Batuzov
On 21.05.2011 14:46, Aurelien Jarno wrote: We definitely need to rewrite/improve the register allocator to save a global back to memory when it is not used later in the TB. I am currently working on that, I hope to have something ready soon. I think I have this done already. The patches need

Re: [Qemu-devel] PCI hotplug disable

2011-05-21 Thread Nikolai Zhubr
Hello again, Ok, actually kvm-Build-an-additional-bios-without-hotplug-support.patch from redhat did the trick. (I just somehow screwed it initially) Still, some more user-friendly way would be nice... Regards, Nikolai 21.05.2011 20:11, I wrote: Hello all, is there some simple way to

Re: [Qemu-devel] mouse doesn't work on guest OS

2011-05-21 Thread Brad Hards
On Sat, 21 May 2011 09:43:57 pm Amirali Shambayati wrote: Hi Brad, Hi. Please don't top post (google for this if you don't understand it). Qemu starts, kernel boots and ubuntu's GUI boots. I use dmesg in terminal to see printks which I have put in kernel code. When I wrote Does it show up in

[Qemu-devel] RENTA DE TERRENOS EN MTY.

2011-05-21 Thread SE RENTAN TERRENOS
SE RENTAN TERRENOS CENTRICOS 1 SE RENTA TERRENO DE 6,801 METROS CUADRADOS (116.27 MTS POR 58.50 MTS) PAVIMENTADO Y CERCADO CON MALLA CICLONICA, LOCALIZADO ENTRE AVE. MANUEL L. BARRAGAN Y AVE. ALFONSO REYES (ANTES UNIVERSIDAD), CRUZ CON AVE. RUIZ CORTINES EN LA COLONIA REGINA. INFORMES

Re: [Qemu-devel] mouse doesn't work on guest OS

2011-05-21 Thread Natalia Portillo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Update to lastest Xorg and/or change mouse protocol in Xorg configuration. The default protocol is not emulated (at all, or well enough) by QEMU and while it detects a mouse it does not work, lastest Ubuntu version does not show this problem man