[Qemu-devel] Re: Regression in vga performance between 0.11.1 and 0.12.1.1

2010-05-02 Thread Avi Kivity
On 05/01/2010 10:17 PM, Adam Greenblatt wrote: Avi, Sure -- you can download a tarball of kvm_stat logfiles from: Please don't top-post. http://misc.cyclecounters.org/qemu-logs.tgz I ran three workloads (a short, medium, and long) against both 0.11.1 and 0.12.3. Each workload was

Re: [Qemu-devel] add ahci support into qemu

2010-05-02 Thread Alexander Graf
On 30.04.2010, at 14:48, 乔崇 wrote: Hi,everyone! I just add AHCI Emulation into qemu. I have tested it on linux kernel,it works well. run like this: qemu -hda disk ... Now only support sata disk. Hi Chong, While I haven't compiled and tried it out myself, it's amazing to see someone

Re: [Qemu-devel] [PATCH v2 4/5] target-ppc: fix RFI by clearing upper bytes of MSR

2010-05-02 Thread Alexander Graf
On 27.04.2010, at 17:31, Thomas Monjalon wrote: From: Thomas Monjalon tho...@monjalon.net Since commit 2ada0ed, Return From Interrupt is broken for PPC processors because the upper bits (POW, TGPR, ILE) of MSR were not cleared. May I ask for your test case or how you stumbled over this? I

[Qemu-devel] [PATCH 2/2] arm_timer: fix oneshot mode

2010-05-02 Thread Rabin Vincent
In oneshot mode, the delta needs to come from the TimerLoad register, not the maximum limit. Signed-off-by: Rabin Vincent ra...@rab.in --- hw/arm_timer.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/arm_timer.c b/hw/arm_timer.c index 5b6947a..9073ffc 100644 ---

[Qemu-devel] [PATCH 1/2] arm_timer: reload timer when enabled

2010-05-02 Thread Rabin Vincent
Reload the timer when TimerControl is written, if the timer is to be enabled. Otherwise, if an earlier write to TimerLoad was done while periodic mode was not set, s-delta may incorrectly still have the value of the maximum limit instead of the value written to TimerLoad. This problem is evident

Re: [Qemu-devel] [PATCH] Fix qemu mouse Set_Protocol behavior

2010-05-02 Thread Shahar Havivi
On Sat, May 01, 2010 at 10:38:51PM -0400, Kevin O'Connor wrote: Date: Sat, 1 May 2010 22:38:51 -0400 From: Kevin O'Connor ke...@koconnor.net To: qemu-devel@nongnu.org, seab...@seabios.org Cc: Subject: [Qemu-devel] [PATCH] Fix qemu mouse Set_Protocol behavior The QEMU USB mouse claims to

[Qemu-devel] [RFC] [PATCH] add ahci support into qemu

2010-05-02 Thread 乔崇
Hi,Alexander Graf. I am very glad you noticed my patch about ahci.I love qemu just like I love linux.I wish I could do much more work on qemu development. I had cloned qemu from master branch,add my patch into it,and tested ahci on i386 softmmu. If anyone is interested on ahci,you can

Re: [Qemu-devel] [PATCH 2/2] target-ppc: fix interrupt vectors for MPC603 and e300

2010-05-02 Thread Segher Boessenkool
Your code can change MSR[IP]; there is also a strapping pin that is sampled on HRESET (and copied to MSR[IP]). Wouldn't this mean that when the reset is issued by hardware, MSR[IP] is always 1 (to boot from ROM) but with software reset it can take software defined values? Yes, that is what

[Qemu-devel] VGA blank mode

2010-05-02 Thread K D
Hi I'm trying to run kvm/qemu on a linux host built from scratch ie., no x windows, no window manager etc. bare minimum libraries etc. when i try to spawn a VM with -curses, I see VGA Blank Mode and nothing else. i'm attached to serial console for this host. what could be the issue? thanks

[Qemu-devel] Re: [RFC] [PATCH] add ahci support into qemu

2010-05-02 Thread Sebastian Herbszt
Hi, 乔崇 wrote: Hi,Alexander Graf. I am very glad you noticed my patch about ahci.I love qemu just like I love linux.I wish I could do much more work on qemu development. I had cloned qemu from master branch,add my patch into it,and tested ahci on i386 softmmu. If anyone is interested on

Re: [Qemu-devel] Re: [RFC] [PATCH] add ahci support into qemu

2010-05-02 Thread Avi Kivity
On 05/02/2010 06:36 PM, Sebastian Herbszt wrote: ./configure --target-list=i386-softmmu make dd if=/dev/zero of=/tmp/disk bs=1M count=100 ./i386-softmmu/qemu -cdrom KNOPPIX_V6.0.1CD-2009-02-08-EN.iso -boot d -drive if=sd,file=/tmp/disk After linux boot,you will find a ahci device named

[Qemu-devel] Re: [RFC] [PATCH] add ahci support into qemu

2010-05-02 Thread Elek Roland
Hi all, I am the GSoC student working on the project. I haven't tried the patch yet, but I've read the code. It could use general cleanup and a lot of development indeed, but otherwise it looks like a good base to build complete support on so far. I'm going to try the patch in practice as soon as

Re: [Qemu-devel] [PATCH] Fix qemu mouse Set_Protocol behavior

2010-05-02 Thread Kevin O'Connor
On Sun, May 02, 2010 at 02:04:44PM +0300, Shahar Havivi wrote: On Sat, May 01, 2010 at 10:38:51PM -0400, Kevin O'Connor wrote: The QEMU USB mouse claims to support the boot protocol (bInterfaceSubClass is 1). However, the mouse rejects the Set_Protocol command. The qemu mouse does

Re: [Qemu-devel] [PATCH 1/3] qemu-nbd: Fix coding style

2010-05-02 Thread Ryota Ozaki
Hi Kevin On Mon, Mar 29, 2010 at 7:44 PM, Kevin Wolf kw...@redhat.com wrote: Am 28.03.2010 19:07, schrieb Ryota Ozaki: Follow Every indented statement is braced; even if the block contains just one statement. described in CODING_STYLE. Signed-off-by: Ryota Ozaki ozaki.ry...@gmail.com

Re: [Qemu-devel] [PATCH 2/3] qemu-nbd: Extend read-only option to nbd device file

2010-05-02 Thread Ryota Ozaki
On Mon, Mar 29, 2010 at 7:54 PM, Kevin Wolf kw...@redhat.com wrote: Am 28.03.2010 19:07, schrieb Ryota Ozaki: This patch allows to operate on nbd device file without write permission for the file if read-only option is specified. Signed-off-by: Ryota Ozaki ozaki.ry...@gmail.com The help

Re: [Qemu-devel] [PATCH 3/3] qemu-nbd: Improve error reporting

2010-05-02 Thread Ryota Ozaki
On Mon, Mar 29, 2010 at 8:03 PM, Kevin Wolf kw...@redhat.com wrote: Am 28.03.2010 19:07, schrieb Ryota Ozaki: - use err(3) instead of errx(3) if errno is available   to report why failed - let fail prior to daemon(3) if opening a nbd file   is likely to fail after daemonizing to avoid silent

[Qemu-devel] [PATCH] qemu-nbd: Improve error reporting

2010-05-02 Thread Ryota Ozaki
- use err(3) instead of errx(3) if errno is available to report why failed - let fail prior to daemon(3) if opening a nbd file is likely to fail after daemonizing to avoid silent failure exit - add missing 'ret = 1' when unix_socket_outgoing failed Signed-off-by: Ryota Ozaki

[Qemu-devel] Re: [RFC] [PATCH] add ahci support into qemu

2010-05-02 Thread Sebastian Herbszt
Hi again, please consider the following minor changes: - debug output with DEBUG_AHCI - set port count to 4 - change return value of PxSSTS to include SPD and IPM - change cap and version default values according to Intel #301473-002 Regards, Sebastian --- hw/ahci.c.orig Sun May 2 15:43:58

[Qemu-devel] [PATCH v3 2/2] virtio-console: Notify resize to the guest.

2010-05-02 Thread Kusanagi Kouichi
I tested this patch as follows: I put printf()s into involved functions. Then ran qemu on a terminal emulator, and resized it. The guest kernel gets initial size, and follows host resize. Both singleport and multiport work. v3: If multiport is enabled, send the control message. If not, send a