[kvm-devel] [PATCH] remove duplicate code

2007-10-02 Thread Glauber de Oliveira Costa
This patch removes duplicate code at vl.c. Once the KVM-only part defines how much physicall memory it wants, the rest should be the same for everybody. Signed-off-by: Glauber de Oliveira Costa <[EMAIL PROTECTED]> --- qemu/vl.c | 23 +-- 1 files changed, 9 insertions(+), 14

Re: [kvm-devel] [PATCH] remove duplicate code

2007-10-02 Thread Glauber de Oliveira Costa
On 10/2/07, Glauber de Oliveira Costa <[EMAIL PROTECTED]> wrote: > @@ -8246,7 +8246,7 @@ int main(int argc, char **argv) > help(1); > if (ram_size > PHYS_RAM_MAX_SIZE) { > fprintf(stderr, "qemu: at most %d MB RAM can be > simulated\n", > -

Re: [kvm-devel] when to relize the Paravirtualized networking ?

2007-10-02 Thread Dor Laor
vast yellow wrote: Anyone know when to release include the following features # Paravirtualized networking I have such a code in a separate git repository. It is not yet production ready. The next release is a rebase of Rusty code for virtio and some KVM/Qemu backend. It probably be ready in

[kvm-devel] [PATCH] remove duplicate code

2007-10-02 Thread Glauber de Oliveira Costa
This patch removes duplicate code at vl.c. Once the KVM-only part defines how much physicall memory it wants, the rest should be the same for everybody. Signed-off-by: Glauber de Oliveira Costa <[EMAIL PROTECTED]> --- qemu/vl.c | 23 +-- 1 files changed, 9 insertions(+), 14

[kvm-devel] when to relize the Paravirtualized networking ?

2007-10-02 Thread vast yellow
Anyone know when to release include the following features Paravirtualized networking Paravirtualized block device KVM Tap network is slower than Xen. Can we optimize it? - This SF.net email is sponsored by: Microsoft Defy all

Re: [kvm-devel] [PATCH] Correct management of REP prefix

2007-10-02 Thread Kamble, Nitin A
Hi Laurent, This patch looks much cleaner to me. I see you are saving the regs like this in the patch. memcpy(c->regs, ctxt->vcpu->regs, sizeof c->regs); But I don't see any place in the patch these regs getting restored after failure. Is it taken care of the code outside of the patch? Thank

[kvm-devel] Reboot crashes with FC6

2007-10-02 Thread Cam Macdonell
Hi, Rebooting a FC6 guest crashes with KVM-45, below is the output. exception 13 (0) rax rbx rcx rdx 0600 rsi rdi rsp rbp r8 r9

[kvm-devel] Windows XP Pro 64 installation issues with kvm-45 on Intel host

2007-10-02 Thread fdelawarde
Hello, Trying to install Windows XP Pro 64bits, the first phase goes quite well (except that it uses 100% of host's cpu), but crashes when trying to reboot with the following message: unhandled vm exit: 0x8021 rax 0095b9e5 rbx 0095b9c0 rcx 0095b9e5 rdx 060

[kvm-devel] [PATCH] [1/2] Update user configure script

2007-10-02 Thread Jerone Young
This adds the ability to change CC, ARCH, & LD variables with configure script in user directory. Signed-off-by: Jerone Young <[EMAIL PROTECTED]> diff --git a/user/configure b/user/configure index 0bdd3de..20b9367 100755 --- a/user/configure +++ b/user/configure @@ -2,13 +2,18 @@ prefix=/usr/l

[kvm-devel] [PATCH] [2/2] Split arch specific makefile code out

2007-10-02 Thread Jerone Young
This patch makes things better for cross compiling. It also makes adding a new architecture to the current make system much easier. Signed-off-by: Jerone Young <[EMAIL PROTECTED]> diff --git a/user/Makefile b/user/Makefile index 26eb530..9567e8f 100644 --- a/user/Makefile +++ b/user/Makefile @@

Re: [kvm-devel] FreeBSD image hangs during boot

2007-10-02 Thread Aurelien Jarno
Aurelien Jarno a écrit : > Aurelien Jarno a écrit : >> Avi Kivity a écrit : >>> Aurelien Jarno wrote: Avi Kivity a écrit : > Aurelien Jarno wrote: > >> Hi all, >> >> That's not something new, but I never seen the problem mentioned here. >> FreeBSD does not

Re: [kvm-devel] FreeBSD image hangs during boot

2007-10-02 Thread Aurelien Jarno
Aurelien Jarno a écrit : > Avi Kivity a écrit : >> Aurelien Jarno wrote: >>> Avi Kivity a écrit : >>> Aurelien Jarno wrote: > Hi all, > > That's not something new, but I never seen the problem mentioned here. > FreeBSD does not work on KVM, approximately since the

Re: [kvm-devel] FreeBSD image hangs during boot

2007-10-02 Thread Aurelien Jarno
Avi Kivity a écrit : > Aurelien Jarno wrote: >> Avi Kivity a écrit : >> >>> Aurelien Jarno wrote: >>> Hi all, That's not something new, but I never seen the problem mentioned here. FreeBSD does not work on KVM, approximately since the lapic merge. However, that

Re: [kvm-devel] [PATCH] Allow for Cross compile of user tools

2007-10-02 Thread Jerone Young
On Tue, 2007-10-02 at 07:59 +0200, Avi Kivity wrote: > Jerone Young wrote: > > This is the first of many patches to begin to make kvm source a lot > > better for compiling for other architecture support (that is not x86 or > > x86-64). > > > > This patch makes it possible so that someone on an x86

[kvm-devel] Paravirtualization

2007-10-02 Thread xeb
On official web site said: In progress: * Paravirtualized networking * Paravirtualized block device Where can find sources of that work, if it is possible ? - This SF.net email is sponsored by: Microsoft Defy all chal

Re: [kvm-devel] FreeBSD image hangs during boot

2007-10-02 Thread Avi Kivity
Aurelien Jarno wrote: > Avi Kivity a écrit : > >> Aurelien Jarno wrote: >> >>> Hi all, >>> >>> That's not something new, but I never seen the problem mentioned here. >>> FreeBSD does not work on KVM, approximately since the lapic merge. >>> >>> However, that does not seem related to lapic,

Re: [kvm-devel] [ kvm-Bugs-1806380 ] SMP Error

2007-10-02 Thread Aurelien Jarno
Alexey Eremenko a écrit : >> I would not say totally, given that I am able to run both i386 and amd64 >> Debian unstable in guest SMP mode. >> > > What is your host OS ? CPU ? KVM ? > Host: Debian Etch amd64 CPU: Intel Core 2 KVM: 45 -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73

Re: [kvm-devel] [ kvm-Bugs-1806380 ] SMP Error

2007-10-02 Thread Alexey Eremenko
> > I would not say totally, given that I am able to run both i386 and amd64 > Debian unstable in guest SMP mode. > What is your host OS ? CPU ? KVM ? -- -Alexey Eremenko "Technologov" - This SF.net email is sponsored by: M

Re: [kvm-devel] [ kvm-Bugs-1806380 ] SMP Error

2007-10-02 Thread Aurelien Jarno
SourceForge.net a écrit : > Bugs item #1806380, was opened at 2007-10-02 16:52 > 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=1806380&group_id=180599 > > Please note that

[kvm-devel] [ kvm-Bugs-1806380 ] SMP Error

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

[kvm-devel] [ kvm-Bugs-1806377 ] Fedora 7 (64-bit) Fails to Install

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

Re: [kvm-devel] What happens on an INT80 instruction

2007-10-02 Thread Anthony Liguori
Avi Kivity wrote: > Anthony Liguori wrote: >> Jun Koi wrote: >> >>> On 10/1/07, Anthony Liguori <[EMAIL PROTECTED]> wrote: >>> Cameron Macdonell wrote: > Hi, > > I'm trying to understand guest virtualization at the lower levels. I > have a somewhat basic

Re: [kvm-devel] What happens on an INT80 instruction

2007-10-02 Thread Avi Kivity
Anthony Liguori wrote: > Jun Koi wrote: > >> On 10/1/07, Anthony Liguori <[EMAIL PROTECTED]> wrote: >> >> >>> Cameron Macdonell wrote: >>> >>> Hi, I'm trying to understand guest virtualization at the lower levels. I have a somewhat basic question: How do

[kvm-devel] [ kvm-Bugs-1806338 ] Fedora 7 - fonts corrupted

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

[kvm-devel] [ kvm-Bugs-1806334 ] Fedora 7 (64-bit) Fails to Install

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

Re: [kvm-devel] What happens on an INT80 instruction

2007-10-02 Thread Anthony Liguori
Jun Koi wrote: > On 10/1/07, Anthony Liguori <[EMAIL PROTECTED]> wrote: > >> Cameron Macdonell wrote: >> >>> Hi, >>> >>> I'm trying to understand guest virtualization at the lower levels. I >>> have a somewhat basic question: How does KVM virtualize an int80 >>> instruction from a guest?

Re: [kvm-devel] FreeBSD image hangs during boot

2007-10-02 Thread Aurelien Jarno
Laurent Vivier a écrit : > Avi Kivity wrote: >> Aurelien Jarno wrote: >>> Hi all, >>> >>> That's not something new, but I never seen the problem mentioned here. >>> FreeBSD does not work on KVM, approximately since the lapic merge. >>> >>> However, that does not seem related to lapic, as using -no-

Re: [kvm-devel] What happens on an INT80 instruction

2007-10-02 Thread Gregory Haskins
On Mon, 2007-10-01 at 17:23 -0600, Cam Macdonell wrote: > > Actually, I looking into doing a PhD dissertation :) I'm just trying to > get a better working understanding of how kvm (and other VMMs) handle > instructions like int80 that should trap into the OS, but of course in a > VM need to t

Re: [kvm-devel] FreeBSD image hangs during boot

2007-10-02 Thread Avi Kivity
Aurelien Jarno wrote: > Avi Kivity a écrit : > >> Aurelien Jarno wrote: >> >>> Hi all, >>> >>> That's not something new, but I never seen the problem mentioned here. >>> FreeBSD does not work on KVM, approximately since the lapic merge. >>> >>> However, that does not seem related to lapic,

Re: [kvm-devel] FreeBSD image hangs during boot

2007-10-02 Thread Laurent Vivier
Avi Kivity wrote: > Aurelien Jarno wrote: >> Hi all, >> >> That's not something new, but I never seen the problem mentioned here. >> FreeBSD does not work on KVM, approximately since the lapic merge. >> >> However, that does not seem related to lapic, as using -no-kvm-irqchip >> does not help. With

Re: [kvm-devel] FreeBSD image hangs during boot

2007-10-02 Thread Aurelien Jarno
Avi Kivity a écrit : > Aurelien Jarno wrote: >> Hi all, >> >> That's not something new, but I never seen the problem mentioned here. >> FreeBSD does not work on KVM, approximately since the lapic merge. >> >> However, that does not seem related to lapic, as using -no-kvm-irqchip >> does not help. W

Re: [kvm-devel] FreeBSD image hangs during boot

2007-10-02 Thread Aurelien Jarno
Laurent Vivier a écrit : > Hi Aurélien, > > did you try kvm-45 ? > Yes the test is done with kvm-45. -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [EMAIL PROTECTED] | [EMAIL PROTECTED] `-people.deb

Re: [kvm-devel] FreeBSD image hangs during boot

2007-10-02 Thread Avi Kivity
Aurelien Jarno wrote: > Hi all, > > That's not something new, but I never seen the problem mentioned here. > FreeBSD does not work on KVM, approximately since the lapic merge. > > However, that does not seem related to lapic, as using -no-kvm-irqchip > does not help. With -no-kvm I get a page fault

Re: [kvm-devel] FreeBSD image hangs during boot

2007-10-02 Thread Laurent Vivier
Hi Aurélien, did you try kvm-45 ? Laurent Aurelien Jarno wrote: > Hi all, > > That's not something new, but I never seen the problem mentioned here. > FreeBSD does not work on KVM, approximately since the lapic merge. > > However, that does not seem related to lapic, as using -no-kvm-irqchip >

Re: [kvm-devel] [RFC] KVM Source layout Proposal to accommodate new CPU architecture

2007-10-02 Thread Carsten Otte
Rusty Russell wrote: > Whatever way we go, grouping both host and guest support in the same dir > seems confusing (which is why lguest is moving to arch/i386/lguest/ for > guest and drivers/lguest/i386/ for host). That really is funny. Our s39host is just the other way round: arch/s390/sie for the

[kvm-devel] FreeBSD image hangs during boot

2007-10-02 Thread Aurelien Jarno
Hi all, That's not something new, but I never seen the problem mentioned here. FreeBSD does not work on KVM, approximately since the lapic merge. However, that does not seem related to lapic, as using -no-kvm-irqchip does not help. With -no-kvm I get a page fault in kernel mode, while the normal

[kvm-devel] [PATCH] Don't route PIC interrupts through the local APIC if the local APIC config says so

2007-10-02 Thread Avi Kivity
Under certain conditions, PIC interrupts should not be passed through by the local APIC. This is usually when the guest uses the IOAPIC instead of the PIC. Currently qemu does not block PIC interrupts when the local APIC is configured to do so; this results in interrupts begin received twice

[kvm-devel] [ kvm-Bugs-1806241 ] KVM-45 colors bug

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

Re: [kvm-devel] [PATCH] Script to help check compatibility against a range of kernels.

2007-10-02 Thread Avi Kivity
Rusty Russell wrote: > This makes it easier to check kvm-userspace compatibility layer. > > I actually started to write something like this, except it pulled older kernels from git. Thanks. > --- > check-compat.sh | 27 +++ > 1 files changed, 27 insertions(+), 0 de

[kvm-devel] [ANNOUNCE] kvm-45 release

2007-10-02 Thread Avi Kivity
Qemu-cvs as of yesterday has been merged into kvm. Everything I tested still works, but undoubtedly a few rough edges remain. The merge brings too many goodies to list; have fun exploring. I've also thrown in a network latency improvement when using the tap device (bridged networking); on may

Re: [kvm-devel] KVM TODO

2007-10-02 Thread Izik Eidus
Onkar wrote: > Please can anyone give me some kvm-TODO. > (preferably on x86_64 and i686) > there is page on this at kvm homepage: http://kvm.qumranet.com/kvmwiki/TODO check out this list, and if you need help in anything just ask :) > Thanks & regards, > Onkar > --

[kvm-devel] KVM TODO

2007-10-02 Thread Onkar
Please can anyone give me some kvm-TODO. (preferably on x86_64 and i686) Thanks & regards, Onkar - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/

Re: [kvm-devel] Ubuntu's gfxboot doesn't get on well with KVM

2007-10-02 Thread Miguel Araujo
Anthony Liguori escribió: Miguel Araujo wrote: Hello all, After solving my problems installing OpenBSD 4.1 in KVM, I tried to install Ubuntu 7.04 Feisty Fawn. The problem is that it gets stuck in a black screen without having said anything at all. After some testing with other isos I thou

Re: [kvm-devel] Backwards compat for < 2.6.16?

2007-10-02 Thread Avi Kivity
Rusty Russell wrote: > Hi all, > > The lapic code uses ktime_t and hrtimers, which means we no longer > build for kernels 2.6.15 and below. Is it worth trying to fake this > infrastructure up, building without lapic, or abandoning < 2.6.16? > > I think we can stub the code away, and hack

Re: [kvm-devel] [PATCH] kvm-userspace: fix kzalloc macro

2007-10-02 Thread Avi Kivity
Rusty Russell wrote: > This was committed in 1d55c096cce99f069d9ac8e3b2195d45adce9549 on Feb 7, > and clearly never actually compiled. > Applied thanks. -- error compiling committee.c: too many arguments to function -

[kvm-devel] [PATCH] Script to help check compatibility against a range of kernels.

2007-10-02 Thread Rusty Russell
This makes it easier to check kvm-userspace compatibility layer. --- check-compat.sh | 27 +++ 1 files changed, 27 insertions(+), 0 deletions(-) create mode 100755 check-compat.sh diff --git a/check-compat.sh b/check-compat.sh new file mode 100755 index 000..c07be4

[kvm-devel] Backwards compat for < 2.6.16?

2007-10-02 Thread Rusty Russell
Hi all, The lapic code uses ktime_t and hrtimers, which means we no longer build for kernels 2.6.15 and below. Is it worth trying to fake this infrastructure up, building without lapic, or abandoning < 2.6.16? Thanks, Rusty. -

[kvm-devel] eitneics

2007-10-02 Thread alvise dacquel
CWTE: C'Watre International, Inc Trade Alert. CWTE just announced trading on the OTC. CWTE has the potential to return 5 times your money with this tight capital structure. This means the stock can see $1.50 when news is realesed. CWTE has a womens line of ageless cosmetics that is overwhelmin

Re: [kvm-devel] What happens on an INT80 instruction

2007-10-02 Thread Jun Koi
On 10/1/07, Anthony Liguori <[EMAIL PROTECTED]> wrote: > Cameron Macdonell wrote: > > Hi, > > > > I'm trying to understand guest virtualization at the lower levels. I > > have a somewhat basic question: How does KVM virtualize an int80 > > instruction from a guest? A pointer to an answer is just

Re: [kvm-devel] What happens on an INT80 instruction

2007-10-02 Thread Jun Koi
On 10/2/07, Cam Macdonell <[EMAIL PROTECTED]> wrote: > Anthony Liguori wrote: > > Cam Macdonell wrote: > >> Anthony Liguori wrote: > >>> Cameron Macdonell wrote: > Hi, > > I'm trying to understand guest virtualization at the lower levels. > I have a somewhat basic question: Ho