Jim Paris wrote:
Without this, memory is leaked and later attempts fail with
Migration already active.
Applied, thanks.
--
error compiling committee.c: too many arguments to function
-
This SF.net email is
Luca Tettamanti wrote:
Linux operates the HPET timer in legacy replacement mode, which means that the
periodic interrupt of the CMOS RTC is not delivered (qemu won't be able to use
/dev/rtc). Add support for HPET (/dev/hpet) as a replacement for the RTC; the
periodic interrupt is delivered via
John Lenz wrote:
A while back I reported a crash starting with kvm-29 with Windows XP guest
on AMD processors.
kvm-33 still fails for me, so I tried to use the kvm git kernel module,
(after using make sync LINUX=../../kvm.git from kvm-33 directory), but the
compile fails with (on the 2.6.20
Anthony Liguori wrote:
Hi Izik,
On Sun, 2007-08-12 at 12:59 -0700, 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.
i wrote this patch that move the guest allocated memory from the
Avi Kivity wrote:
Laurent Vivier wrote:
The aim of these two patches is to measure the CPU time used by a virtual
machine. All comments are welcome... I'm not sure it's the good way to
do that.
[PATCH 1/2] introduce a new field, guest, in cpustat to store the
time used by
the CPU to run
Nitin A Kamble wrote:
Hi Avi,
The patch to implement jmp rel emulation is attached.
+#define jmp_rel(rel) \
+do { \
+ _eip += (int)(rel);
Dong, Eddie wrote:
Avi Kivity wrote:
Dong, Eddie wrote:
Add back pending irqs for apic timer to get precise guest
APIC timer interrupt.
Can you explain the problem and the solution in more detail?
Today guest sleep 10 seconds only get about 5-6 seconds in
Jorge Lucángeli Obes wrote:
My feeling is that config files are outdated. When used with a gui,
you end up writing silly parsers and stuff and still wrecking things
horribly when the the gui writer's expectations don't match reality.
When used without a gui, they increase the amount of
Nitin A Kamble wrote:
Hi Avi,
I have been collected quiet a few patches in my tree now. They are
all in dirty(style, debug) state. Now I started cleaning some of the
code in my tree, and cutting patches again. I plan to send you steady
stream of patches now. so you can expect lots of
Luca Tettamanti wrote:
which enabled the compilation of code depending on TARGET_X86_64.
Problems arise when the host is in 32 bit mode; Avi fixed part of the
issue with d9ff68d1 (masking the LM bit when the host is 32 bit).
The MSR issue is caused by load_regs (qemu/qemu-kvm.c); at line 304
Avi Kivity wrote:
Jorge Lucángeli Obes wrote:
My feeling is that config files are outdated. When used with a gui,
you end up writing silly parsers and stuff and still wrecking things
horribly when the the gui writer's expectations don't match reality.
When used without a gui, they increase
Bugs item #1772966, was opened at 2007-08-13 11:39
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=893831aid=1772966group_id=180599
Please note that this message will contain a full copy of
Dong, Eddie wrote:
[EMAIL PROTECTED] wrote:
Add back pending irqs for apic timer to get precise guestAPIC
timer interrupt.
Signed-off-by: Yaozu (Eddie) Dong [EMAIL PROTECTED]
a typo, please use this one.
With above patches, now guest timer is much accurate! sleep 60
Dong, Eddie wrote:
cleanup:
last_update should precisely reflect the time
when an hrtimer is fired, and store the period
of apic timer to avoid calculation each time.
This doesn't apply, I'm guessing it depends on the previous patch. Will
wait for your
Dong, Eddie wrote:
APIC_TMCCT is a dynamically running count which always
need to be recalculated at the time it is read. Setting
intermediate value is meaningless.
Signed-off-by: Yaozu (Eddie) Dong [EMAIL PROTECTED]
Patch corrupted by your mailer, please resend as
On Mon, 2007-08-13 at 11:50 +0300, Avi Kivity wrote:
This patch keep track of the pending irqs and inject them back to guest
eventually
even the guest may be descheduled. This is also what we did in Xen.
BTW, This policy will also be applied to future kernel PIT, I just do it
step by
What a surprise, you are completely right. :-) Thanks, I dont know why I
didn't tryed to remove this switch...
On 8/7/07, Avi Kivity [EMAIL PROTECTED] wrote:
Daniel Paquet wrote:
Hello Devs!
On my haste to try new patches and stuff I got this error message
looping and using 100% cpu
Note that my old lapic branch did a similar tdf thing as well and it
worked quite nicely, so I think Eddie is on the right track with
adding this.
I just copied the whole APIC timer stuff from your old patch at that
time as TODO. maybe I missed something :-(
Time virtualization has quit a
Laurent Vivier wrote:
Are these options for using the kernel as a guest or host? I'd guess
the former.
I didn't find CONFIG_HYPERVISOR.
I meant, add a new option CONFIG_HYPERVISOR.
The good one seems to be CONFIG_VIRTUALIZATION that is used to activate
CONFIG_KVM.
Avi Kivity wrote:
Laurent Vivier wrote:
- perhaps the new fields should be guarded by a #ifdef CONFIG_HYPERVISOR
(selected by CONFIG_KVM)? that way the (minor) additional overhead is
only incurred if it can possibly be used. I imagine that our canine
cousin will want to use this as well.
Avi Kivity wrote:
What does pt mean in this context? pending timer?
Suggested descriptive names below.
Periodic timer. Comments added.
if (apic_lvtt_period(apic)) {
-u32 offset;
-u32 tmict = apic_get_reg(apic, APIC_TMICT);
-
-offset =
[EMAIL PROTECTED] wrote:
kvm_pt_update_irq is within intr_assist where host IRQ is disabled.
It can be updated only after we return to guest.
What if it runs on another cpu?
This case will be forbidden in next patch. We need to remove
apic-lock too.
To avoid confuse, I mean hrtimer
Dong, Eddie wrote:
Note that my old lapic branch did a similar tdf thing as well and it
worked quite nicely, so I think Eddie is on the right track with
adding this.
I just copied the whole APIC timer stuff from your old patch at that
time as TODO. maybe I missed something :-(
Time
Dong, Eddie wrote:
[EMAIL PROTECTED] wrote:
kvm_pt_update_irq is within intr_assist where host IRQ is disabled.
It can be updated only after we return to guest.
What if it runs on another cpu?
This case will be forbidden in next patch. We need to remove
apic-lock too.
Christian Borntraeger wrote:
Am Freitag, 10. August 2007 schrieb Laurent Vivier:
The aim of these two patches is to measure the CPU time used by a virtual
machine. All comments are welcome... I'm not sure it's the good way to do
that.
I did something similar for or s390guest prototype,
Am Montag, 13. August 2007 schrieb Laurent Vivier:
[copying Ingo and Rusty]
@Avi, seems that sourceforge is mangling the cc list?
The patches look good. A couple of comments:
- perhaps the new fields should be guarded by a #ifdef CONFIG_HYPERVISOR
(selected by CONFIG_KVM)? that
Christian Borntraeger wrote:
Am Montag, 13. August 2007 schrieb Avi Kivity:
Christian Borntraeger wrote:
Am Montag, 13. August 2007 schrieb Laurent Vivier:
[copying Ingo and Rusty]
@Avi, seems that sourceforge is mangling the cc list?
Avi Kivity wrote:
Laurent Vivier wrote:
Christian Borntraeger wrote:
Am Freitag, 10. August 2007 schrieb Laurent Vivier:
The aim of these two patches is to measure the CPU time used by a
virtual
machine. All comments are welcome... I'm not sure it's the good way
to do
that.
Laurent Vivier wrote:
Christian Borntraeger wrote:
Am Freitag, 10. August 2007 schrieb Laurent Vivier:
The aim of these two patches is to measure the CPU time used by a virtual
machine. All comments are welcome... I'm not sure it's the good way to do
that.
I did something
As you know, we've recently been experiencing connectivity problems to
kvm.qumranet.com. In order to debug this, we would appreciate some
stats from people who have been hit by this:
- the output of 'ping -c 30 kvm.qumranet.com'
- the output of 'tracepath kvm.qumranet.com' or 'traceroute
Avi Kivity wrote:
2: stop hrtimer when the guest is descheduled to increase
scalibility and remove apic-lock.
Why is this important? An hrtimer is just an entry on a list, no?
Does it need an IRQ to drive? If we have ten VMs, we got extra 10 IRQs.
Do you mean, just if the guest is
Dong, Eddie wrote:
Avi Kivity wrote:
2: stop hrtimer when the guest is descheduled to increase
scalibility and remove apic-lock.
Why is this important? An hrtimer is just an entry on a list, no?
Does it need an IRQ to drive? If we have ten VMs, we got extra 10 IRQs.
Am Montag, 13. August 2007 schrieb Laurent Vivier:
As guest accounting is hw dependent, I think we should add a hook in the
accounting functions.
Isn't PF_VM exactly such a hook? All the hypervisor needs to do is to
set/unset it correctly?
In fact, no.
PF_VM is used to know
On Mon, 2007-08-13 at 02:34 -0300, Jorge Lucángeli Obes wrote:
On 8/11/07, Anthony Liguori [EMAIL PROTECTED] wrote:
On Sat, 2007-08-11 at 22:28 +0100, Philip Boulain wrote:
This works, so long as qemu disregards -read-args-from-image unless it's
being called as an interpreter. Otherwise,
Christian Borntraeger wrote:
Am Montag, 13. August 2007 schrieb Laurent Vivier:
As guest accounting is hw dependent, I think we should add a hook in the
accounting functions.
Isn't PF_VM exactly such a hook? All the hypervisor needs to do is to
set/unset it correctly?
In fact, no.
This allows save/restore (and live migration on kvm) of smp guests.
Index: hw/apic.c
===
RCS file: /sources/qemu/qemu/hw/apic.c,v
retrieving revision 1.13
diff -u -r1.13 apic.c
--- hw/apic.c 3 Apr 2007 16:38:34 - 1.13
+++
Hi,
Today I downloaded kvm-34.
When i try to insert kvm-intel.ko module, I get following error,
FATAL: Error inserting kvm_intel
(/lib/modules/2.6.20-16-generic/extra/kvm-intel.ko): Input/output
error
OS : Ubuntu 7.04 x86
CPU : Intel core duo T2300
Linux Kernel :
(अमेय) Ameya (पाळंदे) Palande wrote:
Hi,
Today I downloaded kvm-34.
When i try to insert kvm-intel.ko module, I get following error,
FATAL: Error inserting kvm_intel
(/lib/modules/2.6.20-16-generic/extra/kvm-intel.ko): Input/output
error
OS : Ubuntu 7.04 x86
CPU
Same problem here:
Gentoo 2007.0
CPU Intel Coreduo T2500
Kernel 2.6.21-gentoo-r4
Simon
(अमेय) Ameya (पाळंदे) Palande wrote:
Hi,
Today I downloaded kvm-34.
When i try to insert kvm-intel.ko module, I get following error,
FATAL: Error inserting kvm_intel
There is nothing in dmesg :(
On 8/13/07, Avi Kivity [EMAIL PROTECTED] wrote:
(अमेय) Ameya (पाळंदे) Palande wrote:
Hi,
Today I downloaded kvm-34.
When i try to insert kvm-intel.ko module, I get following error,
FATAL: Error inserting kvm_intel
(अमेय) Ameya (पाळंदे) Palande wrote:
There is nothing in dmesg :(
urk, there are a zillion lines which return EIO without printing anything.
Can you run
sed -i 's/-EIO/(printk(kvm: EIO at %d\n, __LINE__), -EIO)/' kernel/vmx.c
recompile, reinsert, and check dmesg?
On 8/13/07, Avi
Jim Paris wrote:
After receiving CR or LF on the monitor, reset term_last_cmd_* as
well. This matches the setup that is done by term_show_prompt(), and is
for the case when readline_start() is not called before the next
readline_handle_byte(). Without this, unnecessary terminal escape
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 ?
Regards,
Ameya.
On 8/13/07, Avi Kivity [EMAIL PROTECTED] 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
Regards,
Ameya.
On 8/13/07, Avi Kivity [EMAIL PROTECTED] wrote:
(अमेय) Ameya (पाळंदे) Palande wrote:
There is nothing in dmesg :(
urk, there are
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 selected)
- fallback to normal unix facilities
If
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
Signed-Off-By: Luca Tettamanti [EMAIL PROTECTED]
---
qemu/hw/apic.c |4
qemu/migration.c |8
On 8/9/07, Avi Kivity [EMAIL PROTECTED] wrote:
Andrew Morton wrote:
On Thu, 09 Aug 2007 01:48:07 +0300
Avi Kivity [EMAIL PROTECTED] wrote:
Ingo Molnar wrote:
* Andrew Morton [EMAIL PROTECTED] wrote:
ia64 allmodconfig says
drivers/kvm/Kconfig:14:warning: 'select' used by config
Solution (1) above sounds preferable, unless there are mysterious reasons
why ia64 wants to avoid Kconfig.preempt (adding Tony Luck to Cc:).
Send me a patch and unless it causes more problems than it solves, I'll
put it in.
-Tony
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.
Instead of inventing great and wonderfully
Il Mon, Aug 13, 2007 at 05:42:55PM +0300, Dan Kenigsberg ha scritto:
Dynamic ticks in Qemu: have a SIGALRM generated only when it is
needed, instead of every 1 millisecond. This patch requires that the
host supports high resolution timers, since it arms a POSIX timer to the
nearest Qemu
The only thing remotely relevant in the list config is that 'Filter out
duplicate messages to list members (if possible)' is set as a default for
new members. Maybe this means that if a cc is also part of the list, that
cc is stripped (which seems a wierd implementation; I'd have
Hi Avi,
I see. I tried using the function emulator_write_emulated() instead.
And I don't see any change because of that yet.
Thanks Regards,
Nitin
Linux Open Source Technology Center, Intel Corporation
The Mind
Luca Tettamanti wrote:
[snip]
I've implemented some of my suggestions in the following patch - rebased
to kvm-userspace current git since it's easier to test (...ok, I'm lazy -
but you get the idea):
diff --git a/qemu/configure b/qemu/configure
index 365b7fb..38373db 100755
---
So you must use the standard HAL?
First can you please provide the cpu type, we had some problems on AMD.
Second, what's the host's OS? Is it 32/64 bit? kernel version.
Third, does -no-kvm works?
Some sanities just for making sure:
- Try running qemu with taskset -p 1
- Add -L
* Ryan Harper [EMAIL PROTECTED] [2007-08-13 15:29]:
* Izik Eidus [EMAIL PROTECTED] [2007-08-12 14:27]:
this is a request for comment for patchs that allow kvm to run with more
than 2 giga.
there are 4 patchs.
the first patch(biospatch): is for the bios:now the bios know how to map
Bugs item #1773613, was opened at 2007-08-13 21:01
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=893831aid=1773613group_id=180599
Please note that this message will contain a full copy of
On Mon, 2007-08-13 at 20:39 +0100, 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
Here are rebased and fixed patches, please check.
thanks, eddie
commit 9b1a9ad955d9ac44ee6e60b4a565edf044d3dcc7
Author: root [EMAIL PROTECTED](none)
Date: Fri Aug 10 22:38:59 2007 +0800
APIC_TMCCT is a dynamically running count which always
need to be recalculated at the time it is
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 to
fold the patches and wanna to see merging
Hi, all,
This is today's KVM test result against kvm.git
7a3773c7d8a0b488e86b98571e5b858a222b12a5 and kvm-userspace.git
ab5fd880c4b6ea9fa17b5178a2b9c66bde6c7363.
##What's working:
Can boot most ia32/ia32e SMP/UP Linux guests with either acpi enabled or acpi
disabled.
Can boot ia32 SMP/UP
Uri Lublin wrote:
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.
Hi
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
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 | 190 +
drivers/kvm/pvbus.h | 41
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
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 |
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
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
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
+++
I wrote
I looked into this a bit more and it seems that a big piece of
migration.c is missing or broken.
..
Am I missing something?
Yes, I am. Sorry, I missed the qemu_live_savevm_state call, which
saves the rest of the dirty pages, and explains why some migration
images are larger than
69 matches
Mail list logo