[ kvm-Bugs-1972449 ] netperf causes linux guest with virtnet kernel panic

2008-05-25 Thread SourceForge.net
Bugs item #1972449, was opened at 2008-05-26 08:55 Message generated for change (Comment added) made by amitshah You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1972449&group_id=180599 Please note that this message will contain a full copy of the comment

RE: [PATCH] [RFC][PATCH] kvm: kvmtrace: kvmtrace_format for supporting big_endian

2008-05-25 Thread Tan, Li
According to http://docs.python.org/lib/module-struct.html Character Byte order Size and alignment @ native native = native standard < little-endian standard > big-endian standard ! network (= big-endian) standard > [tan] so it looks like: >if reverse_flag == 0: >

Re: [PATCH v2 -mm 0/2] x86: per-device dma_mapping_ops

2008-05-25 Thread Amit Shah
On Sunday 25 May 2008 12:50:11 Muli Ben-Yehuda wrote: > On Thu, May 22, 2008 at 04:13:02PM +0530, Amit Shah wrote: > > OK; this sounds helpful. the hook can make a hypercall and confirm > > with the host kernel if the device in question is an assigned > > physical device. If yes, we replace the dma

KVM Test result, kernel c018f92.., userspace 57df8fc.. --Two issues fixed, one new issue

2008-05-25 Thread Yunfeng Zhao
Hi All, This is today's KVM test result against kvm.git c018f921a92baf1b32d943e8fc5232890be875f4 and kvm-userspace.git 57df8fc3c95411872d350724c9da99799361ccda. Two issues fixed: 1. virtnet: Unlikely: restart svq failed https://sourceforge.net/

[ kvm-Bugs-1968550 ] virtnet: Unlikely: restart svq failed

2008-05-25 Thread SourceForge.net
Bugs item #1968550, was opened at 2008-05-21 16:58 Message generated for change (Comment added) made by yunfeng You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1968550&group_id=180599 Please note that this message will contain a full copy of the comment t

[ kvm-Bugs-1972449 ] netperf causes linux guest with virtnet kernel panic

2008-05-25 Thread SourceForge.net
Bugs item #1972449, was opened at 2008-05-26 11:25 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1972449&group_id=180599 Please note that this message will contain a full copy

Re: PVDMA interrupt injection fix.

2008-05-25 Thread Amit Shah
[Use the new kvm list address] On Thursday 22 May 2008 18:22:43 Ben-Ami Yassour wrote: > Amit, > > Attached is a fix for pvdma interrupt injection, and it seems to work fine > with an e1000 NIC. The interrupt injection is generic for pci-passthrough and not just for pvdma (it'll work the same fo

[ kvm-Bugs-1959950 ] Fails to restore guests in real mode.

2008-05-25 Thread SourceForge.net
Bugs item #1959950, was opened at 2008-05-08 09:45 Message generated for change (Comment added) made by yunfeng You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1959950&group_id=180599 Please note that this message will contain a full copy of the comment t

Re: [patch 3/4] QEMU/KVM: non-virtualized ACPI PMTimer support

2008-05-25 Thread Marcelo Tosatti
On Sun, May 25, 2008 at 01:19:30PM +0300, Avi Kivity wrote: > Marcelo Tosatti wrote: > >QEMU support for direct pmtimer reads. Hopefully its safe, since its a > >read-only register ? > > > > ISTR that pmtimer can be either 24 bit or 32 bit. Can this cause a problem? Don't think so, since QEMU/

Re: [patch 3/4] QEMU/KVM: non-virtualized ACPI PMTimer support

2008-05-25 Thread Marcelo Tosatti
On Sun, May 25, 2008 at 01:18:46PM +0300, Avi Kivity wrote: > > int acpi_enabled; > >-uint32_t pm_io_base, smb_io_base; > >+uint32_t pm_io_base, pmtmr_base, smb_io_base; > > int pm_sci_int; > > unsigned long bios_table_cur_addr; > > unsigned long bios_table_end_addr; > >@@ -819,6 +819,12 @@ static

Re: [patch 4/4] KVM: allow direct access to PMTimer port

2008-05-25 Thread Marcelo Tosatti
On Sun, May 25, 2008 at 03:31:03PM +0300, Avi Kivity wrote: > Marcelo Tosatti wrote: > >There's not much point in exiting for pmtimer reads, since it runs at a > >fixed clock rate and its start value is undefined. > > > > On a migration farm with lots of different hardware, eventually all > gue

Re: [patch 4/4] KVM: allow direct access to PMTimer port

2008-05-25 Thread Marcelo Tosatti
On Sun, May 25, 2008 at 01:04:40PM +0300, Avi Kivity wrote: > >@@ -424,6 +425,10 @@ static __init int svm_hardware_setup(void) > > iopm_va = page_address(iopm_pages); > > memset(iopm_va, 0xff, PAGE_SIZE * (1 << IOPM_ALLOC_ORDER)); > > clear_bit(0x80, iopm_va); /* allow direct access to

[ kvm-Bugs-1919354 ] Booting four guests likely fails

2008-05-25 Thread SourceForge.net
Bugs item #1919354, was opened at 2008-03-19 16:18 Message generated for change (Comment added) made by yunfeng You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1919354&group_id=180599 Please note that this message will contain a full copy of the comment t

[ kvm-Bugs-1971851 ] Dummy bug to test email forwarder

2008-05-25 Thread SourceForge.net
Bugs item #1971851, was opened at 2008-05-25 15:13 Message generated for change (Comment added) made by avik You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1971851&group_id=180599 Please note that this message will contain a full copy of the comment thre

[ kvm-Bugs-1971851 ] Dummy bug to test email forwarder

2008-05-25 Thread SourceForge.net
Bugs item #1971851, was opened at 2008-05-25 15:13 Message generated for change (Comment added) made by avik You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1971851&group_id=180599 Please note that this message will contain a full copy of the comment thre

[ kvm-Bugs-1971851 ] Dummy bug to test email forwarder

2008-05-25 Thread SourceForge.net
Bugs item #1971851, was opened at 2008-05-25 15:13 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1971851&group_id=180599 Please note that this message will contain a full copy

Re: [BUGFIX/PATCH 0/6] kvm-s390 fixes

2008-05-25 Thread Avi Kivity
Martin Schwidefsky wrote: You could argue about the s390_enable_sie() function if it is architecture code or kvm code. Its sole purpose is to make it possible to execute sie. But I've sent the Acked-by. Sure, anybody who knows s390 knows that. The ack is to reassure those few people who do

Re: [patch 4/4] KVM: allow direct access to PMTimer port

2008-05-25 Thread Avi Kivity
Marcelo Tosatti wrote: There's not much point in exiting for pmtimer reads, since it runs at a fixed clock rate and its start value is undefined. On a migration farm with lots of different hardware, eventually all guests will have migrated and none of them will be able to use the passthrou

Re: KVM: avoid unnecessary memcpy in kvm_emulate_pio

2008-05-25 Thread Avi Kivity
Marcelo Tosatti wrote: When emulating in instructions there's no point in copying the destination register contents to vcpu->arch.pio_data since it will be overwritten by the ioport handler. Also remove the ->decache_regs() call, since as you mentioned there is no register change to writeback.

Re: [PATCH] Fix breakpoints coming into KVM that are corrupted from qemu

2008-05-25 Thread Avi Kivity
Jerone Young wrote: Bad breakpoints are being passed down to KVM due to the fact that breakpoint structure in the kvm_debug_guest structure are not being initialized. This fixes this. This fix can also be found in the RFC patches that Jan Kiszka has sent for adding soft breakpoints. App

Re: [PATCH] kvm-userland: Update .gitignore

2008-05-25 Thread Avi Kivity
Jan Kiszka wrote: Signed-off-by: Jan Kiszka <[EMAIL PROTECTED]> --- .gitignore | 24 1 file changed, 24 insertions(+) Applied, thanks. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm

Re: KVM Test result, kernel 3adebb9.., userspace 7913795.. --One new issue

2008-05-25 Thread Avi Kivity
Yunfeng Zhao wrote: 2. Fails to restore guests in real mode https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1959950&group_id=180599 I've tested memtest again, and it seems to migrate nicely. Can you retest? -- error compiling committee.c: too many arguments to function -- To

Re: [PATCH 0 of 5] PowerPC KVM fixes for 2.6.26

2008-05-25 Thread Avi Kivity
Hollis Blanchard wrote: Hi Avi, these bug fixes should be committed for 2.6.26. Most are pretty harmless. Although the mmap_sem locking problem is fatal if you hit it, in practice we simply shouldn't hit that error case anyways. Thanks; applied all. AFAICS only the locking fix is necessary

Re: [kvm-devel] [RFC][PATCH 3/4] kvm-vmx: KVM_EXIT_DEBUG on #BP exceptions

2008-05-25 Thread Avi Kivity
Hollis Blanchard wrote: We mostly try to keep cpu emulation outside userspace. Except for this debug stuff? :) Except when it's on the wrong side of the complexity/benefit or performance/cleanliness tradeoffs. (of course, that depends on what happens on real hardware. Is there

Re: [patch 3/4] QEMU/KVM: non-virtualized ACPI PMTimer support

2008-05-25 Thread Avi Kivity
Marcelo Tosatti wrote: QEMU support for direct pmtimer reads. Hopefully its safe, since its a read-only register ? ISTR that pmtimer can be either 24 bit or 32 bit. Can this cause a problem? -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: s

Re: [patch 3/4] QEMU/KVM: non-virtualized ACPI PMTimer support

2008-05-25 Thread Avi Kivity
Marcelo Tosatti wrote: QEMU support for direct pmtimer reads. Hopefully its safe, since its a read-only register ? With self-disable C2 + this I'm seeing less CPU usage when idle with CONFIG_CPU_IDLE enabled. Quite noticeable on SMP guests. Windows XP is comparable to standard (never seen it con

Re: [patch 4/4] KVM: allow direct access to PMTimer port

2008-05-25 Thread Avi Kivity
Marcelo Tosatti wrote: There's not much point in exiting for pmtimer reads, since it runs at a fixed clock rate and its start value is undefined. The KVM-specific ioctl to read the counter from userspace is not nice though. Ideas? CC: Len Brown <[EMAIL PROTECTED]> diff --git a/arch/x86/kvm/sv

Re: [PATCH] [RFC][PATCH] kvm: kvmtrace: kvmtrace_format for supporting big_endian

2008-05-25 Thread Avi Kivity
Tan, Li wrote: > I meant, you can change the definitions of D3REC, D4REC, etc. and not > worry about reversing once you've decoded the magic word. > > > [tan] so it looks like: >if reverse_flag == 0: > #print "host and data file are same endian order" >

Re: [PATCH] qemu: fix ATAPI read drive structure command

2008-05-25 Thread Avi Kivity
Alex Williamson wrote: I believe this fixes bug 1967368. Windows Vista hangs if you try to run diskpart.exe with a DVD image loaded. This does not occur on Xen because their version of Qemu doesn't try to emulate the GPCMD_READ_DVD_STRUCTURE command. If I comment out the version in KVM, diskpa

Re: [PATCH v2 -mm 0/2] x86: per-device dma_mapping_ops

2008-05-25 Thread Muli Ben-Yehuda
On Thu, May 22, 2008 at 04:13:02PM +0530, Amit Shah wrote: > OK; this sounds helpful. the hook can make a hypercall and confirm > with the host kernel if the device in question is an assigned > physical device. If yes, we replace the dma_ops. Though, the > original intent of having stackable ops i