Gregory Haskins wrote:
> Hi Team,
> I don't know if anyone here also subscribes to linux-rt-users, but it
> seems as though Ingo et. al. rejected my modifications which ran the
> smp_call() in a thread (VFCIPI).
It's not surprising. 650 lines including a custom memory allocator is
excessive.
Dong, Eddie wrote:
> Avi Kivity wrote:
>
>> I rebased the lapic2 branch onto current master. Because there were
>> many nontrivial changes, the result is in a new branch,
>> lapic3. This is
>> for both kernel and userspace.
>>
>>
>
> lapic3 clearly crashes after the rebase due to APIC reg
Avi Kivity wrote:
> I rebased the lapic2 branch onto current master. Because there were
> many nontrivial changes, the result is in a new branch,
> lapic3. This is
> for both kernel and userspace.
>
lapic3 clearly crashes after the rebase due to APIC register
access earlier than APIC instan
hi,
im using a 64 bit fedora7 system with a quad-core processor to host
multiple virtual machines.
my current kernel is:
Linux testserver 2.6.22.1-27.fc7 #1 SMP Tue Jul 17 17:19:58 EDT 2007
x86_64 x86_64 x86_64 GNU/Linux
(now there is a 2.6.22.1-33.fc7 to download, but i think it is not the
poi
We use kfree in svm.c and vmx.c, and this works, but it could break at
any time. kfree() is supposed to match up with kmalloc().
Signed-off-by: Rusty Russell <[EMAIL PROTECTED]>
diff -r 7e054bfac61d drivers/kvm/svm.c
--- a/drivers/kvm/svm.c Wed Aug 01 10:42:06 2007 +1000
+++ b/drivers/kvm/svm.c
On 7/31/07, Avi Kivity <[EMAIL PROTECTED]> wrote:
> Gerb Stralko wrote:
> > however when i run the following commands:
> >
> > [EMAIL PROTECTED] ~ $ sudo /usr/local/kvm/bin/qemu-system-x86_64 -hda
> > /mnt/kvm/win32xp.img -cdrom /mnt/kvm/win32xp.iso -boot d -m 512
> > Could not initialize SDL - exi
All guest-invokable printks should be ratelimited to prevent malicious
guests from flooding logs. This is a start.
Signed-off-by: Rusty Russell <[EMAIL PROTECTED]>
diff -r 8b44d107639d drivers/kvm/kvm.h
--- a/drivers/kvm/kvm.h Wed Aug 01 10:29:10 2007 +1000
+++ b/drivers/kvm/kvm.h Wed Aug 01 10:
I installed kvm from Ubuntu's 7.04 repository. When I try start kvm with
kvm -m 256 -cdrom /path/to/kubuntu-7.04-dvd-i386.iso -boot d .kvm/server.img
I get a BIOS screen that says Loading... (among other typical BIOS
information), then just does nothing while using 100% of one of the cores on
my
According to my Intel manual, although lmsw only causes an exit when
trying to set the bottom 4 bits, it is supposed to set the bottom 16
bits of cr0.
Signed-off-by: Rusty Russell <[EMAIL PROTECTED]>
diff -r f06a5d7dc984 drivers/kvm/kvm_main.c
--- a/drivers/kvm/kvm_main.cWed Jul 25 13:05:14 2
Devices don't need open or release functions.
Signed-off-by: Rusty Russell <[EMAIL PROTECTED]>
diff -r 9fde0a9cae6b drivers/kvm/kvm_main.c
--- a/drivers/kvm/kvm_main.cFri Jul 27 17:14:25 2007 +1000
+++ b/drivers/kvm/kvm_main.cFri Jul 27 17:17:57 2007 +1000
@@ -363,11 +363,6 @@ static stru
We shouldn't define stat_set on the debug attributes, since that will
cause silent failure on writing: without a set argument, userspace
will get -EACCESS.
Signed-off-by: Rusty Russell <[EMAIL PROTECTED]>
diff -r 968bc14f06fd drivers/kvm/kvm_main.c
--- a/drivers/kvm/kvm_main.cTue Jul 31 19:34
Everyone can use push_irq() and pop_irq(), so move them to common code.
Signed-off-by: Rusty Russell <[EMAIL PROTECTED]>
diff -r f48242856f1c drivers/kvm/kvm.h
--- a/drivers/kvm/kvm.h Wed Aug 01 09:57:03 2007 +1000
+++ b/drivers/kvm/kvm.h Wed Aug 01 10:06:10 2007 +1000
@@ -716,6 +716,24 @@ static
On 7/31/07, Paul J R <[EMAIL PROTECTED]> wrote:
> The kind of thing I had in mind was relatively simple, it'd be a
> miniture OS that would boot up (over pxe/usb/cdrom) into ram (its about
> 90mb of ram so far with kvm and a full kernel + kudzu and few small
> components such as a httpd+php). it s
Hi,
thank you for the answer! I've tried the patch - but with the same
result :-( (with 2.6.22 original and the kvm-33 modules)
Best regards
Tom
Avi Kivity schrieb:
> tadomeit wrote:
>> Hi,
>>
>> I've installed the latest version kvm-33 on my PC. All guests (tested
>> with several knoppix versio
Amit,
On 7/31/07, Amit Shah <[EMAIL PROTECTED]> wrote:
> > unavailable. I disable the SDL window as graphics is very slow. So I
> > see no way to send in a qemu monitor command.
>
> From
>
> http://fabrice.bellard.free.fr/qemu/qemu-doc.html#SEC32
>
> Use Ctrl-a c to switch between the serial cons
Hi Team,
I don't know if anyone here also subscribes to linux-rt-users, but it
seems as though Ingo et. al. rejected my modifications which ran the
smp_call() in a thread (VFCIPI). So FYI: KVM is still broken on RT and
needs to be addressed.
In a nutshell, kvm_lock cannot be used as it us today
On Tuesday 31 July 2007 22:26:28 Dimitry Golubovsky wrote:
> I use console redirected to serial port (-append console=ttyS0), and
> serial port to stdio (-serial stdio), that is, the terminal window
> that started kvm becomes guest console, and qemu console seems to be
> unavailable. I disable the
On Tue, Jul 31, 2007 at 09:33:30AM -0700, Matthew Kent wrote:
> > The problem is security,
> > Authenticating users on the page is simple enough, but i cant see a
> > method by which i could put a password on the vnc port in qemu?
> >
>
> http://fedoraproject.org/wiki/Releases/FeatureVirtSecur
On Wed, Aug 01, 2007 at 03:26:57AM +1000, Paul J R wrote:
> Wow, those are both pretty informative. Given both those replies, i'm
> wondering if i should continue?
>
> The kind of thing I had in mind was relatively simple, it'd be a
> miniture OS that would boot up (over pxe/usb/cdrom) into ram
I rebased the lapic2 branch onto current master. Because there were
many nontrivial changes, the result is in a new branch, lapic3. This is
for both kernel and userspace.
--
error compiling committee.c: too many arguments to function
-
Wow, those are both pretty informative. Given both those replies, i'm
wondering if i should continue?
The kind of thing I had in mind was relatively simple, it'd be a
miniture OS that would boot up (over pxe/usb/cdrom) into ram (its about
90mb of ram so far with kvm and a full kernel + kudzu an
On Tue, 2007-31-07 at 17:57 +0100, Daniel P. Berrange wrote:
> On Wed, Aug 01, 2007 at 01:52:39AM +1000, Paul J R wrote:
> > Hi guys, I had a quick question.
> >
> > I was playing around writing a php-based web interface for KVM.
> > Basically something that would allow you to use a tiny distro a
On Wed, Aug 01, 2007 at 01:52:39AM +1000, Paul J R wrote:
> Hi guys, I had a quick question.
>
> I was playing around writing a php-based web interface for KVM.
> Basically something that would allow you to use a tiny distro and let
> you manage disk/net etc via php (atm its crude to say the lea
Hi,
What are possible ways to exit from kvm on behalf of the quest OS
(mainly Linux) when it shuts down?
I use console redirected to serial port (-append console=ttyS0), and
serial port to stdio (-serial stdio), that is, the terminal window
that started kvm becomes guest console, and qemu console
Paul J R wrote:
> Hi guys, I had a quick question.
>
> I was playing around writing a php-based web interface for KVM.
> Basically something that would allow you to use a tiny distro and let
> you manage disk/net etc via php (atm its crude to say the least).
>
> It all seems relatively straight f
On Wed, 2007-01-08 at 01:52 +1000, Paul J R wrote:
> Hi guys, I had a quick question.
>
> I was playing around writing a php-based web interface for KVM.
Well since KVM uses QEMU you'd really be writing a frontend for that.
I've already seen a number of other projects for QEMU frontends, google
On 7/31/07, ron minnich <[EMAIL PROTECTED]> wrote:
> Take a look at Lucho's kvmfs before you go too far.
>
> See his OLS talk and papers.
https://ols2006.108.redhat.com/2007/Reprints/mirtchovski-Reprint.pdf
Seems pretty cool.
--
Take a look at Lucho's kvmfs before you go too far.
See his OLS talk and papers.
ron
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and config
tadomeit wrote:
Hi,
I've installed the latest version kvm-33 on my PC. All guests (tested
with several knoppix version and SuSE 10.1 install dvd image) hanging on
reboot. In the host syslog I found a lot of messages (>1000): "kernel:
kvm: unhandled wrmsr: 0xc083"
I've tested with the origin
Hi guys, I had a quick question.
I was playing around writing a php-based web interface for KVM.
Basically something that would allow you to use a tiny distro and let
you manage disk/net etc via php (atm its crude to say the least).
It all seems relatively straight forward except for one compon
Rusty Russell wrote:
> alloc_vmcs_cpu is already declared (static) above, no need to
> redeclare.
>
>
Applied this, as well as the msr_interception() and mark_page_dirty()
patches. Thanks.
--
error compiling committee.c: too many arguments to function
-
Gregory Haskins wrote:
> On Tue, 2007-07-31 at 17:18 +0800, Dong, Eddie wrote:
>
>>
>> I may miss something, why does that matter?
>
> As it turns out, it doesn't ;) So we have dropped the patch. But not
> for the reason you are suggesting.
>
>
>> __vcpu_clear will eventually
>> get execute
On Tue, 2007-07-31 at 17:18 +0800, Dong, Eddie wrote:
>
> I may miss something, why does that matter?
As it turns out, it doesn't ;) So we have dropped the patch. But not
for the reason you are suggesting.
> __vcpu_clear will eventually
> get executed though it is a little bit delayed. vmcl
> Can you run normal X clients? Is $DISPLAY set correctly, etc.?
Yes, i can run normal X Clients and $DISPLAY is just regular old
=:0.0 _but_ when i run without sudo
[EMAIL PROTECTED] ~ $ /usr/local/kvm/bin/qemu-system-x86_64 -hda
/mnt/kvm/win32xp.img -cdrom /mnt/kvm/win32xp.iso -boot d -m 512
Andreas Jellinghaus wrote:
> follow up: works fine when I run qemu with -usbdevice host:1.5
> but adding it while running with usb_add in the qemu console does
> not work. shall I file a bug for this or something?
>
Does it work with -no-kvm? With plain qemu 0.9.0? With qemu-cvs?
--
error
Yang, Sheng wrote:
> I modified the patch as you suggest.
> For any failure in this due to hardware error, I replace all the error
> return code with -EIO.
>
> Thanks.
> ---
> From: Sheng Yang <[EMAIL PROTECTED]>
> Date: Tue, 31 Jul 2007 17:23:20 +0800
> Subject: [PATCH] Add cpu consistence check i
Rusty Russell wrote:
> kvm_vm_ioctl_get_dirty_log scans bitmap to see it it's all zero, but
> doesn't use that information.
>
> Avi says:
> Looks like it was used to guard kvm_mmu_slot_remove_write_access();
> optimizing the case where the guest just leaves the screen alone (which
>
alloc_vmcs_cpu is already declared (static) above, no need to
redeclare.
Signed-off-by: Rusty Russell <[EMAIL PROTECTED]>
diff -r 12049042a59e drivers/kvm/vmx.c
--- a/drivers/kvm/vmx.c Mon Jul 23 11:16:17 2007 +1000
+++ b/drivers/kvm/vmx.c Mon Jul 23 11:35:39 2007 +1000
@@ -816,8 +816,6 @@ static
set_msr_interception() is used by svm to set up which MSRs should be
intercepted. It can only fail if someone has changed the code to try
to intercept an MSR without updating the array of ranges.
The return value is ignored anyway: it should just BUG() if it doesn't
work. (A build-time failure w
For some reason, mark_page_dirty open-codes __gfn_to_memslot().
Signed-off-by: Rusty Russell <[EMAIL PROTECTED]>
diff -r 95fa893a78f3 drivers/kvm/kvm_main.c
--- a/drivers/kvm/kvm_main.cMon Jul 30 15:23:43 2007 +1000
+++ b/drivers/kvm/kvm_main.cMon Jul 30 15:38:39 2007 +1000
@@ -963,28 +96
follow up: works fine when I run qemu with -usbdevice host:1.5
but adding it while running with usb_add in the qemu console does
not work. shall I file a bug for this or something?
Andreas
-
This SF.net email is sponsored by
I modified the patch as you suggest.
For any failure in this due to hardware error, I replace all the error
return code with -EIO.
Thanks.
---
From: Sheng Yang <[EMAIL PROTECTED]>
Date: Tue, 31 Jul 2007 17:23:20 +0800
Subject: [PATCH] Add cpu consistence check in vmx.
All the physical CPUs on the
kvm_vm_ioctl_get_dirty_log scans bitmap to see it it's all zero, but
doesn't use that information.
Avi says:
Looks like it was used to guard kvm_mmu_slot_remove_write_access();
optimizing the case where the guest just leaves the screen alone (which
it usually does, especial
What fedora distribution is in the guest?
Could you give more detailed config info?
Before I tried to boot 64bit RHEL4U3 against lapic2 branch, I didn't meet the
problem.
Thanks
Yunfeng
>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of Dor Laor
>Sent:
Dong, Eddie wrote:
> [EMAIL PROTECTED] wrote:
>
>> On Thu, 2007-07-26 at 18:03 +0300, Avi Kivity wrote:
>>
>>> Gregory Haskins wrote:
>>>
We need to provide locking around the current_vmcs/VMCS
interactions to protect against race conditions.
>>> Can
[EMAIL PROTECTED] wrote:
> On Thu, 2007-07-26 at 18:03 +0300, Avi Kivity wrote:
>> Gregory Haskins wrote:
>>> We need to provide locking around the current_vmcs/VMCS
>>> interactions to protect against race conditions.
>>>
>>>
>>
>> Can you explain the race?
>
> Sure. It can happen with two VM
Yang, Sheng wrote:
>>> + return -1;
>>>
>>>
>> -1 is -EPERM. We need a real, more suitable, error code here.
>>
>
> How about using -EINVAL? But the comment of it is "Invalid argument"...
> I can't find more one here...
>
>
EINVAL usually means a user-supplied argument is
>> +return -1;
>>
>
>-1 is -EPERM. We need a real, more suitable, error code here.
How about using -EINVAL? But the comment of it is "Invalid argument"...
I can't find more one here...
>Also, having a single function either construct vmcs_config or verify,
>depending on whether it is
Hello to the brave apic pioneers,
While trying to use the lapic2 branch for fedora 64bit guest over Intel
host 2.6.22 I got the following:
===
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
PIIX3: IDE controller at PCI slot :00:01.1
PIIX3: chipset revision 0
I added a couple of interactivity improvements on the TODO
(http://kvm.qumranet.com/kvmwiki/TODO). They should be quite fun for
someone who uses kvm for interactive workloads, as you should notice the
improvement immediately, and they're not too hard for someone who's just
starting hacking on
>-Original Message-
>From: Avi Kivity [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, July 31, 2007 4:10 PM
>To: Li, Xin B
>Cc: Yang, Sheng; kvm-devel@lists.sourceforge.net
>Subject: Re: [kvm-devel] [PATCH] Add cpu consistence check in vmx.
>
>Li, Xin B wrote:
>>> btw, what about cpu hotplug? w
Li, Xin B wrote:
>> btw, what about cpu hotplug? we need to deal with that too. Do we
>> error out and refuse to enable the cpu if it isn't compatible enough?
>>
>
> I think we shouldn't enable it, or the code becomes to complex.
> -xin
>
>
What do you mean exactly?
Don't enable cp
>
>btw, what about cpu hotplug? we need to deal with that too. Do we
>error out and refuse to enable the cpu if it isn't compatible enough?
I think we shouldn't enable it, or the code becomes to complex.
-xin
>
>--
>error compiling committee.c: too many arguments to function
>
>
>---
More fallout from the writeback fixes: debug register transfer instructions
do their own writeback and thus need to disable the general writeback
mechanism. This fixes oopses and some guest failures on AMD machines (the
Intel variant decodes the instruction in hardware and thus does not need
emula
Avi Kivity wrote:
> KVM: x86 emulator: disable writeback for debug register instructions
>
> These are handled internally by the instruction.
>
> Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
>
>
Sorry, junk that. Fingers (or brain) slipped. Better one coming up.
--
er
Yang, Sheng wrote:
> Thank you for point out my fault.
>
> Here is a modified version which is clearer. And I have tested it with
> version d9feefe(for the latest git repository broken).
>
I recommend building kvm.git, not the external module. kvm.git is not
broken at the moment.
> All the p
Gerb Stralko wrote:
> however when i run the following commands:
>
> [EMAIL PROTECTED] ~ $ sudo /usr/local/kvm/bin/qemu-system-x86_64 -hda
> /mnt/kvm/win32xp.img -cdrom /mnt/kvm/win32xp.iso -boot d -m 512
> Could not initialize SDL - exiting
>
>
Can you run normal X clients? Is $DISPLAY set co
KVM: x86 emulator: disable writeback for debug register instructions
These are handled internally by the instruction.
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
diff --git a/drivers/kvm/x86_emulate.c b/drivers/kvm/x86_emulate.c
index 1a90ba0..2136da5 100644
--- a/drivers/k
Thank you for point out my fault.
Here is a modified version which is clearer. And I have tested it with
version d9feefe(for the latest git repository broken).
Thanks
Yang, Sheng
--
From: Sheng Yang <[EMAIL PROTECTED]>
Date: Tue, 31 Jul 2007 10:21:32 +0800
Subject: [PATCH] Add cpu consistence che
Jorge Lucángeli Obes wrote:
[...]
> Laurent, do you want the patches for the functionality that's working
> right now? We can divide the (not very big amount of) work that's
> left. It consists basically on teaching qemu how to look for command
> line options, if none are present on the current inv
60 matches
Mail list logo