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-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] [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-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] 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-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] 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] 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] [ 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] 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-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] 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-27 host oopses

2007-07-02 Thread Luca
> p = mc->objects[--mc->nobjs]; > memset(p, 0, size); > return p; > } MMU working memory was exhausted during a guest context switch. It has been fixed by: KVM: Lazy guest cr3 switching

Re: [kvm-devel] SPAM control of this mailing-list

2007-07-04 Thread Luca
rse, but that doesn't save you from running a local SPAM filter. FWIW GMail spam filter catches almost all the spam on this list, spamassassin on my machine does the rest. Luca - This SF.net email is sponsored by DB2 Ex

Re: [kvm-devel] [PATCH 2/2] KVM: Use the scheduler preemption hooks to make kvm preemptible

2007-07-11 Thread Luca
on X86 && EXPERIMENTAL > + depends on X86 && EXPERIMENTAL && PREEMPT_HOOKS > depends on X86_CMPXCHG64 || 64BIT select PREEMPT_HOOKS maybe? Luca - This SF.net email is sponsored by DB2 Exp

Re: [kvm-devel] Network definitions in a guest (FC6) under kvm

2007-07-12 Thread Luca
unique net segment I have a script for the 2nd solution, I can send as soon as I get home if you're interested. Luca - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express

Re: [kvm-devel] kvm-27 vs 28 I/O speed

2007-07-13 Thread Luca
mmit id by chance? > > > > -- Dave > > > > > commit 55a3212bc2f5ecddcd4c5cdf2bfb37ad71e45ff2 > Author: Luca Tettamanti <[EMAIL PROTECTED]> > Date: Tue Jun 5 14:47:33 2007 +0300 > > kvm: qemu: initialize ata ports as enabled > > this allows libata to see the qemu

Re: [kvm-devel] kvm-27 vs 28 I/O speed

2007-07-13 Thread Luca
uest > would fail to see the IDE controller. I found it to be that the IDE > controller wasn't enabled sometimes and setting the 0x80 bits as Luca > has done fixed the issue. > > Then, I found that later versions of KVM (sans my patch) seemed to work > fine so I somewhat assume

Re: [kvm-devel] kvm-27 vs 28 I/O speed

2007-07-13 Thread Luca
On 7/13/07, Gregory Haskins <[EMAIL PROTECTED]> wrote: > On Fri, 2007-07-13 at 16:46 +0200, Luca wrote: > > On 7/13/07, Gregory Haskins <[EMAIL PROTECTED]> wrote: > > > Just to clarify: you are suggesting that the "old" IDE driver used to > > see tha

Re: [kvm-devel] kvm-27 vs 28 I/O speed

2007-07-14 Thread Luca
; > There's your problem. With that patch, your kernel is using PIO instead > of DMA. > > I'm not 100% sure what's going here other than the fact that this > particular problem has cropped up a number of times on qemu-devel. It's > been very difficult to g

Re: [kvm-devel] kvm-27 vs 28 I/O speed

2007-07-15 Thread Luca
t 0x1408-0x140f, BIOS settings: hdc:pio, hdd:pio Hum, FC6 PIIX driver always comes up with the same mode, regardless of what I'm doing to the controller... Luca - This SF.net email is sponsored by DB2 Express Download DB2 Exp

Re: [kvm-devel] kvm-27 vs 28 I/O speed

2007-07-15 Thread Luca
On 7/15/07, Luca <[EMAIL PROTECTED]> wrote: > On 7/13/07, Dave Hansen <[EMAIL PROTECTED]> wrote: > > diff -ru kvm-fast-dmesg.txt kvm-slow-dmesg.txt > > > > Linux version 2.6.22 ([EMAIL PROTECTED]) (gcc version 4.1.2 (Ubuntu > > 4.1.2-0ubuntu4)) #13 Wed

Re: [kvm-devel] kvm-27 vs 28 I/O speed

2007-07-15 Thread Luca
On 7/15/07, Luca <[EMAIL PROTECTED]> wrote: > On 7/15/07, Luca <[EMAIL PROTECTED]> wrote: > > On 7/13/07, Dave Hansen <[EMAIL PROTECTED]> wrote: > > > diff -ru kvm-fast-dmesg.txt kvm-slow-dmesg.txt > > > > > > Linux version 2.6.22 ([EMA

Re: [kvm-devel] kvm-27 vs 28 I/O speed

2007-07-16 Thread Luca
On 7/16/07, Avi Kivity <[EMAIL PROTECTED]> wrote: > Luca wrote: > > On 7/15/07, Luca <[EMAIL PROTECTED]> wrote: > >> On 7/15/07, Luca <[EMAIL PROTECTED]> wrote: > >> > On 7/13/07, Dave Hansen <[EMAIL PROTECTED]> wrote: &

Re: [kvm-devel] capturing debug outputs

2007-07-17 Thread Luca
le (the same way you do with real hw). Append "console=ttyS0" (or "console=tty0 console=ttyS0" to have both) to kernel command line. Luca - This SF.net email is sponsored by DB2 Express Download DB2 Express C

Re: [kvm-devel] kvm-27 vs 28 I/O speed

2007-07-17 Thread Luca
On 7/17/07, Avi Kivity <[EMAIL PROTECTED]> wrote: > Luca wrote: > >> > >> So, would it be correct to revert the patch enabling the ports, assuming > >> people use the kvm-supplied bios? > > > > I think so. > > Please confirm that the original

Re: [kvm-devel] [ANNOUNCE] kvm-30 release

2007-07-19 Thread Luca
S (e.g. QEMU BIOS) which doesn't enable the port though. Luca As a side note: I'm currently busy with ICWE and tomorrow I'll be leaving for Rome so I cannot do further tests. - This SF.net email is spons

Re: [kvm-devel] qcow2 image growing without reason ?

2007-07-29 Thread Luca
HD in win xp it also indictates 6.4GB. Hum, then the used disk space is 6.4GB. "Selecting all files" may skip hidden/system/whatever files according to explorer settings. Luca - This SF.net email is sponsored by: Splunk

Re: [kvm-devel] kvm very slow

2007-08-07 Thread Luca
ly on of them can deliver the periodical interrupt. I think that work to program the HPET in dont-break-other-stuff mode is underway. Luca - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files

Re: [kvm-devel] kvm very slow

2007-08-07 Thread Luca
On 8/7/07, Dor Laor <[EMAIL PROTECTED]> wrote: > Luca claims the HPET intefer the RTC. Can it be disabled? ( I know some > new chipsets implement rtc using HPET). Basically HPET can operate in legacy mode - where it uses the same IRQ as the RTC (and RTC won't deliver any i

Re: [kvm-devel] kvm.qumranet.com uncontactable?

2007-08-12 Thread Luca
pect that we just have a bad ISP that doesn't peer well. We'll > work to fix this. Seems more like a firewall or something like that. IP routing is ok, I can reach the server (from Italy) just fine, but nothing responds (nothing at *all*, not event a RST - the same behaviour of i

Re: [kvm-devel] [PATCH] Add support for HPET periodic timer.

2007-08-13 Thread Luca
On 8/13/07, Daniel P. Berrange <[EMAIL PROTECTED]> wrote: > On Mon, Aug 13, 2007 at 11:04:46AM +0300, Avi Kivity wrote: > > Luca Tettamanti wrote: > > Something like: > > > > - try to use HPET (unless -no-rtc selected) > > - try to use RTC (unless -no-rtc

Re: [kvm-devel] a (bad) kvm story from a plain user

2007-08-14 Thread Luca
support > I ran /usr/bin/qemu as I didn't have /usr/local/kvm/bin/qemu like the HOWTO > mentioned (as I didn't compiled the kvm bundle myself...). Under debian the executable is called kvm; I believe that it's the same under

Re: [kvm-devel] kvm for Ubuntu 7.04 (was Re: a (bad) kvm story from a plain user)

2007-08-15 Thread Luca
ed on to buidling > kvm-33 from source tar ball which built fine. But, the kvm-33 tarball > had the svm source files in the the kernel directory. I notice those > files are not in the kvm-35 kernel directory (and are causing the > failure above). Is there some other repo svm files a

Re: [kvm-devel] [BUG][PATCH?] kvm: unhandled wrmsr: 0xc0000083

2007-08-17 Thread Luca
On 8/13/07, Avi Kivity <[EMAIL PROTECTED]> wrote: > Luca Tettamanti wrote: > > The patch stops the "unhandled wrmsr", but reboot is still not working > > (guest is stuck using 100% of the CPU). The last working userspace is > > KVM-28, and I tested it with re

Re: [kvm-devel] [Qemu-devel] [PATCH 0/4] Rework alarm timer infrastrucure - take 2

2007-08-17 Thread Luca
the improvement in a linux guest > when running on a windows host ? The improvements - beyond the refactoring - are either specific to Linux (HPET timer) or to UNIX in general (dynticks - POSIX timers are used). It may be possible to use one-shot timer on windows too, but I'm

Re: [kvm-devel] installing kvm on debian 4.0 r0

2007-08-18 Thread Luca
iced I > also needed): > > apt-get install kernel-package > apt-get install linux-headers-2.6-amd64 Since Debian has a KVM package you can do: apt-get build-dep kvm which should cover all the dependencies. Luca

Re: [kvm-devel] Running KVM without root privileges

2007-08-19 Thread Luca
rns I don't > want to do. > > The error message is : "warning: could not configure /dev/net/tun: no > virtual network emulation > Could not initialize device 'tap'' You need CAP_NET_ADMIN to fiddle with TUN/TAP. Luca

Re: [kvm-devel] Running KVM without root privileges

2007-08-19 Thread Luca
On 8/19/07, Eugene Coetzee <[EMAIL PROTECTED]> wrote: > Luca wrote: > >On 8/19/07, Eugene Coetzee <[EMAIL PROTECTED]> wrote: > >>Hi . > >> > >>I'm trying to run KVM on Feisty, 64 bit Intel with the "-net nic -net > >>tap" swi

Re: [kvm-devel] [PATCH 0/4] Rework alarm timer infrastrucure - take2

2007-08-19 Thread Luca
On 8/19/07, Luca Tettamanti <[EMAIL PROTECTED]> wrote: > +static uint64_t qemu_next_deadline(void) { > +uint64_t nearest_delta_us = ULLONG_MAX; > +uint64_t vmdelta_us; Hum, I introduced a bug here... those vars should be signed. On the overhead introduced: how do you me

Re: [kvm-devel] [Qemu-devel] Re: [PATCH 0/4] Rework alarm timer infrastrucure - take2

2007-08-20 Thread Luca
On 8/20/07, malc <[EMAIL PROTECTED]> wrote: > On Mon, 20 Aug 2007, Luca Tettamanti wrote: > > > Il Sun, Aug 19, 2007 at 10:31:26PM +0300, Avi Kivity ha scritto: > >> Luca wrote: > >>> On 8/19/07, Luca Tettamanti <[EMAIL PROTECTED]> wrote: > >

Re: [kvm-devel] [Qemu-devel] [PATCH 3/4] Add support for HPET periodic timer.

2007-08-21 Thread Luca
On 8/21/07, Matthew Kent <[EMAIL PROTECTED]> wrote: > On Sat, 2007-18-08 at 01:11 +0200, Luca Tettamanti wrote: > > plain text document attachment (clock-hpet) > > Linux operates the HPET timer in legacy replacement mode, which means that > > the periodic interrupt of th

Re: [kvm-devel] [PATCH 0/4] Rework alarm timer infrastrucure - take2

2007-08-22 Thread Luca
On 8/22/07, Avi Kivity <[EMAIL PROTECTED]> wrote: > Luca Tettamanti wrote: > > Il Wed, Aug 22, 2007 at 08:02:07AM +0300, Avi Kivity ha scritto: > > > >> Luca Tettamanti wrote: > >> > >> > >>> Actually I'm having troubles with cycleso

Re: [kvm-devel] [PATCH 0/4] Rework alarm timer infrastrucure - take2

2007-08-22 Thread Luca
On 8/22/07, Avi Kivity <[EMAIL PROTECTED]> wrote: > Luca wrote: > >>> This is QEMU, with dynticks and HPET: > >>> > >>> % time seconds usecs/call callserrors syscall > >>> -- --- --- - --

Re: [kvm-devel] [PATCH 0/4] Rework alarm timer infrastrucure - take2

2007-08-22 Thread Luca
On 8/22/07, Luca <[EMAIL PROTECTED]> wrote: > I see a lot of sub ms timer_settime(). Many of them are the result of > ->expire_time being less than the current qemu_get_clock(). False alarm, this was a bug in the debu

Re: [kvm-devel] [PATCH 0/4] Rework alarm timer infrastrucure - take2

2007-08-22 Thread Luca
On 8/22/07, Luca <[EMAIL PROTECTED]> wrote: > On 8/22/07, Avi Kivity <[EMAIL PROTECTED]> wrote: > > Luca wrote: > > >>> This is QEMU, with dynticks and HPET: > > >>> > > >&

Re: [kvm-devel] [PATCH 0/4] Rework alarm timer infrastrucure - take2

2007-08-22 Thread Luca
thus can be > >> ignored). > >> VIRTUAL just becomes more accurate with dyntics, before multiple > >> timers were batched together. > >> > >> > Or maybe your host kernel can't support such a high rate. > >> > >> I don'

Re: [kvm-devel] serious-looking warning building kvm-36

2007-08-23 Thread Luca
be a 64bit integer (and the shift would be acceptable). There are a couple more of warning related to this issue, a possible solution to silence the warning is to use always 64bit integers instead of the longs. Luca - This SF.n

Re: [kvm-devel] tun/tap kernel module

2007-08-23 Thread Luca
On 8/23/07, Cam Macdonell <[EMAIL PROTECTED]> wrote: > I'm trying to setup networking on FC6. Where can I find the tun/tap > interface? CONFIG_TUN But I'm pretty sure that default FC kernel has the module already built. T

Re: [kvm-devel] Using the VNC option

2007-08-24 Thread Luca
h -vnc :0 (or :1, :2, etc. - in this way you can manage multiple independent VMs), then connect with vncviewer :0 (or 123.123.123.123:0 for remote connections). Luca - This SF.net email is sponsored by: Splunk Inc. Still grepping

Re: [kvm-devel] [Qemu-devel] [PATCH 3/4] Add support for HPET periodic timer.

2007-08-24 Thread Luca
anilla 2.6.22.3 on that machine. Try: cat /sys/devices/system/clocksource/clocksource0/available_clocksource do you see HPET listed twice? Luca - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find

Re: [kvm-devel] KVM-36 compile error on Fedora 7

2007-08-24 Thread Luca
you run "make kernel V=1" (on a clean source) and post the result? > Am I losing anything important by commenting them out? You can workaround by adding: #define KVM_EXIT_SET_TPR 11 Luca - This SF.net email is sp

Re: [kvm-devel] KVM-36 compile error on Fedora 7

2007-08-25 Thread Luca
usr/src/kernels/2.6.22.4- 65.fc7-x86_64/include -MMD -MF ./.kvmctl.d > -g -fomit-frame-pointer -Wall -m64 -fno-stack-protector -c -o kvmctl.o The include directory is wrong. Have you used --with-patched-kernel? Luca - Thi

Re: [kvm-devel] KVM-36 compile error on Fedora 7

2007-08-25 Thread Luca
your own kernel modules. Do you *really* want to do that? Luca - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX

Re: [kvm-devel] Userspace hypercalls?

2007-08-27 Thread Luca
ied. > if it isn't guaranteed to be the current thread, we're back > with scheduler involvement, and possibly cacheline bouncing. It's possible to use pthread_sigmask() to block the signal on all threads but one. But this w

Re: [kvm-devel] [RFC][PATCH 5/6][KVM VIRTIO] Add the network device code

2007-08-28 Thread Luca
copies or substantial portions of the Software. [cut] Shouldn't you use the standard GPL boilerplate? (IANAL, so maybe the text above is a superset of the GPL and is fine...) Luca - This SF.net email is sponsored by: Splun

Re: [kvm-devel] [RFC][PATCH 5/6][KVM VIRTIO] Add the network device code

2007-08-29 Thread Luca
ong branch ;-) ) I prefer to clone the whole tree (disk space is cheap...), sharing GIT object where possible, e.g. git clone --reference kvm.avi git://kvm.qumranet.com/home/dor/src/virtio/kvm kvm.dor where kvm.avi is you existing kvm git repository. Luca

Re: [kvm-devel] [RFC][PATCH 5/6][KVM VIRTIO] Add the network device code

2007-08-29 Thread Luca
On 8/29/07, Cam Macdonell <[EMAIL PROTECTED]> wrote: > Luca wrote: > > On 8/29/07, Cam Macdonell <[EMAIL PROTECTED]> wrote: > >> Dor Laor wrote: > >>> The code can now be accessed by git: > >>> git://kvm.qumranet.com/home/dor/src/virtio/kvm

Re: [kvm-devel] kvm guests are not able to restart

2007-09-03 Thread Luca
what can be a problem? is it a known bug or it's just not working for me? It's known, but ATM there's no fix available. For more details see: http://thread.gmane.org/gmane.comp.emulators.kvm.devel/5651/focus=6003 and following mails. Luca --

Re: [kvm-devel] kvm guests are not able to restart

2007-09-03 Thread Luca
On 9/3/07, Avi Kivity <[EMAIL PROTECTED]> wrote: > Farkas Levente wrote: > > Luca wrote: > > > >> On 9/3/07, Farkas Levente <[EMAIL PROTECTED]> wrote: > >> > >>> hi, > >>> i've got a centos-5 x86_64 kvm-35 host system wit

Re: [kvm-devel] (long) kvm and virt-manager not ready for daily usage

2007-09-08 Thread Luca
Linux may refuse to use ACPI without them (it depends on the configuration). Luca - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio

Re: [kvm-devel] Intel-only or AMD Opteron as well?

2007-09-08 Thread Luca
aka "Pacifica". > The $1M (or $0.02) question is... does KVM include any optimizations for the > AMD virtualization extensions? Yes, load kvm-amd. Luca - This SF.net email is sponsored by: Microsoft Defy a

Re: [kvm-devel] (long) kvm and virt-manager not ready for daily usage

2007-09-08 Thread Luca
On 9/8/07, Farkas Levente <[EMAIL PROTECTED]> wrote: > Luca wrote: > > On 9/8/07, Farkas Levente <[EMAIL PROTECTED]> wrote: > >> kvm is not ready for production use for many reason: > >> it can't reboot which imho a very basic feature, what's more c

Re: [kvm-devel] Intel-only or AMD Opteron as well?

2007-09-08 Thread Luca
Yet I visit some articles like this > one > > http://aplawrence.com/Linux/kvm_virtualization.html > > which claims that Xen is "THE FASTEST" approach to virtualization. How can > it be faster since it uses paravirtualization (software) instead of direct > hardwa

Re: [kvm-devel] [BUG] GPF on hardware breakpoints (preempt_notifier)

2007-09-09 Thread Luca
On 9/9/07, Avi Kivity <[EMAIL PROTECTED]> wrote: > Luca Tettamanti wrote: > > Hi, > > while debugging a program with GDB I got a GPF which seems related to > > KVM. Note that I was *not* using the debugger inside the guest nor on > > the virtual machine. The

Re: [kvm-devel] [BUG] GPF on hardware breakpoints (preempt_notifier)

2007-09-09 Thread Luca
On 9/9/07, Anthony Liguori <[EMAIL PROTECTED]> wrote: > Luca wrote: > > On 9/9/07, Avi Kivity <[EMAIL PROTECTED]> wrote: > > > >> Luca Tettamanti wrote: > >> > >>> Hi, > >>> while debugging a program with GDB I got a GPF which

Re: [kvm-devel] Build of kvm-37 fails

2007-09-10 Thread Luca
> $dmesg > [54716.482444] kvm: Unknown symbol __divdi3 kvm.ko fails to load due to a 64 bit division, see: http://git.kernel.org/?p=linux/kernel/git/avi/kvm.git;a=commitdiff;h=e44af0f4ee99974ce40102e23784bc3cae7f4466 Luca > > [54716.492596] kvm_intel: Unknown symbol kvm_lapic_rese

Re: [kvm-devel] KDE4 beta2 LIve CD does not boot

2007-09-13 Thread Luca
gt; code: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 --> 00 > > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > > 00 00 00 00 00 > > Cancelado (core dumped) > > Can you give us some additio

Re: [kvm-devel] [ANNOUNCE] kvm-38 release

2007-09-14 Thread Luca
windows xp and got the following > > output. > > > > Reboot was improved in kvm-39, but not completely fixed. I'll nail it > down in kvm-40 or kvm-41. You can reboot linux guests passing "reboot=b" on kernel command line. Don't know about win... Luca -

Re: [kvm-devel] [ANNOUNCE] kvm-40 release

2007-09-17 Thread Luca
an you setup a serial console (Documentation/serial-console.txt) or at least netconsole (Documentation/networking/netconsole.txt)? > just to clarify, if i've a 4 core host cpus can i give 4 cpus for both > of the 2 guests? Yes, virtual CPUs are mapped to threads. Luca --

Re: [kvm-devel] [PATCH] Add support for a basic boot menu to the bios

2007-09-17 Thread Luca
s and gcc to emit 16bit code (e.g. HPA rewrote i386 boot code in plain C)... Luca - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012000

Re: [kvm-devel] [ANNOUNCE] kvm-42 release

2007-09-20 Thread Luca
IDE probe. Same problem with KVM-41 (last known working is KVM-36, I haven't tested anything in between). In both cases -no-kvm-irqchip fixes the problem. Log attached. Luca Linux version 2.6.22.2-42.fc6 ([EMAIL PROTECTED]) (gcc version 4.1.2 20070626 (Red Hat 4.1.2-13)) #1 SMP Wed Aug 15 11

Re: [kvm-devel] windows 2003 smp guest

2007-09-20 Thread Luca
of HAL > exists what are the advantage/disadvantages them. how can i > change/configure this? Hardware Abstraction Layer. See: http://support.microsoft.com/kb/99588 http://en.wikipedia.org/wiki/Architecture_of_Windows_NT Luca ---

Re: [kvm-devel] [ANNOUNCE] kvm-42 release

2007-09-21 Thread Luca
On 9/21/07, Avi Kivity <[EMAIL PROTECTED]> wrote: > Luca wrote: > > On 9/20/07, Avi Kivity <[EMAIL PROTECTED]> wrote: > > > >> Not much user visible change besides the OpenBSD regression fix. > >> > >> As usual, if you have an issue please tr

Re: [kvm-devel] Bug-Report: kvm-44 crashes with -no-kvm with -rc6 host on AMD64 (Stepping F)

2007-09-24 Thread Luca
nd -serial file:/tmp/log.txt to KVM command line and add "console=ttyS0" to the guest kernel command line. Luca - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual S

Re: [kvm-devel] [PATCH v2] Use net-tools as a fallback for iproute2 for bridge configuration

2007-09-25 Thread Luca
f [ -x /sbin/ip ]; then > + switch=$(/sbin/ip route list | awk '/^default / { print $NF }') NAK on this piece. This won't work with non-trivial setups (yes, I now that the original script is broken too, but since you are touching it...). See: http://bugs.debian.or

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

Re: [kvm-devel] Some FAQ questions

2008-04-22 Thread Luca Tettamanti
se cfq as the > I/O scheduler. Is cfq still fair in the guest? The VM re-dispatches the requests (at least when using QEMU IDE) and the host can reschedule them at will. Luca - This SF.net email is sponsored by the 2008 Java

Re: [kvm-devel] [PATCH] Make virtio devices multi-function

2008-04-22 Thread Luca Tettamanti
; +static int devfn = 7; > + > +if ((devfn % 8) == 7) > + devfn = -1; > +else > + devfn++; This code look strange... devfn should be passed to virtio_init_pci by virtio-{net,blk} init functions, no? Luca ---

Re: [kvm-devel] initiating linux guest shutdown from host

2008-04-23 Thread Luca Tettamanti
lt ACPI script of the debian stops the desktop manager if it's running but doesn't shut down the machine. If the ACPI daemon is not running in the guest then the event is lost... Luca - This SF.net email is spo

Re: [kvm-devel] [kvm-ppc-devel] Top level kvm-userspace directory getting crowded ... need new dir for qemu dependencies

2008-03-02 Thread Luca Barbato
#x27;s why today some people are hunting copies and submitting patches to cleanup that mess. lu -- Luca Barbato Gentoo Council Member Gentoo/linux Gentoo/PPC http://dev.gentoo.org/~lu_zero - This SF.net email is sponsored by:

Re: [kvm-devel] severe bug in 2.6.23+ kvm.git

2007-10-19 Thread Luca Tettamanti
.1 vanilla has survived and is currently still under test. > kvm.git tag master killed our filesystem at least three times.since monday. linus-git has at least one bug with SG chaining, but usually it just hangs the machine. Patch is here: http://lkml.org/lkml/2007/10/17/269 Luca --

Re: [kvm-devel] no quit on halt for linux 2.6.23 x86 guest

2007-10-29 Thread Luca Tettamanti
m does not help. Try acpi=force on the kernel command line (guest). QEmu doesn't expose a DMI block and Linux guests usually don't enable ACPI since they're unable to check BIOS year (all BIOSes shipped before 2001 are blacklisted be

Re: [kvm-devel] Vista Networking

2007-11-05 Thread Luca Tettamanti
was fixed in QEMU CVS a while ago, I believe that Avi pulled that patch when rebased KVM userspace. Luca - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Sear

Re: [kvm-devel] Spawning threads in KVM/QEMU

2007-11-13 Thread Luca Tettamanti
hen using RTC or HPET for timing you also need to mask SIGIO; you may also need to change F_SETOWN (enable_sigio_timer) with the correct thread id, i.e.: fcntl(fd, F_SETOWN, gettid()); Luca - This SF.net email is sponsored by: Splunk Inc.

Re: [kvm-devel] [PATCH] fix -kernel option

2007-12-07 Thread Luca Tettamanti
> They'll never be touched by anyone so it doesn't actually increase the > resident size. Iff the host kernel is configured to overcommit memory. Luca - SF.Net email is sponsored by: Check out t

[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] [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] 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
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

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-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-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] [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-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-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

[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

[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-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

  1   2   >