Re: [PATCH 1/4] kvm: Add support for querying supported cpu features

2009-05-09 Thread Avi Kivity
Anthony Liguori wrote: Anthony Liguori wrote: kvm_check_extension doesn't exist in upstream QEMU. It's a good idea though so I added it in a previous commit. However, I changed the signature to it to take a KVMState * as the first argument (which is available in env-kvm_state). I updated

Re: [RFC PATCH 0/3] generic hypercall support

2009-05-09 Thread Avi Kivity
David S. Ahern wrote: I ran another test case with SMT disabled, and while I was at it converted TSC delta to operations/sec. The results without SMT are confusing -- to me anyways. I'm hoping someone can explain it. Basically, using a count of 10,000,000 (per your web page) with SMT disabled

Re: DMA errors in guest caused by corrupted(?) disk image

2009-05-09 Thread René Pfeiffer
On Mar 31, 2009 at 1355 +1100, Matthew Palmer appeared and said: Hi, I've just come across a somewhat strange problem that was suggested I report to the list. The problem manifested itself as DMA errors and the like popping up in the guest, like I'd expect to see if a disk in a physical

Re: [RFC][KVM-AUTOTEST] Work to get autotest kvm merged back upstream

2009-05-09 Thread Alexey Eremenko
Hi Lucas Meneghel Rodrigues ! I'm Alexey from Red Hat Israel, and I do QA on both KVM and KVM Autotest. 4 We want to make it easy for people to add new tests to the framework. We are unsure if the current way we define the tests (all of them under the file kvm_tests.py) is good

Re: KVM on Via Nano (Isaiah) CPUs?

2009-05-09 Thread Avi Kivity
Craig Metz wrote: In message 49d396ab.6090...@redhat.com, you write: Via engineers have contacted me and confirmed that this is a problem in the processor. Is there a known-fixed CPU revision? Is there a way to identify working vs. non-working chips, either from IC stamp or from

Re: DMA errors in guest caused by corrupted(?) disk image

2009-05-09 Thread Avi Kivity
René Pfeiffer wrote: On Mar 31, 2009 at 1355 +1100, Matthew Palmer appeared and said: Hi, I've just come across a somewhat strange problem that was suggested I report to the list. The problem manifested itself as DMA errors and the like popping up in the guest, like I'd expect to see if a

Re: [RFC PATCH 0/3] generic hypercall support

2009-05-09 Thread Gregory Haskins
Avi Kivity wrote: David S. Ahern wrote: I ran another test case with SMT disabled, and while I was at it converted TSC delta to operations/sec. The results without SMT are confusing -- to me anyways. I'm hoping someone can explain it. Basically, using a count of 10,000,000 (per your web page)

Re: [RFC PATCH 0/3] generic hypercall support

2009-05-09 Thread Gregory Haskins
Anthony Liguori wrote: Avi Kivity wrote: Hmm, reminds me of something I thought of a while back. We could implement an 'mmio hypercall' that does mmio reads/writes via a hypercall instead of an mmio operation. That will speed up mmio for emulated devices (say, e1000). It's easy to hook

Re: virtio net regression

2009-05-09 Thread Antoine Martin
Hi, Here is another one, any ideas? These oopses do look quite deep. Is it normal to end up in tcp_send_ack from pdflush?? Cheers Antoine [929492.154634] pdflush: page allocation failure. order:0, mode:0x20 [929492.154637] Pid: 291, comm: pdflush Not tainted 2.6.29.2 #5 [929492.154639] Call

Re: [PATCH -tip v5 4/7] tracing: add kprobe-based event tracer

2009-05-09 Thread Frédéric Weisbecker
Hi, 2009/5/9 Masami Hiramatsu mhira...@redhat.com: Add kprobes based event tracer on ftrace. This tracer is similar to the events tracer which is based on Tracepoint infrastructure. Instead of Tracepoint, this tracer is based on kprobes(kprobe and kretprobe). It probes anywhere where kprobes

Re: [PATCH -tip v5 4/7] tracing: add kprobe-based event tracer

2009-05-09 Thread Masami Hiramatsu
Frédéric Weisbecker wrote: Hi, 2009/5/9 Masami Hiramatsu mhira...@redhat.com: [...] + +/* event recording functions */ +static void kprobe_trace_record(unsigned long ip, struct trace_probe *tp, + struct pt_regs *regs) +{ + __trace_bprintk(ip,

boot=on option fails on win 2k/xp double boot

2009-05-09 Thread Federico Fissore
I've a windows (virtual) box with windows xp originally installed and a windows 2k lately installed If I run kvm from the command line for testing purposes everything is fine. If I run it with libvirt on the host, I does not boot, complaining with an I/O error the problem arises since

Re: [Qemu-devel] Re: Question about KVM and PC speaker

2009-05-09 Thread Sebastian Herbszt
Jan Kiszka wrote: Sebastian Herbszt wrote: Jan Kiszka wrote: Sebastian Herbszt wrote: Simon Bienlein wrote: Is a support for BIOS worked on right now? The vgabios (vgabios.c) has a FIXME should beep. Volker, do you plan to fix this? Which frequency should be used for the beep? Which

Re: [PATCH 1/3] virtio: find_vqs/del_vqs virtio operations

2009-05-09 Thread Rusty Russell
On Fri, 8 May 2009 10:18:22 pm Michael S. Tsirkin wrote: On Fri, May 08, 2009 at 04:37:06PM +0930, Rusty Russell wrote: On Thu, 7 May 2009 11:40:39 pm Michael S. Tsirkin wrote: This replaces find_vq/del_vq with find_vqs/del_vqs virtio operations, and updates all drivers. This is needed

Re: [RFC PATCH 0/3] generic hypercall support

2009-05-09 Thread David S. Ahern
Avi Kivity wrote: David S. Ahern wrote: I ran another test case with SMT disabled, and while I was at it converted TSC delta to operations/sec. The results without SMT are confusing -- to me anyways. I'm hoping someone can explain it. Basically, using a count of 10,000,000 (per your web

Re: [RFC PATCH 0/3] generic hypercall support

2009-05-09 Thread David S. Ahern
Gregory Haskins wrote: Avi Kivity wrote: David S. Ahern wrote: I ran another test case with SMT disabled, and while I was at it converted TSC delta to operations/sec. The results without SMT are confusing -- to me anyways. I'm hoping someone can explain it. Basically, using a count of

Re: boot=on option fails on win 2k/xp double boot

2009-05-09 Thread Gleb Natapov
On Sat, May 09, 2009 at 07:53:50PM +0200, Federico Fissore wrote: I've a windows (virtual) box with windows xp originally installed and a windows 2k lately installed Are they both installed on the same disk? If I run kvm from the command line for testing purposes everything is fine. If I

Re: [RFC PATCH 0/3] generic hypercall support

2009-05-09 Thread Avi Kivity
David S. Ahern wrote: kvm_stat shows same approximate numbers as with the TSC--ops/sec conversions. Interestingly, MMIO writes are not showing up as mmio_exits in kvm_stat; they are showing up as insn_emulation. That's a bug, mmio_exits ignores mmios that are handled in the kernel. -- Do