Re: [kvm-devel] [RFC PATCH 4/8] KVM: Add a gpa_to_hva helper function

2007-08-14 Thread Amit Shah
On Tuesday 14 August 2007 09:37:45 Gregory Haskins wrote: > Signed-off-by: Gregory Haskins <[EMAIL PROTECTED]> > --- > > drivers/kvm/kvm.h |1 + > drivers/kvm/mmu.c | 12 > 2 files changed, 13 insertions(+), 0 deletions(-) > > diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h >

Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images

2007-08-14 Thread Kevin Wolf
Jorge Lucángeli Obes schrieb: > qemu: could not open hard disk image '@config' I think this was a suggestion for implementation, not a working feature. > I did not know about '@config', and if I can get it to work, I like it > better than a shell script. However, I think it does not completely >

Re: [kvm-devel] [RFC PATCH 0/8] PV device infrastructure

2007-08-14 Thread Dor Laor
>This patch series represents the state of my current work w.r.t. PV and >KVM. >It is still a work in progress and so far has only been compile tested >(though >earlier versions had a test harness that ironed many bugs out). I >submit it >now as an RFC on the directions I am taking and to solicit

Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images

2007-08-14 Thread Laurent Vivier
Thiemo Seufer wrote: > Jorge Lucángeli Obes wrote: > [snip] >> When I read Avi's TODO, I basically thought about getting rid of the >> long command lines I had to store in scripts. I wanted to write that >> command line once, and then forgetting about it, until I needed to >> change it. > > Instea

Re: [kvm-devel] lapic3 branch rebased

2007-08-14 Thread Avi Kivity
Dong, Eddie wrote: > Avi Kivity wrote: > >> lapic3 has been rebased, compile tested, and pushed. note that this >> does not include the patch-folding work I'd like to do before merging >> into master. >> >> > Thanks and verified it is fine for RHEL5U, XPSP2, FC5, Win2003. So feel > free t

Re: [kvm-devel] [RFC PATCH 1/8] IOQ: Adding basic definitions for IO-Queue logic

2007-08-14 Thread Dor Laor
>IOQ is a generic shared-memory-queue mechanism that happens to be >friendly >to virtualization boundaries. Note that it is not virtualization >specific >due to its flexible transport layer. > >Signed-off-by: Gregory Haskins <[EMAIL PROTECTED]> >--- > > include/linux/ioq.h | 178 +

Re: [kvm-devel] lapic3 branch rebased

2007-08-14 Thread Avi Kivity
Dong, Eddie wrote: > Avi Kivity wrote: > >> lapic3 has been rebased, compile tested, and pushed. note that this >> does not include the patch-folding work I'd like to do before merging >> into master. >> >> > Thanks and verified it is fine for RHEL5U, XPSP2, FC5, Win2003. So feel > free t

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

2007-08-14 Thread Alistair John Strachan
On Monday 13 August 2007 09:43:51 Avi Kivity wrote: > Luca wrote: > > On 8/12/07, Avi Kivity <[EMAIL PROTECTED]> wrote: > >> Alistair John Strachan wrote: > >>> Hi there, > >>> > >>> The site at kvm.qumranet.com seems to be inaccessible. My DNS comes > >>> directly from the root servers, so it is n

Re: [kvm-devel] (no subject)

2007-08-14 Thread Carsten Otte
Izik Eidus wrote: > we are working on swapping support for the guests in kvm. > we want to allow management of the memory swapping of the guests from kvm. This is excellent, thank you! > this is request for comment, so any idea you have please write to me. I ran into a few while reading the code:

Re: [kvm-devel] [RFC PATCH 4/8] KVM: Add a gpa_to_hva helper function

2007-08-14 Thread Gregory Haskins
On Tue, 2007-08-14 at 12:43 +0530, Amit Shah wrote: > On Tuesday 14 August 2007 09:37:45 Gregory Haskins wrote: > There are several things about this patch which aren't nice: > - It implicitly does a kmap_atomic. That's a bad thing for procedures that > might sleep after calling this > - It's pro

[kvm-devel] FW: (no subject)

2007-08-14 Thread Izik Eidus
hey Carsten, about the dirty pages, i think you are right, i will look at this!. about the api, as far as i can tell yes, we are going to keep the api to both options. (when i wrote it, i wrote it with thought about how not breaking the old api.) thanks for the comments! :) -Original Message

Re: [kvm-devel] [RFC PATCH 0/8] PV device infrastructure

2007-08-14 Thread Gregory Haskins
On Tue, 2007-08-14 at 00:44 -0700, Dor Laor wrote: > Can you provide performance figures? What’s the tcp/udp between guest & host? None yet :( Its pretty much "pseudo code that compiles" at this point. ;) I still have to work out several issues before I can even begin testing. Interrupt managem

Re: [kvm-devel] [RFC PATCH 1/8] IOQ: Adding basic definitions for IO-Queue logic

2007-08-14 Thread Gregory Haskins
On Tue, 2007-08-14 at 01:01 -0700, Dor Laor wrote: > Why not use the standard naming for guest/host or front/backend? I was trying to stress that this isn't virtualization specific. For instance, you could use an IOQ on something like an AMP or RDMA based system too. However, that being said I

Re: [kvm-devel] user-allocated memory

2007-08-14 Thread Avi Kivity
Carsten Otte wrote: > Izik Eidus wrote: > >> we are working on swapping support for the guests in kvm. >> we want to allow management of the memory swapping of the guests from kvm. >> > This is excellent, thank you! > > >> this is request for comment, so any idea you have please write to

Re: [kvm-devel] [RFC PATCH 1/8] IOQ: Adding basic definitions for IO-Queue logic

2007-08-14 Thread Gregory Haskins
On Tue, 2007-08-14 at 07:44 -0400, Gregory Haskins wrote: > On Tue, 2007-08-14 at 01:01 -0700, Dor Laor wrote: > > Instead of the above code I would call to iter_seek and do everything inside > > then return a proper error code if needed. > > Im not sure I fully understand your point. But if I d

[kvm-devel] [ kvm-Bugs-1773800 ] MS Office 2003 hangs on Windows Guest 2003

2007-08-14 Thread SourceForge.net
Bugs item #1773800, was opened at 2007-08-14 14: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=1773800&group_id=180599 Please note that this message will contain a full copy

Re: [kvm-devel] lapic3 branch rebased

2007-08-14 Thread Avi Kivity
Avi Kivity wrote: > Dong, Eddie wrote: >> Avi Kivity wrote: >> >>> lapic3 has been rebased, compile tested, and pushed. note that this >>> does not include the patch-folding work I'd like to do before merging >>> into master. >>> >> Thanks and verified it is fine for RHEL5U, XPSP2, FC5, Win

[kvm-devel] a few may be wiki question

2007-08-14 Thread Farkas Levente
hi, i try to setup a centos host server with kvm and a few guest os for the first time. imho there is only a very limited docs about kvm (even if i try to read them:-). so there are a few general questions: - which is the recommended host config?: - should i used x86_64 or i386 host kernel? i don

Re: [kvm-devel] a few may be wiki question

2007-08-14 Thread Avi Kivity
Farkas Levente wrote: > hi, > i try to setup a centos host server with kvm and a few guest os for the > first time. imho there is only a very limited docs about kvm (even if i > try to read them:-). so there are a few general questions: > - which is the recommended host config?: > - should i used

Re: [kvm-devel] a few may be wiki question

2007-08-14 Thread Gregory Haskins
On Tue, 2007-08-14 at 15:50 +0300, Avi Kivity wrote: > Farkas Levente wrote: > > hi, > > i try to setup a centos host server with kvm and a few guest os for the > > first time. imho there is only a very limited docs about kvm (even if i > > try to read them:-). so there are a few general questions:

Re: [kvm-devel] user-allocated memory

2007-08-14 Thread Carsten Otte
Avi Kivity wrote: > kvm only tracks dirty bits if requested by userspace (for live > migration). Checking the pte is not so easy because the pte contains > only host addresses, not page addresses (well, we could consult the > guest page table, but...). As far as I undstand this code, this funct

Re: [kvm-devel] user-allocated memory

2007-08-14 Thread Avi Kivity
Carsten Otte wrote: > Avi Kivity wrote: >> kvm only tracks dirty bits if requested by userspace (for live >> migration). Checking the pte is not so easy because the pte contains >> only host addresses, not page addresses (well, we could consult the >> guest page table, but...). > As far as I un

Re: [kvm-devel] a few may be wiki question

2007-08-14 Thread Farkas Levente
hi, first of all thanks for the quick reply! Avi Kivity wrote: > Farkas Levente wrote: >> - i read in faq 3.6: >> "for the host. 1GB is probably a minimum configuration for the host >> OS." >> does this means i have to reserve 1GB for the host os? >> > > No. That is the total a

Re: [kvm-devel] a few may be wiki question

2007-08-14 Thread Avi Kivity
Farkas Levente wrote: >> >>> - is dynamic use of RAM for host operating system supported? >>> >>> >> What's that? >> > > ok i try explain our plan and ask a better question about the memory > setup. this may clean things a bit. i like to setup a server for the > development dept. w

Re: [kvm-devel] a few may be wiki question

2007-08-14 Thread Farkas Levente
Avi Kivity wrote: > There are two answers to this: > > - balloon driver (like in Xen) which allows the host to move memory from > one guest to another (or from host to guest) > - swapping, which allows the host to move guest memory to disk and > allocate it to another guest > > Unfortunately the

Re: [kvm-devel] a few may be wiki question

2007-08-14 Thread Avi Kivity
Farkas Levente wrote: > Avi Kivity wrote: > >> There are two answers to this: >> >> - balloon driver (like in Xen) which allows the host to move memory from >> one guest to another (or from host to guest) >> - swapping, which allows the host to move guest memory to disk and >> allocate it to ano

Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images

2007-08-14 Thread Laurent Vivier
Markus Hitter wrote: > > Am 13.08.2007 um 11:19 schrieb Laurent Vivier: > >> We can modify qemu to test if the argument is a directory, if yes, it >> reads args >> from file args in this directory and for security the disk image must >> be in the >> same directory. >> >> for instance, we have: >>

[kvm-devel] ■ご登録の準備が整い ました。

2007-08-14 Thread freefreefree
本物の逆★助交際掲示板 数ある出会い系サイトの中から【ROYALCASTLE〜ロイヤルキャッスル】を お選び頂きまことに有難う御座います。初めての逆★助出会いでも安心してご利用い ただけます。 超本物志向のサイトには本物の女性しか存在致しません。 是非一度も逆★援助経験がない方はお試し下さい。 最初から最後まで費用は一切かかりませんのでご安心下さい。 http://www.zxxq.net/h/?royal <本物の出会いをご希望の方は是非ご覧ください。> ROYALCASTLEで出会った素敵な女性と本物の甘いひと時を堪能して下さい。 『ROYALCASTLE』は万全のセキュリティ

[kvm-devel] kvm with above 2 giga (new clean patchs)

2007-08-14 Thread Izik Eidus
Hello, this are clean patch's for the above 2giga issue. nothing really new, thanks for Luca, Anthony, and Ryan for their comments, i tired to fix the issues they talked about. anyway what we have is: bochs_bios_ram_patch: this patch add another mapping to the bios at the e820. qemu_typedefs_fix

Re: [kvm-devel] kvm with above 2 giga (new clean patchs)

2007-08-14 Thread Izik Eidus
sorry, the patchs are here. On Tue, 2007-08-14 at 18:00 +0300, Izik Eidus wrote: > Hello, > this are clean patch's for the above 2giga issue. > nothing really new, > thanks for Luca, Anthony, and Ryan for their comments, i tired to fix > the issues they talked about. > > anyway what we have is: >

Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images

2007-08-14 Thread Markus Hitter
Am 13.08.2007 um 11:19 schrieb Laurent Vivier: > We can modify qemu to test if the argument is a directory, if yes, > it reads args > from file args in this directory and for security the disk image > must be in the > same directory. > > for instance, we have: > > ./pc1/ > ./pc1/args > ./pc1/

Re: [kvm-devel] adding support for above 2giga to kvm (include patchs)

2007-08-14 Thread Izik Eidus
On Tue, 2007-08-14 at 10:09 -0500, Ryan Harper wrote: > * Izik Eidus <[EMAIL PROTECTED]> [2007-08-14 01:29]: > > Hey Ryan, > > thanks for the testing, i hope you didnt have too much problems to get it > > working. > > Sure, it wasn't too much trouble. > > > anyway as far as i can tell it wont

Re: [kvm-devel] Error while inserting kvm-intel.ko from kvm-34

2007-08-14 Thread Avi Kivity
(अमेय) Ameya (पाळंदे) Palande wrote: > I tried running my guest OS which is plan9 without > kvm, and its showing CPU as AMD Athlon on intel machine. > > If i remember correctly, earlier qemu used to emulate > intel processor on intel machines. > > Is this causing problem ? > No; it's just the q

Re: [kvm-devel] Error while inserting kvm-intel.ko from kvm-34

2007-08-14 Thread Avi Kivity
(अमेय) Ameya (पाळंदे) Palande wrote: > Hi Avi, > > I followed your steps for modifying vmx.c > Here are the messages from dmesg output : > > kvm: EIO at 852 kvm: EIO at 882 kvm: EIO at 980 > > Sheng, this looks like one of the vmx compatibility patches. Can you take a look? Basically, it see

Re: [kvm-devel] Error while inserting kvm-intel.ko from kvm-34

2007-08-14 Thread Glauber de Oliveira Costa
On 8/14/07, Avi Kivity <[EMAIL PROTECTED]> wrote: > (अमेय) Ameya (पाळंदे) Palande wrote: > > Hi Avi, > > > > I followed your steps for modifying vmx.c > > Here are the messages from dmesg output : > > > > kvm: EIO at 852 kvm: EIO at 882 kvm: EIO at 980 > > > > > > Sheng, this looks like one of the

Re: [kvm-devel] adding support for above 2giga to kvm (include patchs)

2007-08-14 Thread Ryan Harper
* Izik Eidus <[EMAIL PROTECTED]> [2007-08-14 10:49]: > On Tue, 2007-08-14 at 10:09 -0500, Ryan Harper wrote: > > * Izik Eidus <[EMAIL PROTECTED]> [2007-08-14 01:29]: > > > Hey Ryan, > > > thanks for the testing, i hope you didnt have too much problems to get it > > > working. > > > > Sure, it was

Re: [kvm-devel] Error while inserting kvm-intel.ko from kvm-34

2007-08-14 Thread Glauber de Oliveira Costa
> > > I got the same behaviour here, and it seems that the reason is 32-bit > machines does not use the CR8 register. But the code in vmx.c makes it > a minimum requirement as in: > > min = CPU_BASED_HLT_EXITING | > CPU_BASED_CR8_LOAD_EXITING | > CPU_BASED_CR8_S

Re: [kvm-devel] adding support for above 2giga to kvm (include patchs)

2007-08-14 Thread Izik Eidus
On Tue, 2007-08-14 at 13:24 -0500, Ryan Harper wrote: > * Izik Eidus <[EMAIL PROTECTED]> [2007-08-14 10:49]: > > On Tue, 2007-08-14 at 10:09 -0500, Ryan Harper wrote: > > > * Izik Eidus <[EMAIL PROTECTED]> [2007-08-14 01:29]: > > > > Hey Ryan, > > > > thanks for the testing, i hope you didnt have t

Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images

2007-08-14 Thread Jorge Lucángeli Obes
On 8/14/07, Laurent Vivier <[EMAIL PROTECTED]> wrote: > Markus Hitter wrote: > > > > Am 13.08.2007 um 11:19 schrieb Laurent Vivier: > > > >> We can modify qemu to test if the argument is a directory, if yes, it > >> reads args > >> from file args in this directory and for security the disk image mu

Re: [kvm-devel] kvm with above 2 giga (new clean patchs)

2007-08-14 Thread Ryan Harper
* Izik Eidus <[EMAIL PROTECTED]> [2007-08-14 10:22]: > Index: rombios.c > === > RCS file: /cvsroot/bochs/bochs/bios/rombios.c,v > retrieving revision 1.182 > diff -u -r1.182 rombios.c > --- rombios.c 1 Aug 2007 17:09:51 - 1.1

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

2007-08-14 Thread Slohm Gadaburi
Hello list. I want to share my first kvm experience with you and ask for your advice. I run up-to-date Ubuntu 7.04 (kernel 2.6.20) on AMD processor. I did apt-get installed kvm (which gave me the kvm-amd.ko module), and qemu packages. I modprobed kvm-adm.ko with no hassle. and then I followed

Re: [kvm-devel] adding support for above 2giga to kvm (include patchs)

2007-08-14 Thread Ryan Harper
* Izik Eidus <[EMAIL PROTECTED]> [2007-08-14 13:59]: > On Tue, 2007-08-14 at 13:24 -0500, Ryan Harper wrote: > > * Izik Eidus <[EMAIL PROTECTED]> [2007-08-14 10:49]: > > > On Tue, 2007-08-14 at 10:09 -0500, Ryan Harper wrote: > > > > * Izik Eidus <[EMAIL PROTECTED]> [2007-08-14 01:29]: > > > > > He

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

2007-08-14 Thread Glauber de Oliveira Costa
> How can I know if the qemu I ran took advantage of the kvm module ? By the time you reported, probably did not. > I even tried to compile the kvm bundle myself (i took the one that > is recommended for kernel 2.6.20, as the wiki says), > but alas, the ./configure shouted I don't have gcc 3.x > (

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

2007-08-14 Thread Luca
On 8/14/07, Slohm Gadaburi <[EMAIL PROTECTED]> wrote: > I did apt-get installed kvm (which gave me the kvm-amd.ko module), > and qemu packages. > > I modprobed kvm-adm.ko with no hassle. > > and then I followed the HOWTO page on the kvm wiki - > created an qemu image and booted off a cd for install

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

2007-08-14 Thread Izik Eidus
one easy way to check if the qemu binary you ran had kvm support at all is: run /usr/bin/qemu --help | grep kvm if you see there something like: -no-kvm disable KVM hardware... this is patched qemu with support to kvm. after this run: lsmod | grep kvm and check if the kvm driver is loaded if it i

Re: [kvm-devel] adding support for above 2giga to kvm (include patchs)

2007-08-14 Thread Izik Eidus
i am very interested about the fact that it gave you false results when you ran it with mem size below 0xf000, beacuse in this case the bios patch have no effect, at least it shouldnt. can you try to drive memtest86 on a real physical host with more than 4giga ? On Tue, 2007-08-14 at 14:26 -0

Re: [kvm-devel] adding support for above 2giga to kvm (include patchs)

2007-08-14 Thread Ryan Harper
* Izik Eidus <[EMAIL PROTECTED]> [2007-08-14 14:41]: > i am very interested about the fact that it gave you false results when > you ran it with mem size below 0xf000, > beacuse in this case the bios patch have no effect, at least it > shouldnt. Agreed =) I'll let you know if I figure anythin

[kvm-devel] [Fwd: Re: adding support for above 2giga to kvm (include patchs)]

2007-08-14 Thread Izik Eidus
--- Begin Message --- On Tue, 2007-08-14 at 14:46 -0500, Ryan Harper wrote: > * Izik Eidus <[EMAIL PROTECTED]> [2007-08-14 14:41]: > > i am very interested about the fact that it gave you false results when > > you ran it with mem size below 0xf000, > > beacuse in this case the bios patch have

Re: [kvm-devel] adding support for above 2giga to kvm (include patchs)

2007-08-14 Thread Izik Eidus
i am sorry, i wrote you message and it get messed. anyway you remember in the old patch the: +if (ram_size > 0xf000) > val = 640; /* base memory in K */ i bet this is the problem :) in the new patch it is removed. On Tue, 2007-08-14 at 14:46 -0500, Ryan Harper wrote: > * Izik Eidus

Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images

2007-08-14 Thread Thiemo Seufer
Jorge Lucángeli Obes wrote: [snip] > Quoting Thiemo, this '@' thing was "a feature which is now implemented > in the GNU toolchain". That's why I tried it. Now I would like to know > what he did to get it working. It would certainly be an useful > feature, even if it does not exactly suit our purpo

Re: [kvm-devel] adding support for above 2giga to kvm (include patchs)

2007-08-14 Thread Ryan Harper
* Izik Eidus <[EMAIL PROTECTED]> [2007-08-14 15:00]: > i am sorry, i wrote you message and it get messed. > > anyway you remember in the old patch the: > +if (ram_size > 0xf000) > > val = 640; /* base memory in K */ > i bet this is the problem :) I removed that now and I didn't help

Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images

2007-08-14 Thread Christian MICHON
yet colinux >= 0.7.1 is using I believe a similar approach for passing its parameters... quoting the readme: "colinux-daemon @example.conf" and this is what I use on a daily basis to compile detaolb on colinux (which I test later using qemu). On 8/14/07, Thiemo Seufer <[EMAIL PROTECTED]> wrote:

Re: [kvm-devel] adding support for above 2giga to kvm (include patchs)

2007-08-14 Thread Izik Eidus
On Tue, 2007-08-14 at 15:44 -0500, Ryan Harper wrote: > * Izik Eidus <[EMAIL PROTECTED]> [2007-08-14 15:00]: > > i am sorry, i wrote you message and it get messed. > > > > anyway you remember in the old patch the: > > +if (ram_size > 0xf000) > > > val = 640; /* base memory in K */ > >

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

2007-08-14 Thread Koen de Jonge
Glauber de Oliveira Costa wrote: >> I even tried to compile the kvm bundle myself (i took the one that >> is recommended for kernel 2.6.20, as the wiki says), >> but alas, the ./configure shouted I don't have gcc 3.x >> (which is indeed true as an up-to-date system today have gcc 4.x). >> > It

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

2007-08-14 Thread Izik Eidus
this seems like you didnt load your new modules try to do: rmmod kvm_amd rmmod kvm and then load the moudles in your compiling dir: like: cd kvm-34/kernel insmod kvm.ko insmod kvm-amd.ko and then try On Tue, 2007-08-14 at 23:20 +0200, Koen de Jonge wrote: > Glauber de Oliveira Costa wrote: > >>

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

2007-08-14 Thread Koen de Jonge
Izik Eidus wrote: > this seems like you didnt load your new modules > try to do: > rmmod kvm_amd > rmmod kvm > > and then load the moudles in your compiling dir: > like: > cd kvm-34/kernel > insmod kvm.ko > insmod kvm-amd.ko > > and then try > That did help (a lot), now it is running on ubuntu 7

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

2007-08-14 Thread Koen de Jonge
Izik Eidus wrote: > On Tue, 2007-08-14 at 23:20 +0200, Koen de Jonge wrote: > >> Can anyone tell me: >> - what is the linux host OS flavour and version the developers use? >> - what is the latest kvm-version that 'just works' on a ubuntu 7.04 >> desktop release? >> I still like to know t

Re: [kvm-devel] adding support for above 2giga to kvm (include patchs)

2007-08-14 Thread Ryan Harper
* Ryan Harper <[EMAIL PROTECTED]> [2007-08-14 15:44]: > * Izik Eidus <[EMAIL PROTECTED]> [2007-08-14 15:00]: > > i am sorry, i wrote you message and it get messed. > > > > anyway you remember in the old patch the: > > +if (ram_size > 0xf000) > > > val = 640; /* base memory in K */ > >

[kvm-devel] [RFC PATCH 0/9] PV device infrastructure v2

2007-08-14 Thread Gregory Haskins
This series incorporates all of v1 plus the following changes based on feedback to date: *) s/ioq_iter/ioq_iter_init *) removed unecessary desc->offset *) utilized create_irq() to actually assign interrupt resource *) removed inadvertant cleanup of whitespace from series *) added memory barrie

[kvm-devel] [RFC PATCH 3/9] IRQ: Export create_irq/destroy_irq

2007-08-14 Thread Gregory Haskins
Signed-off-by: Gregory Haskins <[EMAIL PROTECTED]> --- arch/x86_64/kernel/io_apic.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/x86_64/kernel/io_apic.c b/arch/x86_64/kernel/io_apic.c index d8bfe31..6bf8794 100644 --- a/arch/x86_64/kernel/io_apic.c +++ b/arch/x86

[kvm-devel] [RFC PATCH 2/9] PARAVIRTUALIZATION: Add support for a bus abstraction

2007-08-14 Thread Gregory Haskins
PV usually comes in two flavors: device PV, and "core" PV. The existing PV ops deal in terms of the latter. However, it would be useful to add an interface for a virtual bus with provisions for discovery/configuration of backend PV devices. Often times it is desirable to run PV devices even if

[kvm-devel] [RFC PATCH 1/9] IOQ: Adding basic definitions for IO-Queue logic

2007-08-14 Thread Gregory Haskins
IOQ is a generic shared-memory-queue mechanism that happens to be friendly to virtualization boundaries. Note that it is not virtualization specific due to its flexible transport layer. Signed-off-by: Gregory Haskins <[EMAIL PROTECTED]> --- include/linux/ioq.h | 176 +++

[kvm-devel] [RFC PATCH 6/9] KVM: Add support for IOQ

2007-08-14 Thread Gregory Haskins
IOQ is a shared-memory-queue interface for implmenting PV driver communication. Signed-off-by: Gregory Haskins <[EMAIL PROTECTED]> --- drivers/kvm/Kconfig|5 + drivers/kvm/Makefile |3 drivers/kvm/ioq.h | 12 +- drivers/kvm/ioq_host.c | 365

[kvm-devel] [RFC PATCH 8/9] IOQ: Add an IOQ network driver

2007-08-14 Thread Gregory Haskins
Signed-off-by: Gregory Haskins <[EMAIL PROTECTED]> --- drivers/net/Kconfig|4 drivers/net/Makefile |2 drivers/net/ioqnet.c | 631 include/linux/ioqnet.h | 42 +++ 4 files changed, 679 insertions(+), 0 deletions(-) diff --git

[kvm-devel] [RFC PATCH 5/9] KVM: Add a gpa_to_hva helper function

2007-08-14 Thread Gregory Haskins
Signed-off-by: Gregory Haskins <[EMAIL PROTECTED]> --- drivers/kvm/kvm.h |1 + drivers/kvm/mmu.c | 12 2 files changed, 13 insertions(+), 0 deletions(-) diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h index 9934f11..05d5be1 100755 --- a/drivers/kvm/kvm.h +++ b/drivers/kvm/k

[kvm-devel] [RFC PATCH 4/9] KVM: Add a guest side driver for IOQ

2007-08-14 Thread Gregory Haskins
Signed-off-by: Gregory Haskins <[EMAIL PROTECTED]> --- drivers/kvm/Kconfig | 27 +- drivers/kvm/Makefile |3 - drivers/kvm/ioq.h | 39 + drivers/kvm/ioq_guest.c | 192 + drivers/kvm/pvbus.h | 41

[kvm-devel] [RFC PATCH 9/9] KVM: Add an IOQNET backend driver

2007-08-14 Thread Gregory Haskins
Signed-off-by: Gregory Haskins <[EMAIL PROTECTED]> --- drivers/kvm/Kconfig |5 drivers/kvm/Makefile |2 drivers/kvm/ioqnet_host.c | 566 + 3 files changed, 573 insertions(+), 0 deletions(-) diff --git a/drivers/kvm/Kconfig b/drive

[kvm-devel] [RFC PATCH 7/9] KVM: Add PVBUS support to the KVM host

2007-08-14 Thread Gregory Haskins
PVBUS allows VMM agnostic PV drivers to discover/configure virtual resources Signed-off-by: Gregory Haskins <[EMAIL PROTECTED]> --- drivers/kvm/Kconfig | 10 + drivers/kvm/Makefile |3 drivers/kvm/kvm.h|4 drivers/kvm/kvm_main.c |4 drivers/kvm/pvbus_host.c |

Re: [kvm-devel] Error while inserting kvm-intel.ko from kvm-34

2007-08-14 Thread Yang, Sheng
OK to me. Thanks. Yang, Sheng >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of Glauber de >Oliveira Costa >Sent: 2007年8月15日 2:55 >To: Avi Kivity >Cc: kvm-devel@lists.sourceforge.net; (अमेय) Ameya (पाळंदे) Palande >Subject: Re: [kvm-devel] Error while in

Re: [kvm-devel] Error while inserting kvm-intel.ko from kvm-34

2007-08-14 Thread Avi Kivity
Glauber de Oliveira Costa wrote: >> I got the same behaviour here, and it seems that the reason is 32-bit >> machines does not use the CR8 register. But the code in vmx.c makes it >> a minimum requirement as in: >> >> min = CPU_BASED_HLT_EXITING | >> CPU_BASED_CR8_LOAD_EXITIN

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

2007-08-14 Thread Avi Kivity
Slohm Gadaburi wrote: > How can I know if the qemu I ran took advantage of the kvm module ? > No one mentioned my favorite: when kvm is in control, the title bar of the guest console window changes to "QEMU/KVM". > I ran /usr/bin/qemu as I didn't have /usr/local/kvm/bin/qemu like the HOWTO > m

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

2007-08-14 Thread Avi Kivity
Koen de Jonge wrote: > Izik Eidus wrote: > > > >> On Tue, 2007-08-14 at 23:20 +0200, Koen de Jonge wrote: >> >> >>> Can anyone tell me: >>> - what is the linux host OS flavour and version the developers use? >>> - what is the latest kvm-version that 'just works' on a ubuntu 7.04 >>> de

[kvm-devel] FATAL: Error inserting kvm_intel (/lib/modules/2.6.21-gentoo-r4/extra/kvm-intel.ko): Input/output error

2007-08-14 Thread Andrés Moré
Hi, I'm running a Gentoo 2007.0 system. $ uname -a Linux localhost 2.6.21-gentoo-r4 #1 SMP PREEMPT Tue Aug 14 23:07:16 UTC 2007 i686 Genuine Intel(R) CPU T2500 @ 2.00GHz GenuineIntel GNU/Linux After executing "sudo ./configure; sudo make; sudo make install", the modprobe command is failing as sh

Re: [kvm-devel] [RFC PATCH 0/9] PV device infrastructure v2

2007-08-14 Thread Avi Kivity
Gregory Haskins wrote: > This series incorporates all of v1 plus the following changes based on > feedback to date: > Are you positioning this as an alternative to virtio? If so, be aware that virtio is (a) mostly done (b) very well done. Can you describe what you are trying to achieve that v

Re: [kvm-devel] FATAL: Error inserting kvm_intel (/lib/modules/2.6.21-gentoo-r4/extra/kvm-intel.ko): Input/output error

2007-08-14 Thread Avi Kivity
Andrés Moré wrote: > Hi, > > I'm running a Gentoo 2007.0 system. > > $ uname -a > Linux localhost 2.6.21-gentoo-r4 #1 SMP PREEMPT Tue Aug 14 23:07:16 > UTC 2007 i686 Genuine Intel(R) CPU T2500 @ 2.00GHz GenuineIntel GNU/Linux > > After executing "sudo ./configure; sudo make; sudo make install", the

Re: [kvm-devel] [PATCH] Fix compile time warnings in userspace component

2007-08-14 Thread Avi Kivity
Luca Tettamanti wrote: > Fix a few trivial warnings: > - use %zu when printing size_t arguments in printf > - include qemu-kvm.h where appropriate > - change the return type of kvm_eat_signals > > Applied, thanks. Watch trailing whitespace. -- Do not meddle in the internals of kernels, for t

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

2007-08-14 Thread Anthony Liguori
On Tue, 2007-08-14 at 23:48 +0200, Koen de Jonge wrote: > Izik Eidus wrote: > > > > On Tue, 2007-08-14 at 23:20 +0200, Koen de Jonge wrote: > > > >> Can anyone tell me: > >> - what is the linux host OS flavour and version the developers use? > >> - what is the latest kvm-version that 'just wo

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

2007-08-14 Thread Anthony Liguori
On Wed, 2007-08-15 at 05:44 +0300, Avi Kivity wrote: > Slohm Gadaburi wrote: > > How can I know if the qemu I ran took advantage of the kvm module ? > > > > No one mentioned my favorite: when kvm is in control, the title bar of > the guest console window changes to "QEMU/KVM". > > > I ran /us

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

2007-08-14 Thread Daniel P. Berrange
On Tue, Aug 14, 2007 at 10:26:24PM -0500, Anthony Liguori wrote: > > On Wed, 2007-08-15 at 05:44 +0300, Avi Kivity wrote: > > Slohm Gadaburi wrote: > > > How can I know if the qemu I ran took advantage of the kvm module ? > > > > > > > No one mentioned my favorite: when kvm is in control, the

Re: [kvm-devel] [RFC PATCH 0/9] PV device infrastructure v2

2007-08-14 Thread Gregory Haskins
On Wed, 2007-08-15 at 05:50 +0300, Avi Kivity wrote: > Gregory Haskins wrote: > > This series incorporates all of v1 plus the following changes based on > > feedback to date: > > > > Are you positioning this as an alternative to virtio? Absolutely not! I really just want to see a decent PV-IO

Re: [kvm-devel] [RFC PATCH 0/9] PV device infrastructure v2

2007-08-14 Thread Avi Kivity
Gregory Haskins wrote: > >> If so, be aware that virtio is (a) mostly done (b) very well done. >> > > I would very much like to help make virtio work, which is really where I > was going with this. My design is a little bit different so I was > submitting it in case there was any ideas worth

Re: [kvm-devel] [RFC PATCH 0/9] PV device infrastructure v2

2007-08-14 Thread Gregory Haskins
On Wed, 2007-08-15 at 06:58 +0300, Avi Kivity wrote: > > > Yes. virtio adapts the driver interface to an API can drive a shared > memory queue more easily, while you actually provide the queue protocol > (and ABI). If I understand what you are saying, it actually jives with something that st

Re: [kvm-devel] adding support for above 2giga to kvm (include patchs)

2007-08-14 Thread Anthony Liguori
On Tue, 2007-08-14 at 17:21 -0500, Ryan Harper wrote: > * Ryan Harper <[EMAIL PROTECTED]> [2007-08-14 15:44]: > > * Izik Eidus <[EMAIL PROTECTED]> [2007-08-14 15:00]: > > > i am sorry, i wrote you message and it get messed. > > > > > > anyway you remember in the old patch the: > > > +if (ram_

Re: [kvm-devel] [RFC PATCH 0/9] PV device infrastructure v2

2007-08-14 Thread Anthony Liguori
On Wed, 2007-08-15 at 00:13 -0400, Gregory Haskins wrote: > On Wed, 2007-08-15 at 06:58 +0300, Avi Kivity wrote: > > > > > > Yes. virtio adapts the driver interface to an API can drive a shared > > memory queue more easily, while you actually provide the queue protocol > > (and ABI). > > If

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

2007-08-14 Thread Jorge Lucángeli Obes
On 8/15/07, Daniel P. Berrange <[EMAIL PROTECTED]> wrote: > On Tue, Aug 14, 2007 at 10:26:24PM -0500, Anthony Liguori wrote: > > > > On Wed, 2007-08-15 at 05:44 +0300, Avi Kivity wrote: > > > Slohm Gadaburi wrote: > > > > How can I know if the qemu I ran took advantage of the kvm module ? > > > > >

Re: [kvm-devel] [RFC PATCH 0/9] PV device infrastructure v2

2007-08-14 Thread Rusty Russell
On Wed, 2007-08-15 at 05:50 +0300, Avi Kivity wrote: > Gregory Haskins wrote: > > This series incorporates all of v1 plus the following changes based on > > feedback to date: > > > > Are you positioning this as an alternative to virtio? If so, be aware > that virtio is (a) mostly done (b) very