Re: [kvm-devel] Host crashes when creating guest

2007-11-05 Thread Zhao, Yunfeng
I meant the TIP , c388ba81841a1ed30a5dd4f6029db2263ad1aca3, has the problem. And kernel, a9acc2800d8676d8a9a91aeaedd16ae4f75c05df and userspace, 179c05cc201592d8d48254133cc0075271a69e23 haven't the problem. The error always happens when creating linux and windows guest on 64bit host. >-Origin

Re: [kvm-devel] [PATCH] KVM: VMX: Fix repeatlycalling alloc_apic_access_page()

2007-11-05 Thread Dong, Eddie
>> >> -if (vm_need_virtualize_apic_accesses(vmx->vcpu.kvm)) >> +if ((vmx->vcpu.vcpu_id == 0) && >> +(vm_need_virtualize_apic_accesses(vmx->vcpu.kvm))) >> if (alloc_apic_access_page(vmx->vcpu.kvm) != 0) >> return -ENOMEM; >> >> > > We may not hav

Re: [kvm-devel] [PATCH] Fix writing back APIC reset to inkernel APIC

2007-11-05 Thread Dong, Eddie
Avi Kivity wrote: > Dong, Eddie wrote: >> Yes, when reseting, we need to reset both APIC/PIC/IOAPIC and pv >> driver in future, and also VCPU. >> But isn't apic_reset a pure user level APIC thing? > > The reset callbacks are still called, so the userspace apic is > still reset. OK. But since we h

Re: [kvm-devel] RFC/patch portability: split kvm_vm_ioctl v3

2007-11-05 Thread Carsten Otte
Dong, Eddie wrote: >> BTW, why we use vector here? shouldn't it be irq_line or irq_no? > > Maybe you mean the Channel Subsystem (1st piece of knowledge and > surprise known from s390 doc) are emulated in Qemu, correct? The vector field was introduced by Avi's comment. I just copied that over. O

Re: [kvm-devel] RFC/patch portability: split kvm_vm_ioctl v3

2007-11-05 Thread Arnd Bergmann
On Monday 05 November 2007, Carsten Otte wrote: > Dong, Eddie wrote: > >> BTW, why we use vector here? shouldn't it be irq_line or irq_no? > > > > Maybe you mean the Channel Subsystem (1st piece of knowledge and > > surprise known from s390 doc)  are emulated in Qemu, correct? > The vector field

Re: [kvm-devel] RFC/patch portability: split kvm_vm_ioctl v3

2007-11-05 Thread Carsten Otte
Arnd Bergmann wrote: > On Monday 05 November 2007, Carsten Otte wrote: >> Dong, Eddie wrote: BTW, why we use vector here? shouldn't it be irq_line or irq_no? >>> Maybe you mean the Channel Subsystem (1st piece of knowledge and >>> surprise known from s390 doc) are emulated in Qemu, correct?

Re: [kvm-devel] A question about virtio and KVM

2007-11-05 Thread Christian Borntraeger
Am Donnerstag, 1. November 2007 schrieb Dor Laor: > Hi Ian, > The intention is there, I just didn't have the time to work on it. > I can promise [there is no way to backoff now] that it will be > working/merge-able state by December 1st. > Dor. Dor, that is good news. I also work on virtio and

Re: [kvm-devel] RFC/patch portability: split kvm_vm_ioctl v3

2007-11-05 Thread Arnd Bergmann
On Monday 05 November 2007, Carsten Otte wrote: > > Actually, you have neither irq numbers nor vectors on s390 right now. > > I/O subchannels are do not fit into the IRQ handling in Linux at > > all, and external interrupts are sufficiently different that you > > should not treat them as IRQ lines

[kvm-devel] kvm-50 working with smp

2007-11-05 Thread Farkas Levente
hi, it seems the latest kvm-50 working with smp both with 32 and 64 bit centos-5 are now running (ie not crash), what's more it's even working if i trun back (ie on) acpi. but it seems much more slower with 2 guests 4 vcpu then kvm-36 with 2 guests single cpu. is so much slower then it can be recog

Re: [kvm-devel] RFC/patch portability: split kvm_vm_ioctl v3

2007-11-05 Thread Christian Borntraeger
Am Montag, 5. November 2007 schrieb Arnd Bergmann: > Read again what I wrote above. I'm suggesting to have just one external > interrupt for virtio and use the generic IRQ abstraction to handle > everything that comes below that. So you basically suggest to implement wrapper code around extint and

Re: [kvm-devel] Windows XP Pro 64 installation issues with kvm-45 onIntel host

2007-11-05 Thread François Delawarde
Hi, I could try with kvm-50 and acpi enabled (same Intel Pentium D machine, same parameters: smp=2): Both Windows XP SP2 and Windows XP 64 first installation step goes perfectly, but hang right after first reboot (on "Press a key to boot on CD..."), and after manual restart, the second install

Re: [kvm-devel] Windows XP Pro 64 installation issues with kvm-45 onIntel host

2007-11-05 Thread Alexey Rempel
I have similar issue on Ubuntu 7.10 and latest kvm-kernel and kvm-userspace ( 05.Nov.2007 ). Guest: Windows Xp SP1 or Windows 2000 SP4 . With linux guest i don't have any problem... at lest with out splash screen. MY hardware: Pentium D 940 on i945g+ICH7. -no-acpi and/or -no-kvm-irqchip dusn't so

Re: [kvm-devel] [PATCH] KVM: VMX: Fix repeatly calling alloc_apic_access_page()

2007-11-05 Thread Avi Kivity
Sheng Yang wrote: > >>> return kvm; >>> } >>> >>> diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c >>> index 42e7fad..89007b2 100644 >>> --- a/drivers/kvm/vmx.c >>> +++ b/drivers/kvm/vmx.c >>> @@ -1466,6 +1466,8 @@ static int alloc_apic_access_page(struct kvm *kvm) >>> int r; >>> >>>

Re: [kvm-devel] [PATCH] KVM: VMX: Fix repeatlycalling alloc_apic_access_page()

2007-11-05 Thread Avi Kivity
Dong, Eddie wrote: >>> - if (vm_need_virtualize_apic_accesses(vmx->vcpu.kvm)) >>> + if ((vmx->vcpu.vcpu_id == 0) && >>> + (vm_need_virtualize_apic_accesses(vmx->vcpu.kvm))) >>> if (alloc_apic_access_page(vmx->vcpu.kvm) != 0) >>> return -ENOMEM; >>> >>> >>>

Re: [kvm-devel] Starting a VM reboots my machine

2007-11-05 Thread Avi Kivity
Alexey Eremenko wrote: > > Cam: KVM-AMD is unstable now, unless you're a developer, I would > suggest you to downgrade to KVM-36, which was the latest AMD-friendly > version. We're working on a fix. > That's a wild exaggeration. On some hosts kvm-amd hangs, and some guests (Windows XP w/ ACPI

Re: [kvm-devel] [PATCH] Fix writing back APIC reset to inkernel APIC

2007-11-05 Thread Avi Kivity
Dong, Eddie wrote: > Avi Kivity wrote: > >> Dong, Eddie wrote: >> >>> Yes, when reseting, we need to reset both APIC/PIC/IOAPIC and pv >>> driver in future, and also VCPU. >>> But isn't apic_reset a pure user level APIC thing? >>> >> The reset callbacks are still called, so the users

Re: [kvm-devel] kvm-50 working with smp

2007-11-05 Thread Avi Kivity
Farkas Levente wrote: > hi, > it seems the latest kvm-50 working with smp both with 32 and 64 bit > centos-5 are now running (ie not crash), what's more it's even working > if i trun back (ie on) acpi. but it seems much more slower with 2 guests > 4 vcpu then kvm-36 with 2 guests single cpu. is so

Re: [kvm-devel] Host crashes when creating guest

2007-11-05 Thread Avi Kivity
Zhao, Yunfeng wrote: > Against latest commits, creating guests will cause host to crash. > Here is the serial output when the error happens. > vt-sa2 login: Unable to handle kernel paging request<3>audit: *NO* da > > it_pid=2268

Re: [kvm-devel] Host crashes when creating guest

2007-11-05 Thread Zhao, Yunfeng
Yes, I am using external module. Thank you for the quick fix~! Yunfeng >-Original Message- >From: Avi Kivity [mailto:[EMAIL PROTECTED] >Sent: 2007年11月5日 22:08 >To: Zhao, Yunfeng >Cc: kvm-devel >Subject: Re: [kvm-devel] Host crashes when creating guest > >Zhao, Yunfeng wrote: >> Against lat

Re: [kvm-devel] kvm-50 working with smp

2007-11-05 Thread Farkas Levente
Avi Kivity wrote: > Farkas Levente wrote: >> hi, >> it seems the latest kvm-50 working with smp both with 32 and 64 bit >> centos-5 are now running (ie not crash), what's more it's even working >> if i trun back (ie on) acpi. but it seems much more slower with 2 guests >> 4 vcpu then kvm-36 with 2

[kvm-devel] [ kvm-Bugs-1826080 ] Timer of smp linux guest is inaccurate

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

Re: [kvm-devel] Starting a VM reboots my machine

2007-11-05 Thread Avi Kivity
Andrea Arcangeli wrote: > On Sun, Nov 04, 2007 at 08:15:26AM -0800, Alexey Eremenko wrote: > >> Cam: KVM-AMD is unstable now, unless you're a developer, I would suggest you >> to downgrade to KVM-36, which was the latest AMD-friendly version. We're >> working on a fix. >> >> Dor: kvm-amd crash

Re: [kvm-devel] kvm-50 working with smp

2007-11-05 Thread Avi Kivity
Farkas Levente wrote: > Avi Kivity wrote: > >> Farkas Levente wrote: >> >>> hi, >>> it seems the latest kvm-50 working with smp both with 32 and 64 bit >>> centos-5 are now running (ie not crash), what's more it's even working >>> if i trun back (ie on) acpi. but it seems much more slower w

Re: [kvm-devel] Starting a VM reboots my machine

2007-11-05 Thread Yaniv Kaul
Hi Cam, The MAC should be of the default gateway, if the listener's IP is not on the same subnet as the client's. Y. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cam Macdonell Sent: Monday, November 05, 2007 4:40 PM To: Dor Laor Cc: kvm-devel Subject

[kvm-devel] TODO updated

2007-11-05 Thread Avi Kivity
I updated the TODO list. If you feel something is missing, please feel free to add it! http://kvm.qumranet.com/kvmwiki/TODO -- Any sufficiently difficult bug is indistinguishable from a feature. - This SF.net email is s

Re: [kvm-devel] Starting a VM reboots my machine

2007-11-05 Thread Cam Macdonell
Dor Laor wrote: >> > I added a wiki page for it: > http://kvm.qumranet.com/kvmwiki/NetConsole > Regards, > Dor. Hi Dor, Thanks very much for doing this. For the command /sbin/modprobe netconsole netconsole=@/eth0,[EMAIL PROTECTED]/00:E0:81:2B:0C:C1 do both the IP and MAC have to be set to the

Re: [kvm-devel] Starting a VM reboots my machine

2007-11-05 Thread Andrea Arcangeli
On Mon, Nov 05, 2007 at 04:25:00PM +0200, Avi Kivity wrote: > This one's obviously correct, will apply... thanks! >> Signed-off-by: Andrea Arcangeli <[EMAIL PROTECTED]> >> >> index 9584d0f..95a3489 100644 >> --- a/drivers/kvm/svm.c >> +++ b/drivers/kvm/svm.c >> @@ -1459,11 +1459,6 @@ static void

Re: [kvm-devel] kvm-50 working with smp

2007-11-05 Thread Farkas Levente
Avi Kivity wrote: > Farkas Levente wrote: >> Avi Kivity wrote: >> >>> Farkas Levente wrote: >>> hi, it seems the latest kvm-50 working with smp both with 32 and 64 bit centos-5 are now running (ie not crash), what's more it's even working if i trun back (ie on) acpi. but i

[kvm-devel] Cindy Margolis to Pose nude for Playboy

2007-11-05 Thread Cindy Margolis to Pose nude for Playboy
Cindy Margolis to Pose nude for Playboy http://ws11.ipowerweb.com/sohocerc/n860c57.aspx Sex Games To Please A Woman http://ws11.ipowerweb.com/sohocerc/n687c5.aspx LOCAL: Ugly Naked Guy dressed for Halloween http://ws11.ipowerweb.com/sohocerc/n859c57.aspx Peeping Tom policeman spied on

Re: [kvm-devel] Starting a VM reboots my machine

2007-11-05 Thread Avi Kivity
Andrea Arcangeli wrote: > On Mon, Nov 05, 2007 at 04:25:00PM +0200, Avi Kivity wrote: > >> This one's obviously correct, will apply... >> > > thanks! > > >>> Signed-off-by: Andrea Arcangeli <[EMAIL PROTECTED]> >>> >>> index 9584d0f..95a3489 100644 >>> --- a/drivers/kvm/svm.c >>> +++ b/dr

Re: [kvm-devel] KVM-49 crash on XP(SP2) install

2007-11-05 Thread Avi Kivity
Avi Kivity wrote: Code: 31 d9 31 f8 09 c1 74 2b 8b 0c 24 b8 01 00 00 00 31 db 89 86 74 0d 00 00 89 ea 89 f8 09 da 81 e1 01 08 00 00 09 c8 b9 80 00 00 c0 <0f> 30 ff 86 b0 00 00 00 8b 5c 24 08 8b 74 24 0c 8b 7c 24 10 8b EIP: [] vmx_save_host_state+0x132/0x190 [kvm_intel] SS:ESP Hmm, the EF

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

2007-11-05 Thread Avi Kivity
Sheng Yang wrote: > On Friday 02 November 2007 09:10:31 Haydn Solomon wrote: > >> How can I tell that my cpu has flexpriority? >> >> (Resending this as didn't cc list last time.) >> > > Try attached "printk" patch. > > And generally, E6850, E6750, E6550, Core2 Duo processors > starting fro

[kvm-devel] Vista Networking

2007-11-05 Thread Elmar Haneke
What problems are the cause for recommending to emulate NE2K hardware? Is this still valid fpr KVM-50? Elmar - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Sear

Re: [kvm-devel] Starting a VM reboots my machine

2007-11-05 Thread Andrea Arcangeli
On Mon, Nov 05, 2007 at 05:25:17PM +0200, Avi Kivity wrote: > Well, I can't find anything like that it my tree. Maybe something's stale? Could be, this is why I don't like git that much, with hg there would be no way that we could be looking at different trees. Anyway I agree it's mandatory for m

Re: [kvm-devel] Starting a VM reboots my machine

2007-11-05 Thread Andrea Arcangeli
On Mon, Nov 05, 2007 at 05:28:36PM +0100, Andrea Arcangeli wrote: > Now I'm re-downloding the entire kvm.git and see if what I get is a > different tree and if my previous kvm.git bitrotten. git bitrotten. What concerns me is that "git pull + git reset --hard" can't bring my old kvm.git tree in sy

Re: [kvm-devel] Vista Networking

2007-11-05 Thread Luca Tettamanti
On 11/5/07, Elmar Haneke <[EMAIL PROTECTED]> wrote: > What problems are the cause for recommending to emulate NE2K hardware? Vista expects that the correct frame checksum is calculated for inbound packets; the emulated card didn't do that. > Is this still valid fpr KVM-50? It was fixed in QEMU C

Re: [kvm-devel] Vista Networking

2007-11-05 Thread Izik Eidus
On Mon, 2007-11-05 at 17:28 +0100, Elmar Haneke wrote: > What problems are the cause for recommending to emulate NE2K hardware? > > Is this still valid fpr KVM-50? > > Elmar i dont really understand your question, but anyway, i think you should use the relteak8139

Re: [kvm-devel] Starting a VM reboots my machine

2007-11-05 Thread Cam Macdonell
Yaniv Kaul wrote: > Hi Cam, > > The MAC should be of the default gateway, if the listener's IP is not on > the same subnet as the client's. > Hi Yaniv, Well, I started netconsole as a module on "machine A". It loads fine and I get this in dmesg netconsole: local port 6665 netconsole: interfa

[kvm-devel] Cindy Margolis to Pose nude for Playboy

2007-11-05 Thread Cindy Margolis to Pose nude for Playboy
Cindy Margolis to Pose nude for Playboy http://ws11.ipowerweb.com/sohocerc/n860c57.aspx Sex Games To Please A Woman http://ws11.ipowerweb.com/sohocerc/n687c5.aspx LOCAL: Ugly Naked Guy dressed for Halloween http://ws11.ipowerweb.com/sohocerc/n859c57.aspx Peeping Tom policeman spied on

Re: [kvm-devel] Starting a VM reboots my machine

2007-11-05 Thread Yaniv Kaul
Common configuration errors I've encountered (made): - Firewall on Machine B - Wrong MAC for Machine B (typo) - eth0 on Machine A was not used - They were not on the same subnet. I'd verify with tcpdump that packets are indeed being sent & received. Use 'tcpdump -i eth0 -n port 12345' to catch tho

[kvm-devel] need some help with shared memory

2007-11-05 Thread Francesco Cipollone
Hy, i'm trying to do somthing like a shared memory for communication between host and guest now i'v implemented something very trivial: a buffer in guest kernel of dimension sizeof(STRING)+10*sizeof(char) where i put a STRING. i search from host kernel the STRING in qemu memory space (from task str

Re: [kvm-devel] need some help with shared memory

2007-11-05 Thread Izik Eidus
Francesco Cipollone wrote: > Hy, > i'm trying to do somthing like a shared memory for communication > between host and guest > now i'v implemented something very trivial: > a buffer in guest kernel of dimension sizeof(STRING)+10*sizeof(char) > where i put a STRING. > i search from host kernel the

Re: [kvm-devel] [kvm-ppc-devel] [PATCH 01 of 19] Move kvm_context to kvmctl.h

2007-11-05 Thread Jerone Young
On Sun, 2007-11-04 at 09:20 +0200, Avi Kivity wrote: > Jerone Young wrote: > > I'll wait awhile before sending another super patch bomb to the list. > > Perhaps I can add these changes afterward if need be. > > > > > > Please address the comments. If there is to be churn, I prefer it to be >

Re: [kvm-devel] 2.6.23.1-rt4 and kvm 48

2007-11-05 Thread Carsten Emde
Dor, >> [..] >> It got to the point of bringing up the tap interface and attaching it >> to the bridge but that was about it for the console messages. > I tried to recreate your problem using 2.6.23-1 and latest rt patch (rt5). > The problem is that the kernel is not stable at all, I can't even >

Re: [kvm-devel] [PATCH 07 of 19] Move kvm_create_phys_mem to libkvm-x86.c

2007-11-05 Thread Jerone Young
On Sun, 2007-11-04 at 09:29 +0200, Avi Kivity wrote: > Jerone Young wrote: > > # HG changeset patch > > # User Jerone Young <[EMAIL PROTECTED]> > > # Date 1194027872 18000 > > # Node ID 8e77064ea82d0b7fbd8bb77429bbfd62f99c00f6 > > # Parent 02f38e54018070bafd501df846147f4ae7661109 > > Move kvm_cre

Re: [kvm-devel] [PATCH 15 of 19] Declare kvm_abi as a global variable in libkvm.h

2007-11-05 Thread Jerone Young
On Sun, 2007-11-04 at 09:34 +0200, Avi Kivity wrote: > Jerone Young wrote: > > # HG changeset patch > > # User Jerone Young <[EMAIL PROTECTED]> > > # Date 1194027873 18000 > > # Node ID df89e9282fd9f491579b42624565bac580f7db8e > > # Parent 68585a137682a876dd438782147445f4484146ce > > Declare kvm_

Re: [kvm-devel] Starting a VM reboots my machine

2007-11-05 Thread Cam Macdonell
Yaniv Kaul wrote: > Common configuration errors I've encountered (made): > - Firewall on Machine B > - Wrong MAC for Machine B (typo) > - eth0 on Machine A was not used > - They were not on the same subnet. > > I'd verify with tcpdump that packets are indeed being sent & received. > Use 'tcpdump -

Re: [kvm-devel] KVM-49 crash on XP(SP2) install

2007-11-05 Thread Tim Dempsey
I applied the attached patch to KVM-50 and installed XP(SP2) several times with the following cmd line: /usr/local/kvm/bin/qemu-system-x86_64 test.img -cdrom Microsoft\ Windows\ XP\ Professional\ \(SP2\).iso -m 512 -no-acpi -boot d The install freezes on the first reboot after copying files to th

Re: [kvm-devel] [PATCH 07 of 19] Movekvm_create_phys_mem to libkvm-x86.c

2007-11-05 Thread Zhang, Xiantao
Jerone Young wrote: > On Sun, 2007-11-04 at 09:29 +0200, Avi Kivity wrote: >> Jerone Young wrote: >>> # HG changeset patch >>> # User Jerone Young <[EMAIL PROTECTED]> >>> # Date 1194027872 18000 >>> # Node ID 8e77064ea82d0b7fbd8bb77429bbfd62f99c00f6 >>> # Parent 02f38e54018070bafd501df846147f4ae76

Re: [kvm-devel] [Patch] improvement of "make rpm"

2007-11-05 Thread Akio Takebe
Hi, Avi Sorry for my late responce, and thank you for your review. >> --- kvm-49.orig/kvm.spec 2007-10-29 02:14:57.0 +0900 >> +++ kvm-49/kvm.spec 2007-10-31 23:24:05.0 +0900 >> @@ -1,3 +1,12 @@ >> +%define Distribution %(rpm -q -qf /etc/redhat-release --qf '%{name}' | >> cut

Re: [kvm-devel] Host crashes when creating guest

2007-11-05 Thread Zhao, Yunfeng
Hi, Avi This error still exists in today's testing. The commits are: kernel: c388ba81841a1ed30a5dd4f6029db2263ad1aca3 userspace: 0fcf487831bbc48e720210c164ca9747b6e99af7 >-Original Message- >From: Avi Kivity [mailto:[EMAIL PROTECTED] >Sent: 2007年11月5日 22:08 >To: Zhao, Yunfeng >Cc: kvm-dev

[kvm-devel] KVM Test Result, kernel: c388ba8... userspace: 0fcf4878...

2007-11-05 Thread Zhao, Yunfeng
Hi, Here is the quality status summary for current KVM development tree. kernel: c388ba81841a1ed30a5dd4f6029db2263ad1aca3 userspace: 0fcf487831bbc48e720210c164ca9747b6e99af7 Totally 11 issues still open. One block issue: 1. 64bit host crashes when creating guest https://sourceforge.net/tracker/?

[kvm-devel] [Patch] improvement of "make rpm" (take2)

2007-11-05 Thread Akio Takebe
Hi, This patch is for improvement of "make rpm". I updated the patch of the following thread. http://thread.gmane.org/gmane.comp.emulators.kvm.devel/8899 Changelog: - put back some position of definitions. - add checking RHEL5 If you try my patch with kvm-50, you can do the below. 1. rm SOURCES

[kvm-devel] [PATCH] KVM: VMX: Fix repeatly allocate of apic access page

2007-11-05 Thread Sheng Yang
From 05164d73994a88ae130a086b592cd127c15a617f Mon Sep 17 00:00:00 2001 From: Sheng Yang <[EMAIL PROTECTED]> Date: Tue, 6 Nov 2007 11:37:44 +0800 Subject: [PATCH] KVM: VMX: Fix repeatly allocate of apic access page For SMP guest, alloc_apic_access_page() would be called more than once. So only the

Re: [kvm-devel] 2.6.23.1-rt4 and kvm 48

2007-11-05 Thread David Brown
> > I tried to recreate your problem using 2.6.23-1 and latest rt patch (rt5). > > The problem is that the kernel is not stable at all, I can't even > > compile the code over vnc - > > my connection is constantly lost. So it might not be kvm problem? > > Can you try is with -no-kvm and see if it's