Re: [kvm-devel] opening windows from linux (using kvm) in full screen by default

2007-07-02 Thread Luca
On 7/2/07, Mark Ryden <[EMAIL PROTECTED]> wrote: > My question is: > I am launching windows 2003 from linux by > "/usr/local/kvm/bin/qemu-system-x86_64 . -hda vdisk.img -cdrom > /dev/hdb -no-acpi -boot d -m 384". -full-screen and, please, man pages

Re: [kvm-devel] [ kvm-Bugs-1740031 ] Kubuntu 7.04 fails to boot as guest- hangs after kernel boot

2007-06-28 Thread Luca
On 6/22/07, Luca <[EMAIL PROTECTED]> wrote: > On 6/22/07, Morten Lund <[EMAIL PROTECTED]> wrote: > > On Thursday 21 June 2007 01:24, Luca wrote: > > > On 6/20/07, SourceForge.net <[EMAIL PROTECTED]> wrote: > > > > Bugs item #1740031, was opened a

Re: [kvm-devel] In kernel PIC support: kernel patch

2007-06-27 Thread Luca
tion (the device *always* uses a write transaction to signal the interrupt condition, and the host bridge may turn the message into a legacy interrupt) so that the OS can drive the device even without fiddling with MSI. As Eddie said XP probably would be confused by MSI-only devices. Luca

Re: [kvm-devel] [ kvm-Bugs-1740031 ] Kubuntu 7.04 fails to boot as guest- hangs after kernel boot

2007-06-20 Thread Luca
pe > on the keyboard while the kernel boots (before the actual hang). Seems to be > very random though. Try booting with 'nolapic' on kernel command line. Luca - This SF.net email is sponsored by DB2 Express Do

Re: [kvm-devel] Duplicate content in files

2007-06-19 Thread Luca
ng to GIT those files haven't been touched, something went wrong during the initial import. Luca - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of

Re: [kvm-devel] [PATCH 1/2] kvm: Fix x86 emulator writeback

2007-06-19 Thread Luca Tettamanti
nsn: /* Disable writeback. */ - dst.orig_val = dst.val; + no_wb = 1; switch (b) { case 0x09: /* wbinvd */ break; Luca -- "Ci sono le balle, le megaballe e le statistiche". Mark Twain -

[kvm-devel] [PATCH 2/2] kvm: avoid useless memory write when possible

2007-06-19 Thread Luca Tettamanti
When writing to normal memory and the memory area is unchanged the write can be safely skipped, avoiding the costly kvm_mmu_pte_write. Signed-Off-By: Luca Tettamanti <[EMAIL PROTECTED]> --- Tested with Fedora7, Solaris10 and WinXP on a 32 bit host with Intel CPU. drivers/kvm/kvm_

[kvm-devel] [PATCH 1/2] kvm: Fix x86 emulator writeback

2007-06-19 Thread Luca Tettamanti
and perform the writeback stage in the emulation unless it's explicitly disabled (currently push and some 2 bytes instructions may disable the writeback). Signed-Off-By: Luca Tettamanti <[EMAIL PROTECTED]> --- Tested with Fedora7, Solaris10 and WinXP on a 32 bit host with Intel CPU

[kvm-devel] [PATCH 2/2] kvm: avoid useless memory write when possible

2007-06-17 Thread Luca Tettamanti
When writing to normal memory and the memory area is unchanged the write can be safely skipped, avoiding the costly kvm_mmu_pte_write. Signed-Off-By: Luca Tettamanti <[EMAIL PROTECTED]> --- drivers/kvm/kvm_main.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff -

[kvm-devel] [PATCH 1/2] kvm: Fix x86 emulator writeback

2007-06-17 Thread Luca Tettamanti
and always perform the writeback stage in the emulation. Signed-Off-By: Luca Tettamanti <[EMAIL PROTECTED]> --- drivers/kvm/x86_emulate.c | 60 +++- 1 file changed, 29 insertions(+), 31 deletions(-) diff --git a/drivers/kvm/x86_emulate.c b/drive

Re: [kvm-devel] [BUG] Oops with KVM-27

2007-06-17 Thread Luca Tettamanti
Il Sat, Jun 16, 2007 at 10:43:23AM +0300, Avi Kivity ha scritto: > Luca Tettamanti wrote: > > Il Fri, Jun 15, 2007 at 12:06:50PM +0300, Avi Kivity ha scritto: > > > >>> After a bit of thinking: it's correct but removes an optimization; > >>> fur

Re: [kvm-devel] Suspending with kvm and kvm_loaded

2007-06-16 Thread Luca
use to unload > > (or there's a nasty bug somewhere). > > Nahh, that's too brutal. Is there a way to (hypothetically) read: > > # cat /sys/module/kvm/parameters/number_of_running_vms > 2 cat /sys/module/kvm

Re: [kvm-devel] [BUG] Oops with KVM-27

2007-06-15 Thread Luca Tettamanti
pa, new, bytes); + + return X86EMUL_CONTINUE; } static unsigned long get_segment_base(struct kvm_vcpu *vcpu, int seg) Both patches apply to kvm-28 and have been run-time tested with 32bit guest on 32bit host, with a VMX processor. If patches look good I'll resubmit with proper cha

Re: [kvm-devel] [BUG] Oops with KVM-27

2007-06-14 Thread Luca
On 6/15/07, Luca Tettamanti <[EMAIL PROTECTED]> wrote: > Il Fri, Jun 15, 2007 at 12:53:24AM +0200, Luca Tettamanti ha scritto: > > Il Thu, Jun 14, 2007 at 11:26:29AM +0300, Avi Kivity ha scritto: > > > Luca Tettamanti wrote: > > > >With GOOD_APIC apic_read_arou

Re: [kvm-devel] [BUG] Oops with KVM-27

2007-06-14 Thread Luca Tettamanti
Il Fri, Jun 15, 2007 at 12:53:24AM +0200, Luca Tettamanti ha scritto: > Il Thu, Jun 14, 2007 at 11:26:29AM +0300, Avi Kivity ha scritto: > > Luca Tettamanti wrote: > > >With GOOD_APIC apic_read_around is a nop, while apic_write_around is a > > >normal write. With !

Re: [kvm-devel] [BUG] Oops with KVM-27

2007-06-14 Thread Luca Tettamanti
Il Thu, Jun 14, 2007 at 11:26:29AM +0300, Avi Kivity ha scritto: > Luca Tettamanti wrote: > >With GOOD_APIC apic_read_around is a nop, while apic_write_around is a > >normal write. With !GOOD_APIC apic_write_around writes to the APIC reg > >using xchg. With !GOO

Re: [kvm-devel] [BUG] Oops with KVM-27

2007-06-14 Thread Luca Tettamanti
Il Thu, Jun 14, 2007 at 11:26:29AM +0300, Avi Kivity ha scritto: > Luca Tettamanti wrote: > >With GOOD_APIC apic_read_around is a nop, while apic_write_around is a > >normal write. With !GOOD_APIC apic_write_around writes to the APIC reg > >using xchg. With !GOO

Re: [kvm-devel] kvm-intel kernel panicing 2.6.22 on T7200

2007-06-14 Thread Luca
ght on the lockup. If nothing happens it means that CPU is not even receiving NMIs... Luca - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of yo

Re: [kvm-devel] [BUG] Oops with KVM-27

2007-06-13 Thread Luca Tettamanti
Il Wed, Jun 13, 2007 at 11:59:25AM +0300, Avi Kivity ha scritto: > Luca Tettamanti wrote: > >Il Mon, Jun 11, 2007 at 10:44:45AM +0300, Avi Kivity ha scritto: > > > >>Luca wrote: > >> > >>>>I've managed to reproduce this on kvm-21 (it t

Re: [kvm-devel] [BUG] Oops with KVM-27

2007-06-12 Thread Luca Tettamanti
Il Mon, Jun 11, 2007 at 10:44:45AM +0300, Avi Kivity ha scritto: > Luca wrote: > >> > >>I've managed to reproduce this on kvm-21 (it takes many boots for this > >>to happen, but it does eventually). > > > >Hum, any clue on the cause? > > Fro

Re: [kvm-devel] [BUG] Oops with KVM-27

2007-06-12 Thread Luca
On 6/11/07, Avi Kivity <[EMAIL PROTECTED]> wrote: > Luca wrote: > >> > >> I've managed to reproduce this on kvm-21 (it takes many boots for this > >> to happen, but it does eventually). > > > > Hum, any clue on the cause? > > From what

Re: [kvm-devel] [BUG] Oops with KVM-27

2007-06-12 Thread Luca
On 6/10/07, Avi Kivity <[EMAIL PROTECTED]> wrote: > Luca wrote: > > On 6/5/07, Avi Kivity <[EMAIL PROTECTED]> wrote: > >> Luca Tettamanti wrote: > >> > Il Mon, Jun 04, 2007 at 11:51:10PM +0300, Avi Kivity ha scritto: > >> > > >> >&

Re: [kvm-devel] [BUG] Oops with KVM-27

2007-06-07 Thread Luca
On 6/5/07, Avi Kivity <[EMAIL PROTECTED]> wrote: > Luca Tettamanti wrote: > > Il Mon, Jun 04, 2007 at 11:51:10PM +0300, Avi Kivity ha scritto: > > > >>> While doing repeated tests with the installer I ran into another > >>> (unrelated) problem

Re: [kvm-devel] PIIX/IDE: ports disabled in PCI config space?

2007-06-05 Thread Luca
On 6/5/07, Avi Kivity <[EMAIL PROTECTED]> wrote: > Luca Tettamanti wrote: > > Hello, > > I'm testing the new Fedora7 under KVM. As you may know Fedora has > > migrated to the new libata drivers. > > > > ata_piix is unhappy with

Re: [kvm-devel] [BUG] Oops with KVM-27

2007-06-04 Thread Luca Tettamanti
nolapic', i.e. disabling the local APIC on the guest kernel. I've also tried disabling TSC (notsc) and forcing PIT as the clocksource (clocksouce=pit clock=pit); neither of them helped. Luca -- Il dottore mi ha detto

[kvm-devel] PIIX/IDE: ports disabled in PCI config space?

2007-06-04 Thread Luca Tettamanti
Hello, I'm testing the new Fedora7 under KVM. As you may know Fedora has migrated to the new libata drivers. ata_piix is unhappy with the PIIX IDE controller provided by QEmu/KVM: libata version 2.20 loaded. ata_piix :00:01.1: version 2.10ac1 PCI: Setting latency timer of device :00:01.1

Re: [kvm-devel] [BUG] Oops with KVM-27

2007-06-04 Thread Luca Tettamanti
Hi, Il Mon, Jun 04, 2007 at 12:35:37PM +0300, Avi Kivity ha scritto: > Luca Tettamanti wrote: > >Hello, > >my kernel just exploded :) > > > >The host is running 2.6-git-current, with KVM modules from KVM-27 > >package. kernel is 32bit, SMP, with PREEMPT enab

[kvm-devel] [BUG] Oops with KVM-27

2007-06-03 Thread Luca Tettamanti
m_user+0x26/0xe6 [] kvm_vcpu_ioctl+0x0/0xcff [kvm] [] do_ioctl+0x1f/0x62 [] vfs_ioctl+0x237/0x249 [] sys_ioctl+0x33/0x4d [] syscall_call+0x7/0xb === Luca -- Il coraggio non mi manca. E` la paura che mi frega... --

Re: [kvm-devel] [KVM][PATCH] smp_processor_id() and sleeping functions used in invalid context

2006-12-31 Thread Luca
On 12/31/06, Avi Kivity <[EMAIL PROTECTED]> wrote: > Luca Tettamanti wrote: > > Hello, > > I'm testing KVM on a Core2 CPU. I'm running kernel 2.6.20-git (pulled > > few hours ago), configured with SMP and PREEMPT. > > > > I'm hitting 2 di

[kvm-devel] [KVM][PATCH] smp_processor_id() and sleeping functions used in invalid context

2006-12-31 Thread Luca Tettamanti
allocation (vmx_vcpu_setup, vmx.c:1103) done inside get_cpu(). This first warning can be fixed by moving the cpu_to_node conversion. Not sure that it's correct though. Between vmx_create_vcpu() and vmx_vcpu_load() the CPU may change and the 'vmcs' may be actually on a differnt node, n

<    1   2