[Qemu-devel] Re: [PATCH 1/2] pci: Automatically patch PCI vendor id and device id in PCI ROM

2010-10-20 Thread Gerd Hoffmann
Hi, The i825xx ethernet controller family is a typical example which is implemented in hw/eepro100.c. It uses at least 3 different device ids, so normally 3 boot roms would be needed. Does this actually work now with the etherboot roms? cheers, Gerd

[Qemu-devel] [Bug 663713] [NEW] Mouse frozen under an emulated ubuntu

2010-10-20 Thread FredBezies
Public bug reported: Qemu 0.13.0 Command line used : qemu-system-x86_64 --enable-kvm -localtime -soundhw all -k fr -m 1500 -net user -net nic,model=rtl8139 -hda disk.img -cdrom ubuntu-10.10 -desktop-amd64.iso -boot d When I try to move mouse cursor in qemu, pointer is frozen. Nothing is

Re: [Qemu-devel] [PATCH 1/3] Introduce threadlets

2010-10-20 Thread Stefan Hajnoczi
On Tue, Oct 19, 2010 at 6:42 PM, Arun R Bharadwaj a...@linux.vnet.ibm.com wrote: +/** + * cancel_threadletwork_on_queue: Cancel a task queued on a Queue. + * @queue: The queue containing the task to be cancelled. + * @work: Contains the information of the task that needs to be cancelled. + *

[Qemu-devel] [PATCH v6 06/12] x3130: pcie downstream port

2010-10-20 Thread Isaku Yamahata
Implement TI x3130 pcie downstream port switch. Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp --- Changes v5 - v6: - compilation adjustment. - eliminate aer bits. Changes v4 - v5: - use pci_xxx_test_and_xxx_mask(). - removed flr related stuff. Changes v3 - v4: - rename: pcie_downstream -

[Qemu-devel] [PATCH v6 07/12] pcie/hotplug: introduce pushing attention button command

2010-10-20 Thread Isaku Yamahata
glue pcie_push_attention_button command. Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp --- hw/pcie_port.c | 82 +++ qemu-monitor.hx | 14 + sysemu.h|4 +++ 3 files changed, 100 insertions(+), 0 deletions(-) diff

[Qemu-devel] [PATCH v6 00/12] pcie port switch emulators

2010-10-20 Thread Isaku Yamahata
This patch series is v6 of the pcie switch emulators. Now the aer dependency has removed, so the patch 1-7 can be merged. And I cleaned up pcie_aer_write_config() in the aer patch. new patches: 1 essentially updated patches: 2, 8 changes v5 - v6: - dropped already merged patches. - add comment

[Qemu-devel] [PATCH v6 03/12] pcie port: define struct PCIEPort/PCIESlot and helper functions

2010-10-20 Thread Isaku Yamahata
define struct PCIEPort which represents common part of pci express port.(root, upstream and downstream.) add a helper function for pcie port which can be used commonly by root/upstream/downstream port. define struct PCIESlot which represents common part of pcie slot.(root and downstream.) and

[Qemu-devel] [PATCH v6 04/12] ioh3420: pcie root port in X58 ioh

2010-10-20 Thread Isaku Yamahata
Implements pcie root port switch in intel X58 ioh whose device id is 0x3420. Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp --- Changes v5 - v6: - compilation adjustment. - eliminated aer bits. Changes v4 - v5: - use pci_xxx_test_and_xxx_mask() Changes v3 - v4: - rename pcie_root -

Re: [Qemu-devel] KVM call minutes for Oct 19

2010-10-20 Thread Alexander Graf
On 20.10.2010, at 10:25, Paolo Bonzini wrote: On 10/20/2010 10:21 AM, Alexander Graf wrote: Would it be realistic to declare deprecating the qemu-kvm fork for 0.14 as goal? I recall some performance problems with the qemu.git iothread, I'm not sure all of those have been fixed. Yes,

Re: [Qemu-devel] KVM call minutes for Oct 19

2010-10-20 Thread Alexander Graf
On 19.10.2010, at 17:14, Chris Wright wrote: 0.13.X -stable - Anthony will send note to qemu-devel on this - move 0.13.X -stable to a separate tree - driven independently of main qemu tree - challenge is always in the porting and testing of backported fixes - looking for volunteers 0.14

[Qemu-devel] [PATCH v6 08/12] pcie/aer: helper functions for pcie aer capability

2010-10-20 Thread Isaku Yamahata
This patch implements helper functions for pcie aer capability which will be used later. Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp --- Chnages v5 - v6: - cleaned up pcie_aer_write_config(). - enum definition. Changes v4 - v5: - use pci_xxx_test_and_xxx_mask() - rewrote

[Qemu-devel] [PATCH v6 05/12] x3130: pcie upstream port

2010-10-20 Thread Isaku Yamahata
Implement TI x3130 pcie upstream port switch. Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp --- Changes v5 - v6: - compilation adjustment. - delete aer bits. Changes v4 - v5: - remove flr related stuff. This will be addressed at the next phase. - use pci_xxx_test_and_xxx_mask().

[Qemu-devel] [PATCH v6 09/12] pcie/aer: glue aer error injection into qemu monitor

2010-10-20 Thread Isaku Yamahata
introduce pcie_aer_inject_error command. Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp --- Changes v3 - v4: - s/PCIE_AER/PCIEAER/g for structure names. - compilation adjustment. Changes v2 - v3: - compilation adjustment. --- hw/pcie_aer.c | 84

[Qemu-devel] [PATCH v6 02/12] pci/bridge: fix pci_bridge_reset()

2010-10-20 Thread Isaku Yamahata
The default value of base/limit registers aren't specified in the spec. So pci_bridge_reset() shouldn't touch them. Instead, introduced two functions to reset those registers in a way of typical implementation. zero base/limit registers or disable forwarding. They will be used later.

Re: [Qemu-devel] KVM call minutes for Oct 19

2010-10-20 Thread Paolo Bonzini
On 10/20/2010 10:21 AM, Alexander Graf wrote: Would it be realistic to declare deprecating the qemu-kvm fork for 0.14 as goal? I recall some performance problems with the qemu.git iothread, I'm not sure all of those have been fixed. Paolo

[Qemu-devel] [PATCH v6 10/12] ioh3420: support aer

2010-10-20 Thread Isaku Yamahata
Add aer support. Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp --- hw/ioh3420.c | 52 ++-- 1 files changed, 46 insertions(+), 6 deletions(-) diff --git a/hw/ioh3420.c b/hw/ioh3420.c index 1f340d3..09c94f9 100644 --- a/hw/ioh3420.c +++

[Qemu-devel] [PATCH v6 12/12] x3130/downstream: support aer.

2010-10-20 Thread Isaku Yamahata
add aer support. Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp --- hw/xio3130_downstream.c | 15 ++- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/hw/xio3130_downstream.c b/hw/xio3130_downstream.c index a44e188..9087c0b 100644 --- a/hw/xio3130_downstream.c

[Qemu-devel] Re: [PATCH v6 02/12] pci/bridge: fix pci_bridge_reset()

2010-10-20 Thread Michael S. Tsirkin
On Wed, Oct 20, 2010 at 05:18:51PM +0900, Isaku Yamahata wrote: The default value of base/limit registers aren't specified in the spec. So pci_bridge_reset() shouldn't touch them. Instead, introduced two functions to reset those registers in a way of typical implementation. zero base/limit

[Qemu-devel] [PATCH v6 01/12] pcie: comment on hpev_intx

2010-10-20 Thread Isaku Yamahata
document hpev_intx. Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp --- hw/pcie.h | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/hw/pcie.h b/hw/pcie.h index 68327d8..2871e27 100644 --- a/hw/pcie.h +++ b/hw/pcie.h @@ -65,7 +65,15 @@ struct PCIExpressDevice

[Qemu-devel] [PATCH v6 11/12] x3130/upstream: support aer

2010-10-20 Thread Isaku Yamahata
add aer support. Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp --- hw/xio3130_upstream.c | 15 ++- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/hw/xio3130_upstream.c b/hw/xio3130_upstream.c index d9d637f..36ed4b1 100644 --- a/hw/xio3130_upstream.c +++

[Qemu-devel] [Bug 663713] Re: Mouse frozen under an emulated ubuntu

2010-10-20 Thread Michael Tokarev
Works For Me (tm). Mouse behavour changed in 0.13 (compared with 0.12) a bit - now, without the usual in such cases -usbdevice tablet, guest mouse does not follow host mouse, because they don't match anyway. You have to switch to guest (Ctrl+Alt, or hit mouse in guest window) to activate guest

Re: [Qemu-devel] [PATCH 2/3] Make paio subsystem use threadlets

2010-10-20 Thread Kevin Wolf
Am 19.10.2010 19:43, schrieb Arun R Bharadwaj: From: Gautham R Shenoy e...@in.ibm.com This patch makes the paio subsystem use the threadlet framework thereby decoupling asynchronous threading framework portion out of posix-aio-compat.c The patch has been tested with fstress.

Re: [Qemu-devel] [Bug 663713] [NEW] Mouse frozen under an emulated ubuntu

2010-10-20 Thread Gleb Natapov
On Wed, Oct 20, 2010 at 07:24:23AM -, FredBezies wrote: Public bug reported: Qemu 0.13.0 Command line used : qemu-system-x86_64 --enable-kvm -localtime -soundhw all -k fr -m 1500 -net user -net nic,model=rtl8139 -hda disk.img -cdrom ubuntu-10.10 -desktop-amd64.iso -boot d When I

[Qemu-devel] [PATCH] monitor: Ignore . and .. when completing file name.

2010-10-20 Thread Kusanagi Kouichi
Signed-off-by: Kusanagi Kouichi sl...@ac.auone-net.jp --- monitor.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/monitor.c b/monitor.c index 260cc02..61607c5 100644 --- a/monitor.c +++ b/monitor.c @@ -3976,6 +3976,11 @@ static void file_completion(const char

[Qemu-devel] Re: [PATCH v6 02/12] pci/bridge: fix pci_bridge_reset()

2010-10-20 Thread Isaku Yamahata
On Wed, Oct 20, 2010 at 10:49:20AM +0200, Michael S. Tsirkin wrote: On Wed, Oct 20, 2010 at 05:18:51PM +0900, Isaku Yamahata wrote: The default value of base/limit registers aren't specified in the spec. So pci_bridge_reset() shouldn't touch them. Instead, introduced two functions to reset

Re: [Qemu-devel] Re: KVM call agenda for Oct 19

2010-10-20 Thread Kevin Wolf
Am 19.10.2010 19:09, schrieb Anthony Liguori: On 10/19/2010 11:54 AM, Ayal Baron wrote: - Anthony Liguorianth...@codemonkey.ws wrote: On 10/19/2010 07:48 AM, Dor Laor wrote: On 10/19/2010 04:11 AM, Chris Wright wrote: * Juan Quintela (quint...@redhat.com) wrote:

Re: [Qemu-devel] [PATCH 2/3] Make paio subsystem use threadlets

2010-10-20 Thread Stefan Hajnoczi
On Tue, Oct 19, 2010 at 6:43 PM, Arun R Bharadwaj a...@linux.vnet.ibm.com wrote: From: Gautham R Shenoy e...@in.ibm.com This patch makes the paio subsystem use the threadlet framework thereby decoupling asynchronous threading framework portion out of posix-aio-compat.c The patch has been

Re: [Qemu-devel] Re: KVM call agenda for Oct 19

2010-10-20 Thread Ayal Baron
- Kevin Wolf kw...@redhat.com wrote: Am 19.10.2010 19:09, schrieb Anthony Liguori: On 10/19/2010 11:54 AM, Ayal Baron wrote: - Anthony Liguorianth...@codemonkey.ws wrote: On 10/19/2010 07:48 AM, Dor Laor wrote: On 10/19/2010 04:11 AM, Chris Wright wrote:

[Qemu-devel] Re: [PATCH v6 09/12] pcie/aer: glue aer error injection into qemu monitor

2010-10-20 Thread Michael S. Tsirkin
On Wed, Oct 20, 2010 at 05:18:58PM +0900, Isaku Yamahata wrote: introduce pcie_aer_inject_error command. Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp --- Changes v3 - v4: - s/PCIE_AER/PCIEAER/g for structure names. - compilation adjustment. Changes v2 - v3: - compilation

[Qemu-devel] Using libqemu for static analysis?

2010-10-20 Thread Matt Lewis
Hello qemu-devel, I'm thinking of using libqemu to translate binaries into a nicer intermediate representation, in order to do various types of static analysis, such as data flow analysis constructing control flow graphs. Does this seem like a reasonable thing to do, or is there some reason why

[Qemu-devel] [Tracing][RFC] QMP interface to toggle state of a trace-event

2010-10-20 Thread Prerna Saxena
QMP command trace-event to toggle state of a trace-event. Illustration : - { execute: trace-event, arguments: { name: qemu_malloc, option: true} } - { return: {} } Posting this as an RFC for now. I'll post the final version as a part of the cumulative QMP patchset for tracing ( including

Re: [Qemu-devel] qemu-0.13.0 compiling error on ppc64

2010-10-20 Thread acrux
On Wed, 20 Oct 2010 03:54:04 +0400 (MSD) malc av1...@comtv.ru wrote: On Wed, 20 Oct 2010, acrux wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 i've this error only on ppc64 compiling qemu-0.13.0: It was fixed by b1d6d51d958bc98f5b6faa4d1d527c785a9ba7d6 which is

[Qemu-devel] Re: [PATCH v6 08/12] pcie/aer: helper functions for pcie aer capability

2010-10-20 Thread Michael S. Tsirkin
On Wed, Oct 20, 2010 at 05:18:57PM +0900, Isaku Yamahata wrote: This patch implements helper functions for pcie aer capability which will be used later. Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp Some style comments and a couple of minor bugs. --- Chnages v5 - v6: - cleaned up

[Qemu-devel] Re: [PATCH v6 07/12] pcie/hotplug: introduce pushing attention button command

2010-10-20 Thread Michael S. Tsirkin
On Wed, Oct 20, 2010 at 05:18:56PM +0900, Isaku Yamahata wrote: glue pcie_push_attention_button command. Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp So as a high level command, I think we need to think about how to tie this into pci_add/pci_del. Right? As a low level command, this is

[Qemu-devel] Re: [PATCH v6 02/12] pci/bridge: fix pci_bridge_reset()

2010-10-20 Thread Michael S. Tsirkin
On Wed, Oct 20, 2010 at 06:04:49PM +0900, Isaku Yamahata wrote: On Wed, Oct 20, 2010 at 10:49:20AM +0200, Michael S. Tsirkin wrote: On Wed, Oct 20, 2010 at 05:18:51PM +0900, Isaku Yamahata wrote: The default value of base/limit registers aren't specified in the spec. So pci_bridge_reset()

[Qemu-devel] Re: [PATCH v6 00/12] pcie port switch emulators

2010-10-20 Thread Michael S. Tsirkin
On Wed, Oct 20, 2010 at 05:18:49PM +0900, Isaku Yamahata wrote: Isaku Yamahata (12): pcie: comment on hpev_intx pci/bridge: fix pci_bridge_reset() pcie port: define struct PCIEPort/PCIESlot and helper functions ioh3420: pcie root port in X58 ioh x3130: pcie upstream port x3130:

Re: [Qemu-devel] KVM call minutes for Oct 19

2010-10-20 Thread Avi Kivity
On 10/20/2010 10:21 AM, Alexander Graf wrote: On 19.10.2010, at 17:14, Chris Wright wrote: 0.13.X -stable - Anthony will send note to qemu-devel on this - move 0.13.X -stable to a separate tree - driven independently of main qemu tree - challenge is always in the porting and testing

[Qemu-devel] [Bug 654913] Re: Windows XP uses 200% CPU when given 2 VCPUs

2010-10-20 Thread Michael Tokarev
I think this can safely be closed - it's a known guest (winXP) behavour, as in, use right drivers. ** Changed in: qemu Status: New = Invalid -- Windows XP uses 200% CPU when given 2 VCPUs https://bugs.launchpad.net/bugs/654913 You received this bug notification because you are a member

Re: [Qemu-devel] [PATCH 3/3] Add helper functions for virtio-9p to use threadlets

2010-10-20 Thread Stefan Hajnoczi
On Tue, Oct 19, 2010 at 6:43 PM, Arun R Bharadwaj a...@linux.vnet.ibm.com wrote: From: Gautham R Shenoy e...@in.ibm.com Add helper functions to enable virtio-9p make use of the threadlets infrastructure for offloading blocking tasks such as making posix calls on to the helper threads and

Re: [Qemu-devel] v6: [PATCH 0/3]: Threadlets: A generic task offloading framework

2010-10-20 Thread Amit Shah
On (Tue) Oct 19 2010 [23:12:20], Arun R Bharadwaj wrote: Hi, This is the v6 of the patch-series to have a generic asynchronous task offloading framework (called threadlets) within qemu. Request to consider pulling this series as discussed during the Qemu-devel call. I tried this out with

Re: [Qemu-devel] v6: [PATCH 0/3]: Threadlets: A generic task offloading framework

2010-10-20 Thread Stefan Hajnoczi
On Wed, Oct 20, 2010 at 12:57 PM, Amit Shah amit.s...@redhat.com wrote: On (Tue) Oct 19 2010 [23:12:20], Arun R Bharadwaj wrote: Hi, This is the v6 of the patch-series to have a generic asynchronous task offloading framework (called threadlets) within qemu. Request to consider pulling this

[Qemu-devel] [Bug 663713] Re: Mouse frozen under an emulated ubuntu

2010-10-20 Thread FredBezies
Sorry, your trick doesn't work at all for me. I try to switch on / off mouse capture in order to get it work. Nothing happens. Any other idea ? A freshly installed archlinux with gnome added works flawlessly. -- Mouse frozen under an emulated ubuntu https://bugs.launchpad.net/bugs/663713 You

Re: [Qemu-devel] KVM call minutes for Oct 19

2010-10-20 Thread Dor Laor
On 10/20/2010 10:21 AM, Alexander Graf wrote: On 19.10.2010, at 17:14, Chris Wright wrote: 0.13.X -stable - Anthony will send note to qemu-devel on this - move 0.13.X -stable to a separate tree - driven independently of main qemu tree - challenge is always in the porting and testing of

Re: [Qemu-devel] KVM call minutes for Oct 19

2010-10-20 Thread Anthony Liguori
On 10/20/2010 03:21 AM, Alexander Graf wrote: Live snapshots - merge snapshot? - already supported, question about mgmt of snapshot chain - integrate with fsfreeze (and windows alternative) Guest Agent - have one coming RSN (poke Anthony for details) Would there be a chance to have a

Re: [Qemu-devel] [PATCH 1/3] Introduce threadlets

2010-10-20 Thread Balbir Singh
* Venkateswararao Jujjuri (JV) jv...@linux.vnet.ibm.com [2010-10-19 20:46:35]: I think this is a lot more fragile. You're relying on the fact that signal will not cause the signalled thread to actually awaken until we release the lock and doing work after signalling that the signalled

Re: [Qemu-devel] Re: KVM call agenda for Oct 19

2010-10-20 Thread Anthony Liguori
On 10/20/2010 04:18 AM, Kevin Wolf wrote: Am 19.10.2010 19:09, schrieb Anthony Liguori: On 10/19/2010 11:54 AM, Ayal Baron wrote: - Anthony Liguorianth...@codemonkey.ws wrote: On 10/19/2010 07:48 AM, Dor Laor wrote: On 10/19/2010 04:11 AM, Chris Wright

Re: [Qemu-devel] [PATCH 1/3] Introduce threadlets

2010-10-20 Thread Anthony Liguori
On 10/19/2010 09:22 PM, Balbir Singh wrote: OK, here is a situation that can happen T1 T2 --- --- threadlet submit_threadletwork_to_queue (sees condition as no work) mutex_lock qemu_cond_timedwait

Re: [Qemu-devel] [PATCH 2/3] Make paio subsystem use threadlets

2010-10-20 Thread Anthony Liguori
On 10/20/2010 04:30 AM, Stefan Hajnoczi wrote: } else if (acb-ret == -EINPROGRESS) { active = 1; } -mutex_unlock(lock); if (active) { /* fail safe: if the aio could not be canceled, we wait for while (qemu_paio_error(acb) == EINPROGRESS) ;

Re: [Qemu-devel] [PATCH 3/3] Add helper functions for virtio-9p to use threadlets

2010-10-20 Thread Anthony Liguori
On 10/20/2010 06:19 AM, Stefan Hajnoczi wrote: On Tue, Oct 19, 2010 at 6:43 PM, Arun R Bharadwaj a...@linux.vnet.ibm.com wrote: From: Gautham R Shenoye...@in.ibm.com Add helper functions to enable virtio-9p make use of the threadlets infrastructure for offloading blocking tasks such as

Re: [Qemu-devel] v6: [PATCH 0/3]: Threadlets: A generic task offloading framework

2010-10-20 Thread Anthony Liguori
On 10/20/2010 07:05 AM, Stefan Hajnoczi wrote: On Wed, Oct 20, 2010 at 12:57 PM, Amit Shahamit.s...@redhat.com wrote: On (Tue) Oct 19 2010 [23:12:20], Arun R Bharadwaj wrote: Hi, This is the v6 of the patch-series to have a generic asynchronous task offloading framework (called

Re: [Qemu-devel] Git server hung

2010-10-20 Thread Anthony Liguori
On 10/19/2010 10:38 PM, Michael Crawford wrote: git clone http://git.qemu.org/qemu.git git clone git://git.qemu.org/qemu.git The http protocol is not very efficient with git. Regards, Anthony Liguori This initializes a repository in qemu/.git and starts downloading from the git

Re: [Qemu-devel] KVM call minutes for Oct 19

2010-10-20 Thread Daniel P. Berrange
On Wed, Oct 20, 2010 at 08:02:07AM -0500, Anthony Liguori wrote: On 10/20/2010 03:21 AM, Alexander Graf wrote: Live snapshots - merge snapshot? - already supported, question about mgmt of snapshot chain - integrate with fsfreeze (and windows alternative) Guest Agent - have one coming

Re: [Qemu-devel] KVM call minutes for Oct 19

2010-10-20 Thread Anthony Liguori
On 10/20/2010 08:19 AM, Daniel P. Berrange wrote: The thinking with Matahari is that there is significant overlap between agent requirements for a physical and virtual host, so it aims to provide an agent that works everywhere, whether virtualized or not. All that need change is the

Re: [Qemu-devel] [PATCH] Add a DTrace tracing backend targetted for SystemTAP compatability

2010-10-20 Thread Stefan Hajnoczi
Please also add dtrace to the ./configure --help output: echo --trace-backend=BTrace backend nop simple ust dtrace Stefan

[Qemu-devel] [PATCH v2] Add a DTrace tracing backend targetted for SystemTAP compatability

2010-10-20 Thread Daniel P. Berrange
This introduces a new tracing backend that targets the SystemTAP implementation of DTrace userspace tracing. The core functionality should be applicable and standard across any DTrace implementation on Solaris, OS-X, *BSD, but the Makefile rules will likely need some small additional changes to

Re: [Qemu-devel] [PATCH] Add a DTrace tracing backend targetted for SystemTAP compatability

2010-10-20 Thread Daniel P. Berrange
On Wed, Oct 20, 2010 at 02:50:12PM +0100, Stefan Hajnoczi wrote: Please also add dtrace to the ./configure --help output: echo --trace-backend=BTrace backend nop simple ust dtrace I've just sent a v2 that should include all your feedback so far. Regards, Daniel -- |: Red Hat,

[Qemu-devel] [Bug 663713] Re: Mouse frozen under an emulated ubuntu

2010-10-20 Thread Gerd Hoffmann
http://patchwork.ozlabs.org/patch/67168/ -- Mouse frozen under an emulated ubuntu https://bugs.launchpad.net/bugs/663713 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: Incomplete Bug description: Qemu 0.13.0 Command

Re: [Qemu-devel] [PATCH v2] Add a DTrace tracing backend targetted for SystemTAP compatability

2010-10-20 Thread Stefan Hajnoczi
On Wed, Oct 20, 2010 at 3:09 PM, Daniel P. Berrange berra...@redhat.com wrote: @@ -2175,6 +2175,16 @@ EOF     exit 1   fi  fi + +## +# For 'dtrace' backend, test if 'dtrace' command is present +if ! has 'dtrace' ; then +  echo +  echo Error: dtrace

[Qemu-devel] [PATCH] virtio-blk: Respect werror option for flushes

2010-10-20 Thread Kevin Wolf
The werror option now affects not only write requests, but also flush requests. Previously, it was not possible to stop a VM on a failed flush. Signed-off-by: Kevin Wolf kw...@redhat.com --- hw/virtio-blk.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git

Re: [Qemu-devel] Re: [PATCH 1/3] Make kvm64 the default cpu model when kvm_enabled()

2010-10-20 Thread Blue Swirl
On Mon, Oct 18, 2010 at 2:16 PM, Anthony Liguori aligu...@linux.vnet.ibm.com wrote: On 10/18/2010 03:22 AM, Roedel, Joerg wrote: (Sorry for the late reply) On Thu, Oct 07, 2010 at 08:48:06AM -0400, Anthony Liguori wrote: On 10/07/2010 03:42 AM, Roedel, Joerg wrote: On Wed, Oct 06, 2010

Re: [Qemu-devel] [PATCH 3/3] monitor: add usb_attach and usb_detach

2010-10-20 Thread Luiz Capitulino
On Tue, 19 Oct 2010 15:35:01 +0200 Gerd Hoffmann kra...@redhat.com wrote: Hi, +.help = attach USB device 'bus.addr', +...@item usb_attach @var{devname} /me sees a mismatch here. There is still the use case question. Also note that this might have unwanted side

[Qemu-devel] Re: [PATCH 1/3] trace: Relax trace-events parsing regex in simpletrace.py

2010-10-20 Thread Blue Swirl
Thanks, applied all. On Mon, Oct 18, 2010 at 12:42 PM, Stefan Hajnoczi stefa...@linux.vnet.ibm.com wrote: The regular expression to parse trace event definitions assumed the format string would be a simple double-quoted string.  However, we now use PRI?64 for portability which splits string

[Qemu-devel] Re: [PATCH] trace: improve info trace output

2010-10-20 Thread Blue Swirl
Thanks for the Ack, applied. On Mon, Oct 18, 2010 at 10:27 AM, Stefan Hajnoczi stefa...@linux.vnet.ibm.com wrote: On Sun, Oct 17, 2010 at 08:05:45AM +, Blue Swirl wrote: Use PRI*64 to print full 64 bit data even on ILP32 hosts. Print also sixth tracepoint parameter. Cc: Stefan Hajnoczi

[Qemu-devel] [Bug 654913] Re: Windows XP uses 200% CPU when given 2 VCPUs

2010-10-20 Thread .:. brainsik
Can you tell me what the right drivers are? Or do you mean enabling ACPI? I've just finished a whole slew of benchmarks and I'm going back to no- acpi with the 200% CPU issue, because the VMs are actually faster that way. Turning on ACPI is very slow. Looking throw QEMU bug reports, I found that

[Qemu-devel] [PATCH] Add a DTrace tracing backend targetted for SystemTAP compatability (v3)

2010-10-20 Thread Daniel P. Berrange
This introduces a new tracing backend that targets the SystemTAP implementation of DTrace userspace tracing. The core functionality should be applicable and standard across any DTrace implementation on Solaris, OS-X, *BSD, but the Makefile rules will likely need some small additional changes to

[Qemu-devel] [PATCH 10/10] Fix memory leak in register save load due to xsave support

2010-10-20 Thread Marcelo Tosatti
From: Avi Kivity a...@redhat.com Signed-off-by: Marcelo Tosatti mtosa...@redhat.com --- target-i386/kvm.c | 11 --- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/target-i386/kvm.c b/target-i386/kvm.c index 1701cb9..2449c2f 100644 --- a/target-i386/kvm.c +++

[Qemu-devel] [PATCH 00/10] [PULL] qemu-kvm.git uq/master queue

2010-10-20 Thread Marcelo Tosatti
The following changes since commit 38cc9b607f85017b095793cab6c129bc9844f441: issue snd_pcm_start() when capturing audio (2010-10-18 00:39:06 +0400) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git uq/master Huang Ying (1): Add RAM - physical

[Qemu-devel] [PATCH 03/10] signalfd compatibility

2010-10-20 Thread Marcelo Tosatti
Port qemu-kvm's signalfd compat code. commit 5a7fdd0abd7cd24dac205317a4195446ab8748b5 Author: Anthony Liguori aligu...@us.ibm.com Date: Wed May 7 11:55:47 2008 -0500 Use signalfd() in io-thread This patch reworks the IO thread to use signalfd() instead of sigtimedwait() This will

[Qemu-devel] [PATCH 06/10] Export qemu_ram_addr_from_host

2010-10-20 Thread Marcelo Tosatti
To be used by next patches. Signed-off-by: Marcelo Tosatti mtosa...@redhat.com Signed-off-by: Avi Kivity a...@redhat.com --- cpu-common.h |3 ++- exec-all.h |2 +- exec.c | 26 +- 3 files changed, 20 insertions(+), 11 deletions(-) diff --git

[Qemu-devel] [PATCH 01/10] Set cpuid definition to 0 before initializing it

2010-10-20 Thread Marcelo Tosatti
From: Joerg Roedel joerg.roe...@amd.com This patch cleans the (stack-allocated) cpuid definition to 0 before actually initializing it. Signed-off-by: Joerg Roedel joerg.roe...@amd.com Signed-off-by: Avi Kivity a...@redhat.com --- target-i386/cpuid.c |2 ++ 1 files changed, 2 insertions(+),

[Qemu-devel] [PATCH 07/10] Add RAM - physical addr mapping in MCE simulation

2010-10-20 Thread Marcelo Tosatti
From: Huang Ying ying.hu...@intel.com In QEMU-KVM, physical address != RAM address. While MCE simulation needs physical address instead of RAM address. So kvm_physical_memory_addr_from_ram() is implemented to do the conversion, and it is invoked before being filled in the IA32_MCi_ADDR MSR.

[Qemu-devel] [PATCH 04/10] iothread: use signalfd

2010-10-20 Thread Marcelo Tosatti
Block SIGALRM, SIGIO and consume them via signalfd. Signed-off-by: Marcelo Tosatti mtosa...@redhat.com Signed-off-by: Avi Kivity a...@redhat.com --- cpus.c | 74 +++ 1 files changed, 69 insertions(+), 5 deletions(-) diff --git

[Qemu-devel] [PATCH 09/10] Add savevm/loadvm support for MCE

2010-10-20 Thread Marcelo Tosatti
Port qemu-kvm's commit 1bab5d11545d8de5facf46c28630085a2f9651ae Author: Huang Ying ying.hu...@intel.com Date: Wed Mar 3 16:52:46 2010 +0800 Add savevm/loadvm support for MCE MCE registers are saved/load into/from CPUState in kvm_arch_save/load_regs. To simulate the MCG_STATUS

[Qemu-devel] [PATCH 02/10] Add svm cpuid features

2010-10-20 Thread Marcelo Tosatti
From: Joerg Roedel joerg.roe...@amd.com This patch adds the svm cpuid feature flags to the qemu intialization path. It also adds the svm features available on phenom to its cpu-definition and extends the host cpu type to support all svm features KVM can provide. Signed-off-by: Joerg Roedel

[Qemu-devel] [PATCH 05/10] kvm: x86: add mce support

2010-10-20 Thread Marcelo Tosatti
Port qemu-kvm's MCE support commit c68b2374c9048812f488e00ffb95db66c0bc07a7 Author: Huang Ying ying.hu...@intel.com Date: Mon Jul 20 10:00:53 2009 +0800 Add MCE simulation support to qemu/kvm KVM ioctls are used to initialize MCE simulation and inject MCE. The real MCE simulation

[Qemu-devel] [PATCH 08/10] MCE: Relay UCR MCE to guest

2010-10-20 Thread Marcelo Tosatti
Port qemu-kvm's commit 4b62fff1101a7ad77553147717a8bd3bf79df7ef Author: Huang Ying ying.hu...@intel.com Date: Mon Sep 21 10:43:25 2009 +0800 MCE: Relay UCR MCE to guest UCR (uncorrected recovery) MCE is supported in recent Intel CPUs, where some hardware error such as some memory

[Qemu-devel] Can't compile ISA device...

2010-10-20 Thread Brian Wheeler
I'm trying to write a busmouse driver and I can't get it to compile. It seems like there's a header issue of some sort that I can't work out. Of course, if someone has a working busmouse driver for qemu, that would be great: OpenStep won't work with the ps/2 emulation and even after pounding on

Re: [Qemu-devel] Can't compile ISA device...

2010-10-20 Thread Anthony Liguori
On 10/20/2010 01:01 PM, Brian Wheeler wrote: I'm trying to write a busmouse driver and I can't get it to compile. It seems like there's a header issue of some sort that I can't work out. Of course, if someone has a working busmouse driver for qemu, that would be great: OpenStep won't work

Re: [Qemu-devel] [PATCH] Fix test suite build with tracing enabled

2010-10-20 Thread Luiz Capitulino
On Tue, 19 Oct 2010 16:03:15 +0200 Jan Kiszka jan.kis...@siemens.com wrote: qemu_malloc instrumentations require linking against the trace objects. Signed-off-by: Jan Kiszka jan.kis...@siemens.com Applied to the Monitor queue, thanks. --- Makefile | 12 ++-- 1 files changed, 6

Re: [Qemu-devel] [PATCH] monitor: Ignore . and .. when completing file name.

2010-10-20 Thread Luiz Capitulino
On Wed, 20 Oct 2010 18:00:01 +0900 Kusanagi Kouichi sl...@ac.auone-net.jp wrote: Signed-off-by: Kusanagi Kouichi sl...@ac.auone-net.jp Applied to the Monitor queue, thanks. --- monitor.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/monitor.c b/monitor.c

[Qemu-devel] Re: [PATCH 00/10] [PULL] qemu-kvm.git uq/master queue

2010-10-20 Thread Anthony Liguori
On 10/20/2010 12:43 PM, Marcelo Tosatti wrote: The following changes since commit 38cc9b607f85017b095793cab6c129bc9844f441: issue snd_pcm_start() when capturing audio (2010-10-18 00:39:06 +0400) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git

Re: [Qemu-devel] [PULL] virtio-9p patches - Request for pull

2010-10-20 Thread Anthony Liguori
On 10/18/2010 04:25 PM, Venkateswararao Jujjuri (JV) wrote: The following changes since commit 38cc9b607f85017b095793cab6c129bc9844f441: Jindrich Makovicka (1): issue snd_pcm_start() when capturing audio are available in the git repository at:

Re: [Qemu-devel] [PATCH 0/2] mouse fixups

2010-10-20 Thread Anthony Liguori
On 10/08/2010 05:30 AM, Gerd Hoffmann wrote: Hi, In the 0.13 devel cycle the mouse handler activation code has been updated, but (at least) two drivers have not been updated accordingly: vmmouse and usb-wacom. This patch series updates them so they are functional again. IMHO the patches

[Qemu-devel] Re: [PATCH 00/10] [PULL] qemu-kvm.git uq/master queue

2010-10-20 Thread Marcelo Tosatti
On Wed, Oct 20, 2010 at 02:01:18PM -0500, Anthony Liguori wrote: On 10/20/2010 12:43 PM, Marcelo Tosatti wrote: The following changes since commit 38cc9b607f85017b095793cab6c129bc9844f441: issue snd_pcm_start() when capturing audio (2010-10-18 00:39:06 +0400) are available in the git

[Qemu-devel] [PATCH] Remove 16-character limit on process title

2010-10-20 Thread John Morrissey
qemu uses prctl() to set its process title. I bumped up against prctl()'s 16-character limit recently, when adding process title support to libvirt[1][2]. The attached patch overwrites argv instead. Linux seems to maintain the length of the original args, even when the new args are shorter and

[Qemu-devel] Re: [PATCH 00/10] [PULL] qemu-kvm.git uq/master queue

2010-10-20 Thread Anthony Liguori
qemu-kvm-20101020 Let me test a little bit and look a bit more closely at the code and then I'll push to the main tree. Regards, Anthony Liguori

[Qemu-devel] Re: [Tracing][v4 PATCH 2/2] Add documentation for QMP interfaces

2010-10-20 Thread Luiz Capitulino
On Tue, 19 Oct 2010 11:57:50 +0530 Prerna Saxena pre...@linux.vnet.ibm.com wrote: [PATCH 2/2] Add documentation for QMP commands: - query-trace - query-trace-events - query-trace-file. Please, split this. Each command should be in a separate patch. Signed-off-by: Prerna Saxena

[Qemu-devel] Re: [Tracing][RFC] QMP interface to toggle state of a trace-event

2010-10-20 Thread Luiz Capitulino
On Wed, 20 Oct 2010 15:28:49 +0530 Prerna Saxena pre...@linux.vnet.ibm.com wrote: QMP command trace-event to toggle state of a trace-event. Illustration : - { execute: trace-event, arguments: { name: qemu_malloc, option: true} } - { return: {} } Posting this as an RFC for now. I'll

[Qemu-devel] Re: [PATCH 08/10] MCE: Relay UCR MCE to guest

2010-10-20 Thread Anthony Liguori
On 10/20/2010 12:43 PM, Marcelo Tosatti wrote: Port qemu-kvm's commit 4b62fff1101a7ad77553147717a8bd3bf79df7ef Author: Huang Yingying.hu...@intel.com Date: Mon Sep 21 10:43:25 2009 +0800 MCE: Relay UCR MCE to guest UCR (uncorrected recovery) MCE is supported in recent Intel CPUs,

[Qemu-devel] Re: [PATCH 00/10] [PULL] qemu-kvm.git uq/master queue

2010-10-20 Thread Anthony Liguori
On 10/20/2010 12:43 PM, Marcelo Tosatti wrote: The following changes since commit 38cc9b607f85017b095793cab6c129bc9844f441: issue snd_pcm_start() when capturing audio (2010-10-18 00:39:06 +0400) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git

[Qemu-devel] Re: [PATCH 09/10] Add savevm/loadvm support for MCE

2010-10-20 Thread Anthony Liguori
On 10/20/2010 12:43 PM, Marcelo Tosatti wrote: Port qemu-kvm's commit 1bab5d11545d8de5facf46c28630085a2f9651ae Author: Huang Yingying.hu...@intel.com Date: Wed Mar 3 16:52:46 2010 +0800 Add savevm/loadvm support for MCE MCE registers are saved/load into/from CPUState in

[Qemu-devel] Re: [PATCH 07/10] Add RAM - physical addr mapping in MCE simulation

2010-10-20 Thread Anthony Liguori
On 10/20/2010 12:43 PM, Marcelo Tosatti wrote: From: Huang Yingying.hu...@intel.com In QEMU-KVM, physical address != RAM address. While MCE simulation needs physical address instead of RAM address. So kvm_physical_memory_addr_from_ram() is implemented to do the conversion, and it is invoked

[Qemu-devel] Re: [PATCH 05/10] kvm: x86: add mce support

2010-10-20 Thread Anthony Liguori
On 10/20/2010 12:43 PM, Marcelo Tosatti wrote: Port qemu-kvm's MCE support commit c68b2374c9048812f488e00ffb95db66c0bc07a7 Author: Huang Yingying.hu...@intel.com Date: Mon Jul 20 10:00:53 2009 +0800 Add MCE simulation support to qemu/kvm KVM ioctls are used to initialize MCE

[Qemu-devel] Re: [PATCH 1/2] pci: Automatically patch PCI vendor id and device id in PCI ROM

2010-10-20 Thread Stefan Weil
Am 20.10.2010 09:19, schrieb Gerd Hoffmann: Hi, The i825xx ethernet controller family is a typical example which is implemented in hw/eepro100.c. It uses at least 3 different device ids, so normally 3 boot roms would be needed. Does this actually work now with the etherboot roms? cheers,

[Qemu-devel] [Bug 654913] Re: Windows XP uses 200% CPU when given 2 VCPUs

2010-10-20 Thread Michael Tokarev
What I mean is that ACPI is required nowadays for any sane SMP. Yes, enabling ACPI. Speaking of 200% CPU for MPS being faster than ACPI version - maybe it's your cpufreq code, and switching from 'ondemand' to 'performance' governer will make ACPI version faster? I see no difference in speed

[Qemu-devel] Re: [PATCH] configure: Support disabling warnings in $gcc_flags

2010-10-20 Thread Blue Swirl
Thanks, applied. On Thu, Oct 14, 2010 at 9:19 AM, Markus Armbruster arm...@redhat.com wrote: -Wall enables a bunch of warnings at once.  configure puts it after $gcc_flags.  This makes it impossible to disable warnings enabled by -Wall there.  Fix by putting configured flags last.

[Qemu-devel] Re: [PATCH] tcg: Fix compiler error (comparison of unsigned expression)

2010-10-20 Thread Blue Swirl
Thanks, applied. On Fri, Oct 8, 2010 at 8:32 AM, Stefan Weil w...@mail.berlios.de wrote: When qemu is configured with --enable-debug-tcg, gcc throws this warning (or error with -Werror): tcg/tcg.c:1030: error: comparison of unsigned expression = 0 is always true Fix it by removing the = 0

[Qemu-devel] Re: [PATCH 08/10] MCE: Relay UCR MCE to guest

2010-10-20 Thread Anthony Liguori
On 10/20/2010 02:51 PM, Anthony Liguori wrote: +} + static void qemu_kvm_eat_signal(CPUState *env, int timeout) { struct timespec ts; int r, e; siginfo_t siginfo; sigset_t waitset; +sigset_t chkset; ts.tv_sec = timeout / 1000; ts.tv_nsec = (timeout

[Qemu-devel] [Bug 654913] Re: Windows XP uses 200% CPU when given 2 VCPUs

2010-10-20 Thread Michael Tokarev
WinXP chews 200% CPU when switched in device manager to MPS computer from ACPI computer even if there's no -no-acpi on the kvm command line (after some tries I was able to switch it from ACPI to MPS). So it is how windows works, not how kvm works. ** Changed in: qemu Status: New = Invalid

Re: [Qemu-devel] [PATCH] Add a DTrace tracing backend targetted for SystemTAP compatability (v3)

2010-10-20 Thread Stefan Hajnoczi
On Wed, Oct 20, 2010 at 6:31 PM, Daniel P. Berrange berra...@redhat.com wrote: This introduces a new tracing backend that targets the SystemTAP implementation of DTrace userspace tracing. The core functionality should be applicable and standard across any DTrace implementation on Solaris,

  1   2   >