Re: [kvm-devel] kvm very slow

2007-08-09 Thread Ulrich Schreiner
the system is now MUCH faster! it boots really fast, i think, in the init-scripts there are much "sleep x", and every "x" were "2*x" in reality. other tasks are also much faster i'm happy now :-) although i cannot reboot ... (it hangs after halted), but that is another thread. Am Donnerstag, d

[kvm-devel] [PATCH] lapic3: various cleanups on user/kernel irqchip

2007-08-09 Thread He, Qing
KVM: cleanups on user/kernel irqchip checking The patch removes the union of userspace irq_pending and kernel apic in struct vcpu, which minimizes the impact of careless overwriting and avoids accidentally dereferencing invalid apic pointer. It also adds a protective checking on KVM_INTERRUPT ioc

Re: [kvm-devel] kvm very slow

2007-08-09 Thread Ulrich Schreiner
Matthew, your the hero of the day! with "acpi=force" in the guest the clock ticks correct. > ACPI: no DMI BIOS year, acpi=force is required to enable ACPI is it possible to use another bios where the acpi=force switch is not needed? or to fix the bios (i think kvm uses it's own bios, not the ori

[kvm-devel] Storing command line options in images

2007-08-09 Thread Jorge Lucángeli Obes
Hi all, >From what I've gathered, it seems that we have basically four options at hand. I think it's important to notice, however, that whatever comes out of this will probably be, as Avi said, a "low-end" solution. IMHO there's room to have both the high-end libvirt-like approach, and the "shell

Re: [kvm-devel] kernel page request failure

2007-08-09 Thread David Brown
> Well, I tend to get confused when I get fragmented reports and mix up > different bugs. Can you summarize what you are seeing with all relevant > info so I can reproduce it? Well the problem is I can't reliably reproduce the bug. The things I was doing that broke before aren't causing it to oop

[kvm-devel] help with understanding GPA/GVA issues

2007-08-09 Thread Gregory Haskins
Hi All, I am working on some PV stuff and had some questions about the ability to share memory across the Guest/Host boundary. It seems that most examples of how to do this always involve starting with a *page, converting it to a gfn via page_to_gfn(), and using that as a gpa to pass across the

[kvm-devel] 行政工作统筹管理高级研修班

2007-08-09 Thread ffgyh
行政工作统筹管理高级研修班 时间: 北京:9月7-8日 上海:8月10-11日 深圳:8月24-25日 地点: 北京新兴宾馆上海园林格兰云天大酒店(四星级) 深圳新大洲酒店 ━━━ ● 授 课 对 象 行政总监,行政经理,办公室主任,行政文员 ⊙主 办单位:众 人 行 管 理 咨 询 ⊙培 训价格: 2 5 0 0元 / 人 深圳总部电话:0755-26075265 26075429 26075

Re: [kvm-devel] [RFC] lapic3: remove the union of user/kernel irq in struct vcpu

2007-08-09 Thread He, Qing
>-Original Message- >From: Avi Kivity [mailto:[EMAIL PROTECTED] >Sent: 2007年8月9日 22:28 >To: He, Qing >Cc: Dong, Eddie; kvm-devel >Subject: Re: [RFC] lapic3: remove the union of user/kernel irq in struct vcpu > >He, Qing wrote: >> Avi, >> We have found a new bug about irqchip_in_kerne

Re: [kvm-devel] 2.6.22 x86_64 : kernel initial decompression hangs on vmware

2007-08-09 Thread Avi Kivity
Zachary Amsden wrote: > Avi Kivity wrote: >> >> We haven't seen any issue with the 2.6.22 boot decompressor. Which >> of the four (fs, gs, ldt, or tr) were proving problematic and why? > > It was tr that was affecting Workstation, since we boot through normal > BIOS path, and only a 16-bit task

Re: [kvm-devel] kvm very slow

2007-08-09 Thread Matthew Kent
[oops sorry. should have included the full dmesg from the bad boot and cc'd the original poster] On Thu, 2007-09-08 at 16:23 -0700, Matthew Kent wrote: > On Wed, 2007-01-08 at 07:22 +0200, Ulrich Schreiner wrote: > > hi, > > > > im using a 64 bit fedora7 system with a quad-core processor to host

Re: [kvm-devel] 2.6.22 x86_64 : kernel initial decompression hangs on vmware

2007-08-09 Thread Zachary Amsden
Avi Kivity wrote: > > We haven't seen any issue with the 2.6.22 boot decompressor. Which of > the four (fs, gs, ldt, or tr) were proving problematic and why? It was tr that was affecting Workstation, since we boot through normal BIOS path, and only a 16-bit task was loaded at this point. Just

Re: [kvm-devel] kvm very slow

2007-08-09 Thread Matthew Kent
On Wed, 2007-01-08 at 07:22 +0200, Ulrich Schreiner wrote: > hi, > > im using a 64 bit fedora7 system with a quad-core processor to host > multiple virtual machines. > literally the exact same setup here > my current kernel is: > > Linux testserver 2.6.22.1-27.fc7 #1 SMP Tue Jul 17 17:19:58 ED

Re: [kvm-devel] [PATCH] qemu: accept filename for incoming migration

2007-08-09 Thread Avi Kivity
Jim Paris wrote: > Extends option syntax to allow "-incoming file://" for > file-based migration. > > Applied, thanks. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? St

Re: [kvm-devel] [PATCH 1/3] qemu: fix freed pointer dereference

2007-08-09 Thread Avi Kivity
Jim Paris wrote: > If *has_error==0, s is freed before s->detach is used. Save a copy of > s->detach earlier. > > Applied all three, thanks. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log fil

[kvm-devel] [ kvm-Bugs-1771262 ] Guest hangs when copy file over nfs

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

Re: [kvm-devel] [PATCH] lapic3: fix kernel APIC timer saving

2007-08-09 Thread Avi Kivity
He, Qing wrote: > kvm: qemu: fix in-kernel APIC timer saving > > This patch fixes a bug that APIC timer is disabled when migrating from > in-kernel APIC to userspace APIC, causing guest lockups. > > Applied, thanks. - This

Re: [kvm-devel] [PATCH 2/2] qemu: add a command line option to disable irqchip

2007-08-09 Thread Avi Kivity
He, Qing wrote: > kvm: qemu: add qemu command line option -no-kvm-irqchip > > This option disables in-kernel irqchip (PIC/IOAPIC/LAPIC) and uses > qemu interrupt controllers in userspace instead. > > Both applied, thanks. --

Re: [kvm-devel] kernel page request failure

2007-08-09 Thread Avi Kivity
David Brown wrote: >> Is this the same issue or a different issue? >> > > No but I was performing the same task in the guest OS so it might be related. > > >> Did the oops happen when the host was loaded? >> > > No besides gnome running the host wasn't doing anything. > > >> Please

Re: [kvm-devel] kernel page request failure

2007-08-09 Thread David Brown
> Is this the same issue or a different issue? No but I was performing the same task in the guest OS so it might be related. > Did the oops happen when the host was loaded? No besides gnome running the host wasn't doing anything. > Please try to characterize one issue at a time, completely. So

Re: [kvm-devel] 2.6.22 x86_64 : kernel initial decompression hangs on vmware

2007-08-09 Thread Avi Kivity
Zachary Amsden wrote: > > Since I was just involved in the boot decompressor for another bug, I > took a look at this. 2.6.22 switches it to be 64-bit code. VT is > very picky about what state it can run in. Not using VT on Intel > 64-bit hardware cripples performance, running at far below no

[kvm-devel] [PATCH] qemu: accept filename for incoming migration

2007-08-09 Thread Jim Paris
Extends option syntax to allow "-incoming file://" for file-based migration. Signed-off-by: Jim Paris <[EMAIL PROTECTED]> --- For some applications (e.g. qemu launched by libvirt) it's much easier to just pass a filename on the commandline than to feed data via stdin. qemu/migration.c | 10 ++

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

2007-08-09 Thread Avi Kivity
Anthony Liguori wrote: > Avi Kivity wrote: >> Anthony Liguori wrote: >> >>> I don't think adding annotations as snapshots is the right >>> approach. I think proper support should be added in the header. I >>> wouldn't be too concerned with breaking compatibility in qcow2. >>> That's why it'

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

2007-08-09 Thread Laurent Vivier
Anthony Liguori wrote: > Avi Kivity wrote: >> Anthony Liguori wrote: >> >>> I don't think adding annotations as snapshots is the right approach. I >>> think proper support should be added in the header. I wouldn't be too >>> concerned with breaking compatibility in qcow2. That's why it's qc

Re: [kvm-devel] kernel page request failure

2007-08-09 Thread Avi Kivity
David Brown wrote: > On 8/5/07, Avi Kivity <[EMAIL PROTECTED]> wrote: > >> David Brown wrote: >> >>> I was running a guest os using kvm and I got this kernel page request >>> failure using kvm 33 and 2.6.22.1 host. >>> >>> >>> >> Is this 2.6.22.1's modules (i.e. --with-patched-kernel

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

2007-08-09 Thread Avi Kivity
Anthony Liguori wrote: > > There are still more features I'd like to see added to qcow2 so I'm > hoping that it's not frozen. For instance, copy-on-read would be very > useful. > qcow2 was released as part of qemu 0.9.0. People are using it. How can we contemplate non backward compatible cha

Re: [kvm-devel] [RFC] lapic3: remove the union of user/kernel irq in struct vcpu

2007-08-09 Thread Avi Kivity
He, Qing wrote: > Avi, > We have found a new bug about irqchip_in_kernel checking, as > addressed by the following patch: > > diff --git a/drivers/kvm/kvm_main.c b/drivers/kvm/kvm_main.c > index 88b0b89..69518f8 100644 > --- a/drivers/kvm/kvm_main.c > +++ b/drivers/kvm/kvm_main.c > @@ -283,7

Re: [kvm-devel] migration with exec giving truncated images

2007-08-09 Thread Uri Lublin
Thanks for the patches. There is still the mystery of different file sizes for different migration-exec commands, all files are "valid saved image". It seems to me that some unmodified pages are being marked as dirty, and are being saved twice (and later loaded twice). I'm still chasing that.

[kvm-devel] [RFC] lapic3: remove the union of user/kernel irq in struct vcpu

2007-08-09 Thread He, Qing
Avi, We have found a new bug about irqchip_in_kernel checking, as addressed by the following patch: diff --git a/drivers/kvm/kvm_main.c b/drivers/kvm/kvm_main.c index 88b0b89..69518f8 100644 --- a/drivers/kvm/kvm_main.c +++ b/drivers/kvm/kvm_main.c @@ -283,7 +283,8 @@ EXPORT_SYMBOL_GPL(kvm

[kvm-devel] [PATCH] lapic3: fix kernel APIC timer saving

2007-08-09 Thread He, Qing
kvm: qemu: fix in-kernel APIC timer saving This patch fixes a bug that APIC timer is disabled when migrating from in-kernel APIC to userspace APIC, causing guest lockups. Singed-off-by: Qing He <[EMAIL PROTECTED]> Signed-off-by: Yaozu (Eddie) Dong <[EMAIL PROTECTED]> --- diff --git a/qemu/hw/ap