shut down the machine. If the ACPI
daemon is not running in the guest then the event is lost...
Luca
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still
-dispatches the requests (at
least when using QEMU IDE) and the host can reschedule them at will.
Luca
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time
)
+ devfn = -1;
+else
+ devfn++;
This code look strange... devfn should be passed to virtio_init_pci by
virtio-{net,blk} init functions, no?
Luca
-
This SF.net email is sponsored by the 2008 JavaOne(SM
patches
to cleanup that mess.
lu
--
Luca Barbato
Gentoo Council Member
Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio
can always allocate 300 mbs of junk :)
Well, it may not be so bad. We can certainly malloc() those 300mbs.
They'll never be touched by anyone so it doesn't actually increase the
resident size.
Iff the host kernel is configured to overcommit memory.
Luca
thread id, i.e.:
fcntl(fd, F_SETOWN, gettid());
Luca
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX
a while ago, I believe that Avi pulled that
patch when rebased KVM userspace.
Luca
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events
on the kernel command line (guest). QEmu doesn't expose
a DMI block and Linux guests usually don't enable ACPI since they're
unable to check BIOS year (all BIOSes shipped before 2001 are
blacklisted because they tend to be very broken).
Luca
work with non-trivial setups (yes, I now
that the original script is broken too, but since you are touching
it...).
See:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=417151
IMHO it's better to rely on distro-specific scripts to setup the networking.
Luca
=ttyS0 to the guest kernel command line.
Luca
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01
On 9/21/07, Avi Kivity [EMAIL PROTECTED] wrote:
Luca wrote:
On 9/20/07, Avi Kivity [EMAIL PROTECTED] wrote:
Not much user visible change besides the OpenBSD regression fix.
As usual, if you have an issue please try with -no-kvm-irqchip and report.
32 bit Fedora7 on a 32 bit host
problem with KVM-41 (last known
working is KVM-36, I haven't tested anything in between). In both
cases -no-kvm-irqchip fixes the problem.
Log attached.
Luca
Linux version 2.6.22.2-42.fc6 ([EMAIL PROTECTED]) (gcc version 4.1.2 20070626
(Red Hat 4.1.2-13)) #1 SMP Wed Aug 15 11:32:12 EDT 2007
BIOS
/99588
http://en.wikipedia.org/wiki/Architecture_of_Windows_NT
Luca
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01
, if i've a 4 core host cpus can i give 4 cpus for both
of the 2 guests?
Yes, virtual CPUs are mapped to threads.
Luca
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http
16bit code (e.g. HPA
rewrote i386 boot code in plain C)...
Luca
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01
.
Reboot was improved in kvm-39, but not completely fixed. I'll nail it
down in kvm-40 or kvm-41.
You can reboot linux guests passing reboot=b on kernel command line.
Don't know about win...
Luca
-
This SF.net email
on an Intel or an AMD host?
Confirmed here with kvm-intel and KVM 39. Invalid opcode (#UD) is
probably caused by the boot spash code which may be using big real
mode code.
Luca
-
This SF.net email is sponsored by: Microsoft
to load due to a 64 bit division, see:
http://git.kernel.org/?p=linux/kernel/git/avi/kvm.git;a=commitdiff;h=e44af0f4ee99974ce40102e23784bc3cae7f4466
Luca
[54716.492596] kvm_intel: Unknown symbol kvm_lapic_reset
[54716.492638] kvm_intel: Unknown symbol kvm_migrate_apic_timer
[54716.492684] kvm_intel
Il Sun, Sep 09, 2007 at 03:51:20PM +0300, Avi Kivity ha scritto:
Luca Tettamanti wrote:
Actually 0xfff2 is in the middle of an instruction.
I'm guessing an 'out' instruction triggered the reboot, and
skip_emulated_instruction() added 2 to rip.
I think you're right; the reset
pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm
constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx est
tm2
ssse3 cx16 xtpr lahf_lm
bogomips: 4274.53
clflush size: 64
Luca
--
Quando un uomo porta dei fiori a sua moglie senza
On 9/9/07, Avi Kivity [EMAIL PROTECTED] wrote:
Luca Tettamanti wrote:
Hi,
while debugging a program with GDB I got a GPF which seems related to
KVM. Note that I was *not* using the debugger inside the guest nor on
the virtual machine. The target was an unrelated userspace program.
Yes
On 9/9/07, Anthony Liguori [EMAIL PROTECTED] wrote:
Luca wrote:
On 9/9/07, Avi Kivity [EMAIL PROTECTED] wrote:
Luca Tettamanti wrote:
Hi,
while debugging a program with GDB I got a GPF which seems related to
KVM. Note that I was *not* using the debugger inside the guest nor
on the configuration).
Luca
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
kvm-devel
is... does KVM include any optimizations for the
AMD virtualization extensions?
Yes, load kvm-amd.
Luca
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT
On 9/8/07, Farkas Levente [EMAIL PROTECTED] wrote:
Luca wrote:
On 9/8/07, Farkas Levente [EMAIL PROTECTED] wrote:
kvm is not ready for production use for many reason:
it can't reboot which imho a very basic feature, what's more can't even
shutdown/poweroff. the centos i386 guest
to virtualization. How can
it be faster since it uses paravirtualization (software) instead of direct
hardware virtualization features as KVM?
See above. Doing software _emulation_ of the guest is slow. A PV guest
can coordinate very efficiently with the host.
Luca
On 9/3/07, Avi Kivity [EMAIL PROTECTED] wrote:
Farkas Levente wrote:
Luca wrote:
On 9/3/07, Farkas Levente [EMAIL PROTECTED] wrote:
hi,
i've got a centos-5 x86_64 kvm-35 host system with one centos-5 i386 and
one x86_64 guests. but none of the guest are able to restart. ie. i
Il Mon, Aug 20, 2007 at 10:58:57AM +0300, Avi Kivity ha scritto:
Luca Tettamanti wrote:
In order to reactivate the CPU after the reset. When the guest reboots I
get an unhandled vm exit:
unhandled vm exit: 0x8021
rax rbx rcx rdx
.
git clone --reference kvm.avi
git://kvm.qumranet.com/home/dor/src/virtio/kvm kvm.dor
where kvm.avi is you existing kvm git repository.
Luca
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files
On 8/29/07, Cam Macdonell [EMAIL PROTECTED] wrote:
Luca wrote:
On 8/29/07, Cam Macdonell [EMAIL PROTECTED] wrote:
Dor Laor wrote:
The code can now be accessed by git:
git://kvm.qumranet.com/home/dor/src/virtio/kvm (kernel) and
git://kvm.qumranet.com/home/dor/src/virtio/kvm-userspace
maybe the
text above is a superset of the GPL and is fine...)
Luca
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using
time - it's used in decache_vcpus_on_cpu (hardware_disable) with
interrupts disabled (due to on_each_cpu). In theory it should be
harmless since the refcount on /dev/kvm prevents the deadlock.
Switching to irq-safe spin_lock_* seems fine, do you want a patch?
Luca
--
Vorrei morire ucciso dagli
cacheline bouncing.
It's possible to use pthread_sigmask() to block the signal on all
threads but one. But this would require changing the rest of the
emulator; why not just select() the fd in a dedicated thread?
Luca
Mark Bidewell ha scritto:
On 8/24/07, Luca [EMAIL PROTECTED] wrote:
On 8/25/07, Mark Bidewell [EMAIL PROTECTED] wrote:
When building kvm-36 with the latest Fedora kernel I get the error:
kvmctl.c: In function 'kvm_run':
kvmctl.c:1046: error: 'KVM_EXIT_SET_TPR' undeclared (first
-MF ./.kvmctl.d
-g -fomit-frame-pointer -Wall -m64 -fno-stack-protector -c -o kvmctl.o
The include directory is wrong. Have you used --with-patched-kernel?
Luca
-
This SF.net email is sponsored by: Splunk Inc.
Still
*really* want to do that?
Luca
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE
listed twice?
Luca
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy
solution to silence the warning is to use always 64bit integers
instead of the longs.
Luca
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events
On 8/23/07, Cam Macdonell [EMAIL PROTECTED] wrote:
I'm trying to setup networking on FC6. Where can I find the tun/tap
interface?
CONFIG_TUN
But I'm pretty sure that default FC kernel has the module already built. Try:
modprobe tun
Luca
On 8/22/07, Avi Kivity [EMAIL PROTECTED] wrote:
Luca wrote:
This is QEMU, with dynticks and HPET:
% time seconds usecs/call callserrors syscall
-- --- --- - -
52.100.002966 0 96840
On 8/22/07, Luca [EMAIL PROTECTED] wrote:
I see a lot of sub ms timer_settime(). Many of them are the result of
-expire_time being less than the current qemu_get_clock().
False alarm, this was a bug in the debug code :D
Luca
On 8/22/07, Luca [EMAIL PROTECTED] wrote:
On 8/22/07, Avi Kivity [EMAIL PROTECTED] wrote:
Luca wrote:
This is QEMU, with dynticks and HPET:
% time seconds usecs/call callserrors syscall
-- --- --- - -
52.10
to
use HPET in one shot mode).
Luca
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your
Avi Kivity ha scritto:
Luca Tettamanti wrote:
At 1000Hz:
QEMU
hpet5.5%
dynticks 11.7%
KVM
hpet3.4%
dynticks7.3%
No surprises here, you can see the additional 1k syscalls per second.
This is very surprising to me. The 6.2% difference
On 8/21/07, Matthew Kent [EMAIL PROTECTED] wrote:
On Sat, 2007-18-08 at 01:11 +0200, Luca Tettamanti wrote:
plain text document attachment (clock-hpet)
Linux operates the HPET timer in legacy replacement mode, which means that
the periodic interrupt of the CMOS RTC is not delivered (qemu
Il Sun, Aug 19, 2007 at 10:31:26PM +0300, Avi Kivity ha scritto:
Luca wrote:
On 8/19/07, Luca Tettamanti [EMAIL PROTECTED] wrote:
+static uint64_t qemu_next_deadline(void) {
+uint64_t nearest_delta_us = ULLONG_MAX;
+uint64_t vmdelta_us;
Hum, I introduced a bug
On 8/20/07, malc [EMAIL PROTECTED] wrote:
On Mon, 20 Aug 2007, Luca Tettamanti wrote:
Il Sun, Aug 19, 2007 at 10:31:26PM +0300, Avi Kivity ha scritto:
Luca wrote:
On 8/19/07, Luca Tettamanti [EMAIL PROTECTED] wrote:
+static uint64_t qemu_next_deadline(void) {
+uint64_t
is : warning: could not configure /dev/net/tun: no
virtual network emulation
Could not initialize device 'tap''
You need CAP_NET_ADMIN to fiddle with TUN/TAP.
Luca
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping
On 8/19/07, Eugene Coetzee [EMAIL PROTECTED] wrote:
Luca wrote:
On 8/19/07, Eugene Coetzee [EMAIL PROTECTED] wrote:
Hi .
I'm trying to run KVM on Feisty, 64 bit Intel with the -net nic -net
tap switches so I can use it in bridged network mode.
It refuses and I have to run it sudo which
On 8/19/07, Luca Tettamanti [EMAIL PROTECTED] wrote:
+static uint64_t qemu_next_deadline(void) {
+uint64_t nearest_delta_us = ULLONG_MAX;
+uint64_t vmdelta_us;
Hum, I introduced a bug here... those vars should be signed.
On the overhead introduced: how do you measure it?
Luca
Il Sun, Aug 19, 2007 at 10:36:06AM +0300, Avi Kivity ha scritto:
Luca wrote:
On 8/13/07, Avi Kivity [EMAIL PROTECTED] wrote:
Luca Tettamanti wrote:
The patch stops the unhandled wrmsr, but reboot is still not working
(guest is stuck using 100% of the CPU). The last working
has a KVM package you can do:
apt-get build-dep kvm
which should cover all the dependencies.
Luca
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log
On 8/13/07, Avi Kivity [EMAIL PROTECTED] wrote:
Luca Tettamanti wrote:
The patch stops the unhandled wrmsr, but reboot is still not working
(guest is stuck using 100% of the CPU). The last working userspace is
KVM-28, and I tested it with recent kernel modules. Any idea on this
one
precedence over other timers, but of course this can be
overridden.
Patch 4 introduces dynticks timer source; patch is mostly based on the work
Dan Kenigsberg. dynticks is now the default alarm timer.
Luca
--
-
This SF.net email
in the
same way as the RTC timer.
Signed-off-by: Luca Tettamanti [EMAIL PROTECTED]
---
vl.c | 57 -
1 file changed, 56 insertions(+), 1 deletion(-)
Index: qemu/vl.c
Allow user to override the list of available alarm timers and their
priority. The format of the options is -clock clk1,clk2,...
Signed-off-by: Luca Tettamanti [EMAIL PROTECTED]
---
vl.c | 72 +++
1 file changed, 72 insertions
]
Signed-off-by: Luca Tettamanti [EMAIL PROTECTED]
---
configure |5 ++
vl.c | 149 +++---
2 files changed, 148 insertions(+), 6 deletions(-)
Index: qemu/vl.c
running on a windows host ?
The improvements - beyond the refactoring - are either specific to
Linux (HPET timer) or to UNIX in general (dynticks - POSIX timers are
used).
It may be possible to use one-shot timer on windows too, but I'm not
really familiar with win32 API.
Luca
in the
same way as the RTC timer.
Signed-off-by: Luca Tettamanti [EMAIL PROTECTED]
---
qemu/vl.c | 57 ++-
1 files changed, 56 insertions(+), 1 deletions(-)
diff --git a/qemu/vl.c b/qemu/vl.c
index f0b4896..0373beb 100644
--- a/qemu/vl.c
+++ b/qemu
]
Signed-off-by: Luca Tettamanti [EMAIL PROTECTED]
---
qemu/configure |5 ++
qemu/vl.c | 149 --
2 files changed, 148 insertions(+), 6 deletions(-)
diff --git a/qemu/configure b/qemu/configure
index 365b7fb..38373db 100755
--- a/qemu/configure
Make the alarm code modular, removing #ifdef from the generic code and
abstract a common interface for all the timer. The result is functionally
equivalent to the old code.
Signed-off-by: Luca Tettamanti [EMAIL PROTECTED]
---
qemu/vl.c | 292
Hello,
in reply to this mail I will send a serie of 4 patches that cleans up and
expands
the alarm timer handling in QEMU. Patches apply to current kvm-userspace tree,
but I think I can rebase it to QEMU svn if desired.
Patch 1 is mostly a cleanup of the existing code; instead of having multiple
Allow user to override the list of available alarm timers and their
priority. The format of the options is -clock clk1,clk2,...
Signed-off-by: Luca Tettamanti [EMAIL PROTECTED]
---
qemu/vl.c | 90 --
1 files changed, 72 insertions(+), 18
- does not contain the kernel
space part).
Download kvm-35 tarball, you'll find both pieces.
Luca
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events
/kvm/bin/qemu like the HOWTO
mentioned (as I didn't compiled the kvm bundle myself...).
Under debian the executable is called kvm; I believe that it's the
same under ubuntu. Run dpkg -L kvm and see what has been installed.
Luca
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
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
;
+break;
+#endif
}
}
}
Luca
--
Se non puoi convincerli, confondili.
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search
is ok, I
can reach the server (from Italy) just fine, but nothing responds
(nothing at *all*, not event a RST - the same behaviour of iptables
DROP target BTW).
Luca
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping
, extended_memory);
+ kvm_memory_region_save_params(kvm, above_bios_memory);
*vm_mem = mmap(NULL, memory, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0);
if (*vm_mem == MAP_FAILED) {
Luca
--
La differenza fra l'intelligenza e la stupidita`?
All'intelligenza c'e` un limite
it with recent kernel modules. Any idea on this
one?
Luca
--
Runtime error 6D at f000:a12f : user incompetente
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search
to program the HPET in dont-break-other-stuff mode is
underway.
Luca
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX
On 8/7/07, Dor Laor [EMAIL PROTECTED] wrote:
Luca claims the HPET intefer the RTC. Can it be disabled? ( I know some
new chipsets implement rtc using HPET).
Basically HPET can operate in legacy mode - where it uses the same IRQ
as the RTC (and RTC won't deliver any interrupt) - or in standard
Il Tue, Aug 07, 2007 at 02:08:08PM +0200, Luca ha scritto:
On 8/7/07, Dor Laor [EMAIL PROTECTED] wrote:
Luca claims the HPET intefer the RTC. Can it be disabled? ( I know some
new chipsets implement rtc using HPET).
Basically HPET can operate in legacy mode - where it uses the same IRQ
6.4GB.
Hum, then the used disk space is 6.4GB. Selecting all files may skip
hidden/system/whatever files according to explorer settings.
Luca
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files
BIOS) which
doesn't enable the port though.
Luca
As a side note: I'm currently busy with ICWE and tomorrow I'll be
leaving for Rome so I cannot do further tests.
-
This SF.net email is sponsored by: Microsoft
Defy all challenges
On 7/17/07, Avi Kivity [EMAIL PROTECTED] wrote:
Luca wrote:
So, would it be correct to revert the patch enabling the ports, assuming
people use the kvm-supplied bios?
I think so.
Please confirm that the original test case (I think it was the FC7
installer?) works with the kvm bios
with real hw). Append console=ttyS0 (or
console=tty0 console=ttyS0 to have both) to kernel command line.
Luca
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control
On 7/15/07, Luca [EMAIL PROTECTED] wrote:
On 7/13/07, Dave Hansen [EMAIL PROTECTED] wrote:
diff -ru kvm-fast-dmesg.txt kvm-slow-dmesg.txt
Linux version 2.6.22 ([EMAIL PROTECTED]) (gcc version 4.1.2 (Ubuntu
4.1.2-0ubuntu4)) #13 Wed Jul 11 15:27:01 PDT 2007
Is this a vanilla 2.6.22? 32
On 7/15/07, Luca [EMAIL PROTECTED] wrote:
On 7/15/07, Luca [EMAIL PROTECTED] wrote:
On 7/13/07, Dave Hansen [EMAIL PROTECTED] wrote:
diff -ru kvm-fast-dmesg.txt kvm-slow-dmesg.txt
Linux version 2.6.22 ([EMAIL PROTECTED]) (gcc version 4.1.2 (Ubuntu
4.1.2-0ubuntu4)) #13 Wed Jul 11
: Luca Tettamanti [EMAIL PROTECTED]
Date: Tue Jun 5 14:47:33 2007 +0300
kvm: qemu: initialize ata ports as enabled
this allows libata to see the qemu ata ports.
diff --git a/qemu/hw/ide.c b/qemu/hw/ide.c
index 190f074..ddfb9bc 100644
--- a/qemu/hw/ide.c
+++ b/qemu/hw/ide.c
wasn't enabled sometimes and setting the 0x80 bits as Luca
has done fixed the issue.
Then, I found that later versions of KVM (sans my patch) seemed to work
fine so I somewhat assumed the issue had been addressed. When I saw
Lucas patch come through, I realized that it must not have been fixed
On 7/13/07, Gregory Haskins [EMAIL PROTECTED] wrote:
On Fri, 2007-07-13 at 16:46 +0200, Luca wrote:
On 7/13/07, Gregory Haskins [EMAIL PROTECTED] wrote:
Just to clarify: you are suggesting that the old IDE driver used to
see that the controller was disabled and reprogrammed it by itself
get home
if you're interested.
Luca
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http
,
Luca
--
Dicono che il cane sia il miglior amico dell'uomo. Secondo me non e`
vero. Quanti dei vostri amici avete fatto castrare, recentemente?
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE
on X86_CMPXCHG64 || 64BIT
select PREEMPT_HOOKS maybe?
Luca
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click
On 7/2/07, Mark Ryden [EMAIL PROTECTED] wrote:
My question is:
I am launching windows 2003 from linux by
/usr/local/kvm/bin/qemu-system-x86_64 . -hda vdisk.img -cdrom
/dev/hdb -no-acpi -boot d -m 384.
-full-screen and, please, man pages exist for a reason ;)
Luca
);
return p;
}
MMU working memory was exhausted during a guest context switch. It has
been fixed by:
KVM: Lazy guest cr3 switching
4b82b37a35a085a07d9ed84efee06c69655fd3d1
which is included in KVM-28.
Luca
-
This SF.net
On 6/22/07, Luca [EMAIL PROTECTED] wrote:
On 6/22/07, Morten Lund [EMAIL PROTECTED] wrote:
On Thursday 21 June 2007 01:24, Luca wrote:
On 6/20/07, SourceForge.net [EMAIL PROTECTED] wrote:
Bugs item #1740031, was opened at 2007-06-20 01:12
Message generated for change (Tracker Item
and perform the writeback stage in the emulation unless
it's explicitly disabled (currently push and some 2 bytes instructions
may disable the writeback).
Signed-Off-By: Luca Tettamanti [EMAIL PROTECTED]
---
Tested with Fedora7, Solaris10 and WinXP on a 32 bit host with Intel
CPU.
drivers/kvm
: /* wbinvd */
break;
Luca
--
Ci sono le balle, le megaballe e le statistiche.
Mark Twain
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control
during the initial import.
Luca
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http
Il Sat, Jun 16, 2007 at 10:43:23AM +0300, Avi Kivity ha scritto:
Luca Tettamanti wrote:
Il Fri, Jun 15, 2007 at 12:06:50PM +0300, Avi Kivity ha scritto:
After a bit of thinking: it's correct but removes an optimization;
furthermore it may miss other instructions that write to memory
and always perform the writeback stage in the
emulation.
Signed-Off-By: Luca Tettamanti [EMAIL PROTECTED]
---
drivers/kvm/x86_emulate.c | 60 +++-
1 file changed, 29 insertions(+), 31 deletions(-)
diff --git a/drivers/kvm/x86_emulate.c b/drivers/kvm
When writing to normal memory and the memory area is unchanged the write
can be safely skipped, avoiding the costly kvm_mmu_pte_write.
Signed-Off-By: Luca Tettamanti [EMAIL PROTECTED]
---
drivers/kvm/kvm_main.c |6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git
).
Nahh, that's too brutal. Is there a way to (hypothetically) read:
# cat /sys/module/kvm/parameters/number_of_running_vms
2
cat /sys/module/kvm_intel/refcnt (or kvm_amd) will tell you how many
VMs are running.
Luca
X86EMUL_CONTINUE;
}
static unsigned long get_segment_base(struct kvm_vcpu *vcpu, int seg)
Both patches apply to kvm-28 and have been run-time tested with 32bit
guest on 32bit host, with a VMX processor.
If patches look good I'll resubmit with proper changelog and
signed-off.
Luca
is not even receiving NMIs...
Luca
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net
Il Thu, Jun 14, 2007 at 11:26:29AM +0300, Avi Kivity ha scritto:
Luca Tettamanti wrote:
With GOOD_APIC apic_read_around is a nop, while apic_write_around is a
normal write. With !GOOD_APIC apic_write_around writes to the APIC reg
using xchg. With !GOOD_APIC and this patch:
--- include/asm
Il Fri, Jun 15, 2007 at 12:53:24AM +0200, Luca Tettamanti ha scritto:
Il Thu, Jun 14, 2007 at 11:26:29AM +0300, Avi Kivity ha scritto:
Luca Tettamanti wrote:
With GOOD_APIC apic_read_around is a nop, while apic_write_around is a
normal write. With !GOOD_APIC apic_write_around writes
1 - 100 of 108 matches
Mail list logo