hi,
KVM looks very cool, and i want to try it out. however, it seems the
download code on the homepage is not the latest version? will you
upload it soon?
it is a good idea to put the code in CVS or SVN. that makes it much
accessible for developers and contributors.
cheers,
J
-
On 11/8/06, Avi Kivity <[EMAIL PROTECTED]> wrote:
> Jun Koi wrote:
> > hi,
> >
> > KVM looks very cool, and i want to try it out. however, it seems the
> > download code on the homepage is not the latest version?
>
> Correct, several patches have been sent ou
hi,
i guess this question should be in your FAQ: does KVM work with Xen?
in the other word, is it possible to run KVM on Xen machine? (i.e
loading KVM on Dom0 or DomU. obviously it does not work on DomU, but i
am not sure about Dom0 case).
cheers,
J
--
hi,
in the structure kvm_context in libkvm:
struct kvm_context {
int fd;
struct kvm_callbacks *callbacks;
void *opaque;
void *physical_memory;
};
i would propose to change the field name to "private" or "data",
rather than "opaque", which is a little bit weird to me.
Jun
--
Hi,
Could anybody tell me how to map memory of VMs in KVM (mapping done
from hypervisor)?
I am reading the source, but still cannot figure it out.
Another question: can KVM provide strong isolation between VMs? That
means if there is a security bug in a VM kernel, can it affect other
VMs? (It see
Hi,
Do we have any inter-VM communication technique in KVM (something for
example like event-channel in Xen) ?
Thanks,
Jun
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll
On 11/30/06, Dor Laor <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > Do we have any inter-VM communication technique in KVM (something for
> > example like event-channel in Xen) ?
> >
> > Thanks,
> > Jun
>
> Currently there is full isolation of the guests.
> Such mechanism would not be complicated to a
Hi,
I got the infamous exception 13 problem when trying to run guest by
booting from a Debian iso (debian-31r4-i386-netinst.iso).
Syslog file has only one line, like this:
kvm: msrs: 6
My machine has Pentium D 930 processor.
I grepped through the mailing list, and it seems that the problem is
On 12/26/06, Jun Koi <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I got the infamous exception 13 problem when trying to run guest by
> booting from a Debian iso (debian-31r4-i386-netinst.iso).
>
> Syslog file has only one line, like this:
>
> kvm: msrs: 6
>
> My machin
On 12/26/06, Avi Kivity <[EMAIL PROTECTED]> wrote:
> Jun Koi wrote:
> > Hi,
> >
> > I got the infamous exception 13 problem when trying to run guest by
> > booting from a Debian iso (debian-31r4-i386-netinst.iso).
> >
> > Syslog file has only one lin
Hi,
I am investigating the possibility of debugging guest kernel with KVM.
Anybody may shed some lights into how KVM handles breakpoints?
Suppose that we put a breakpoint (0xCC opcode in x86) into guest
kernel. When the kernel hits the breakpoint, which one will handle the
event?
Looks like qemu
Howdy Anthony,
> Here's a tiny patch that adds a i386-kvm target. The main difference
> between the i386-kvm and i386-softmmu target is that the -kvm target
> does not have any of the dyngen infrastructure. This means that it will
> build with gcc-4. I know you can do --cc=gcc to use gcc-4 but
Hello,
Now our userspace code is in git repo, and separated from kernel code?
So I think the instruction from http://kvm.qumranet.com/kvmwiki/HOWTO
is not relevant anymore if we are to compile/install userspace code
(with qemu) from scratch?
I compiled kvm kernel first (kvm22), then pull userspa
On 5/7/07, Dor Laor <[EMAIL PROTECTED]> wrote:
> >Hello,
> >
> >Now our userspace code is in git repo, and separated from kernel code?
> >So I think the instruction from http://kvm.qumranet.com/kvmwiki/HOWTO
> >is not relevant anymore if we are to compile/install userspace code
> >(with qemu) from
On 5/7/07, Dor Laor <[EMAIL PROTECTED]> wrote:
> >Subject: Re: [kvm-devel] Error on compile userspace code
> >
> >On 5/7/07, Dor Laor <[EMAIL PROTECTED]> wrote:
> >> >Hello,
> >> >
> >> >Now our userspace code is in git repo, and separated from kernel
> code?
> >> >So I think the instruction from
On 5/7/07, Jun Koi <[EMAIL PROTECTED]> wrote:
> On 5/7/07, Dor Laor <[EMAIL PROTECTED]> wrote:
> > >Subject: Re: [kvm-devel] Error on compile userspace code
> > >
> > >On 5/7/07, Dor Laor <[EMAIL PROTECTED]> wrote:
> > >> >Hel
On 5/7/07, David Shwatrz <[EMAIL PROTECTED]> wrote:
> Hello,
> I tried to build kvm-21 on a dual core Intel machine (x86_64).
> I **had** enabled virtualization in BIOS and rechecked it.
> cat /proc/cpu shows the "vmx" in flag:
>
> I run:
> modprobe kvm
> and it is OK.
> modrobe kvm-intel
> and I
Hi Avi,
Could you make your slides/paper at NLUGG available?
(http://www.nluug.nl/events/vj07/)
Many thanks,
Jun
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and ta
On 5/23/07, Avi Kivity <[EMAIL PROTECTED]> wrote:
> Jun Koi wrote:
> > Hi Avi,
> >
> > Could you make your slides/paper at NLUGG available?
> > (http://www.nluug.nl/events/vj07/)
> >
>
> The paper should be available as part of the Proceedings. I loo
On 5/23/07, Lucas Bonnet <[EMAIL PROTECTED]> wrote:
> Avi Kivity a écrit :
> > The paper should be available as part of the Proceedings. I looked and
> > couldn't find it on the site, maybe you can drop them an email and ask
> > if it is available online.
>
> If you do so, please tell me if you ob
Hi Avi,
On 6/2/07, Avi Kivity <[EMAIL PROTECTED]> wrote:
> Linus Torvalds wrote:
> > Don't send me pull requests like this. And absolutely do NOT send them as
> > resends. I just get grumpy.
> >
> > If all the added code had been KVM-only, I might not care. But when the
> > bulk of the code touch
So now we can have SMP guest with KVM? Great!
One thing I dont understand: I dont see where you unlock vcpu[n].sipi_sem?
Thanks,
Jun
On 6/5/07, Avi Kivity <[EMAIL PROTECTED]> wrote:
> repository: /home/avi/kvm
> branch: master
> commit 61f2f77a6f11a08f06134c03e083713c78765509
> Author: Avi Kivit
Hi,
I want to try the balloon driver. Do we have it in any git tree?
The git tree I am having now only has master branch, and nothing else.
(Maybe the balloon driver is not working yet, but I am curious when
see the userspace code in user/)
Thanks,
Jun
-
Hi Dor,
On 6/5/07, Dor Laor <[EMAIL PROTECTED]> wrote:
> >Hi,
> >
> >I want to try the balloon driver. Do we have it in any git tree?
> >
> >The git tree I am having now only has master branch, and nothing else.
> >
> >(Maybe the balloon driver is not working yet, but I am curious when
> >see the
On 6/6/07, Dor Laor <[EMAIL PROTECTED]> wrote:
> >> >I want to try the balloon driver. Do we have it in any git tree?
> >> >
> >> >The git tree I am having now only has master branch, and nothing
> else.
> >> >
> >> >(Maybe the balloon driver is not working yet, but I am curious when
> >> >see the
On 6/7/07, Avi Kivity <[EMAIL PROTECTED]> wrote:
> Carsten Otte wrote:
> > The best approach into this direction I have seen so far is not our
> > own vdev thing but Rusty's virtio infrastructure. That's what I think
> > I would start with.
> >
> >
>
> I agree. We need a Lego set containing the fo
Hi,
In kvm_setup_pio() we have code like this:
kvm_arch_ops->cache_regs(vcpu);
memcpy(vcpu->pio_data, &vcpu->regs[VCPU_REGS_RAX], 4);
kvm_arch_ops->decache_regs(vcpu);
So what is the reason of saving RSP and RIP before the memcpy()
function, then recovering it right after
On 6/13/07, Anthony Liguori <[EMAIL PROTECTED]> wrote:
> Jun Koi wrote:
> > Hi,
> >
> > In kvm_setup_pio() we have code like this:
> >
> > kvm_arch_ops->cache_regs(vcpu);
> > memcpy(vcpu->pio_data, &vcpu->regs[VCPU_REGS_RAX],
Hi,
I am wondering how KVM handles debug and breakpoint interrupt? Does it
process them like normal NMI interrupt, or is there any special
processing?
Thanks,
Jun
-
This SF.net email is sponsored by DB2 Express
Download DB2
On 6/25/07, Dor Laor <[EMAIL PROTECTED]> wrote:
> >I am wondering how KVM handles debug and breakpoint interrupt? Does it
> >process them like normal NMI interrupt, or is there any special
> >processing?
> >
>
> I haven't use it but KVM does support qemu'd gdbstub. Both single step
> and breakpoint
Hi Dong,
On 6/25/07, Dong, Eddie <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > Hi,
> >
> > I am wondering how KVM handles debug and breakpoint interrupt? Does it
> > process them like normal NMI interrupt, or is there any special
> > processing?
> >
> Do u mean int 1/3 handling? Or DR
On 6/25/07, Dong, Eddie <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > On 6/25/07, Dor Laor <[EMAIL PROTECTED]> wrote:
> >>> I am wondering how KVM handles debug and breakpoint interrupt? Does
> >>> it process them like normal NMI interrupt, or is there any special
> >>> processing?
> >>
On 6/25/07, Dor Laor <[EMAIL PROTECTED]> wrote:
> >On 6/25/07, Dong, Eddie <[EMAIL PROTECTED]> wrote:
> >> [EMAIL PROTECTED] wrote:
> >> > On 6/25/07, Dor Laor <[EMAIL PROTECTED]> wrote:
> >> >>> I am wondering how KVM handles debug and breakpoint interrupt?
> Does
> >> >>> it process them like nor
On 6/26/07, Avi Kivity <[EMAIL PROTECTED]> wrote:
> Paul Turner wrote:
> > From: Paul Turner <[EMAIL PROTECTED]>
> >
> > This just separates vmx/svm specific fields off kvm_vcpu into
> > kvm_vmx_data and kvm_svm_data fields respectively. Ideally these
> > should be compiled out depending on target
On 6/26/07, Dor Laor <[EMAIL PROTECTED]> wrote:
> ...
> +static __init struct kvm_paravirt_state *paravirt_alloc_state(void)
> +{
> + struct kvm_paravirt_state *state;
> +
> + state = (void *)get_zeroed_page(GFP_KERNEL);
> + if (!state)
> + goto err;
> +
> + st
there is no authentication machanism on gdbserver
at all.
Any idea?
Thanks,
Jun
On 6/25/07, Dong, Eddie <[EMAIL PROTECTED]> wrote:
> Jun Koi wrote:
> > On 6/25/07, Dor Laor <[EMAIL PROTECTED]> wrote:
> >>> On 6/25/07, Dong, Eddie <[EMAIL PROTECTED]>
On 6/27/07, Gregory Haskins <[EMAIL PROTECTED]> wrote:
> On Wed, 2007-06-27 at 12:51 +0900, Jun Koi wrote:
> > BTW, I think that turning on debugger from qemu is a dangerous action,
> > from security point of view. Once the gdbserver is started, anybody
> > can connect
On 6/27/07, Gregory Haskins <[EMAIL PROTECTED]> wrote:
> On Wed, 2007-06-27 at 13:33 +0900, Jun Koi wrote:
> > On 6/27/07, Gregory Haskins <[EMAIL PROTECTED]> wrote:
> > > On Wed, 2007-06-27 at 12:51 +0900, Jun Koi wrote:
> > > > BTW, I think that tu
On 6/25/07, Dong, Eddie <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > On 6/25/07, Dor Laor <[EMAIL PROTECTED]> wrote:
> >>> I am wondering how KVM handles debug and breakpoint interrupt? Does
> >>> it process them like normal NMI interrupt, or is there any special
> >>> processing?
> >>
On 6/27/07, Dong, Eddie <[EMAIL PROTECTED]> wrote:
>
> >> This exit reason is either NMI, or software interrupt or exception.
> >
> > Dong, could you explain a bit: in which case interrupt 1/3 cause NMI,
> > and in which case they cause exception?
>
> If you set the bitmap for INT 1/3 in EXCEPTION_
it cannot modify VM.
If so, I have some questions:
- What is the original reason to map/unmap VM at start and end of kvm_run()?
- I did look at the code, but dont see where does what you said. Any hint?
Thanks,
Jun
>
>
> >
> >Any idea?
> >
> >Thanks,
> >Jun
> &
On 6/28/07, Dor Laor <[EMAIL PROTECTED]> wrote:
> >On 6/27/07, Dor Laor <[EMAIL PROTECTED]> wrote:
> >> >BTW, I think that turning on debugger from qemu is a dangerous
> action,
> >> >from security point of view. Once the gdbserver is started, anybody
> >> >can connect to it (with gdb) and modify V
On 7/10/07, Avi Kivity <[EMAIL PROTECTED]> wrote:
> Anthony Liguori wrote:
> > This looks like a typo. I think the intention of the if is to normalize
> > i[3456]86 to i386 since that's the target name for QEMU.
> >
> > Signed-off-by: Anthony Liguori <[EMAIL PROTECTED]>
> >
> > diff --git a/config
Hi,
1 month passed, and we still stop at kvm-28?
Thanks,
Jun
-
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
Hi,
I am using gdb to debug Linux guest VM. Steps are like below:
- Start gdbserver in qemu's monitor
- From another console, run gdb and connect it to "localhost:1234"
- Set breakpoints in guest VM
When a breakpoint is hit inside guest, gdb is notified. The problem is
that I cannot send "c" comm
Hi,
Could anybody explain to me why we need cache_regs()? And in which
case we should call this function?
On vmx, cache_regs() saves RSP & RIP, but ignore other registers. Why is that?
Thank you,
Jun
-
This SF.net email is
Hi,
In kvm_vcpu_ioctl_get_regs() function (kvm_main.c), we have a comment
like this: "Dont leak debug flags in case they were set for guest
debugging".
What is the reasons that make us filter out TF and RF bit in EFLAGS like that?
Thanks,
Jun
Hi,
Do you think that it is necessary to have something like id for a
specific VM on KVM? Without it, how can we identify a VM? By qemu's
pid? Is that good, as we then depend on a particular device model?
Thanks,
Jun
-
This
On 7/24/07, Rusty Russell <[EMAIL PROTECTED]> wrote:
> On Mon, 2007-07-23 at 14:32 +0100, Daniel P. Berrange wrote:
> > As Avi
> > says I dont't see how a individual QEMU process could provide any meaningful
> > identifier itself aside from its PID whose uniqueness is guarenteed by the
> > OS on it
On 7/26/07, Jun Koi <[EMAIL PROTECTED]> wrote:
> On 7/26/07, Avi Kivity <[EMAIL PROTECTED]> wrote:
> > Jun Koi wrote:
> > > Hi,
> > >
> > > kvm-33 crashes on my Linux box. It happens after booting for few
> > > seconds, ie not reached
On 7/26/07, Avi Kivity <[EMAIL PROTECTED]> wrote:
> Jun Koi wrote:
> > On 7/26/07, Jun Koi <[EMAIL PROTECTED]> wrote:
> >
> >> On 7/26/07, Avi Kivity <[EMAIL PROTECTED]> wrote:
> >>
> >>> Jun Koi wrote:
> >>>
> >>&
On 7/26/07, Avi Kivity <[EMAIL PROTECTED]> wrote:
> Jun Koi wrote:
> > Hi,
> >
> > kvm-33 crashes on my Linux box. It happens after booting for few
> > seconds, ie not reached the prompt yet. And that never happens before
> > with previous versions on the
Hi,
kvm-33 crashes on my Linux box. It happens after booting for few
seconds, ie not reached the prompt yet. And that never happens before
with previous versions on the same qemu image.
I want to post the boot log here, but dont know how to configure qemu
to do that. Any pointer?
Thanks,
Jun
--
Hi Rusty,
So with this patch, we no longer have limitation on the number of
vcpus running in a VM?
Thanks,
Jun
On 7/27/07, Rusty Russell <[EMAIL PROTECTED]> wrote:
> On Fri, 2007-07-27 at 16:56 +1000, Rusty Russell wrote:
> > This patch converts the vcpus array in "struct kvm" to a linked list
>
Hi,
I have a question concerning how to pause a running VM. As far as I
can see, there are 2 ways:
1) Send STOP signal to the related QEMU process
2) Use monitor interface to stop the QEMU process ("stop" command)
Are these 2 ways equivelant? Any advantage or disadvantage of each
method compare t
On 10/1/07, Anthony Liguori <[EMAIL PROTECTED]> wrote:
> Jun Koi wrote:
> > Hi,
> >
> > I have a question concerning how to pause a running VM. As far as I
> > can see, there are 2 ways:
> > 1) Send STOP signal to the related QEMU process
> >
>
>
On 10/2/07, Cam Macdonell <[EMAIL PROTECTED]> wrote:
> Anthony Liguori wrote:
> > Cam Macdonell wrote:
> >> Anthony Liguori wrote:
> >>> Cameron Macdonell wrote:
> Hi,
>
> I'm trying to understand guest virtualization at the lower levels.
> I have a somewhat basic question: Ho
On 10/1/07, Anthony Liguori <[EMAIL PROTECTED]> wrote:
> Cameron Macdonell wrote:
> > Hi,
> >
> > I'm trying to understand guest virtualization at the lower levels. I
> > have a somewhat basic question: How does KVM virtualize an int80
> > instruction from a guest? A pointer to an answer is just
Hi,
On 10/10/07, Avi Kivity <[EMAIL PROTECTED]> wrote:
> We've now switched to allocating guest memory in userspace rather than
> in the kernel. This is important if you have a mainframe, but also if
> you want to share memory between guests and implement nice features like
> swapping.
This is i
On 10/10/07, Avi Kivity <[EMAIL PROTECTED]> wrote:
> Jun Koi wrote:
> > Hi,
> >
> > On 10/10/07, Avi Kivity <[EMAIL PROTECTED]> wrote:
> >
> >> We've now switched to allocating guest memory in userspace rather than
> >> in the k
On 10/10/07, Avi Kivity <[EMAIL PROTECTED]> wrote:
> Jun Koi wrote:
> > On 10/10/07, Avi Kivity <[EMAIL PROTECTED]> wrote:
> >
> >> Jun Koi wrote:
> >>
> >>> Hi,
> >>>
> >>> On 10/10/07, Avi Kivity <[EMAIL PR
On 1/7/08, Avi Kivity <[EMAIL PROTECTED]> wrote:
> Guido Guenther wrote:
> > (needs either --no-kvm-irqchip or the previous patch)
> > -- Guido
> >
> >
>
> Applied both, thanks.
>
Sorry for my ignorance, but what is the effect of this patch? So
I can shutdown guest VM cleanly, or smt else??
On 3/6/08, Avi Kivity <[EMAIL PROTECTED]> wrote:
> This is the first release of block and network drivers for Linux guests
> running on a kvm host. The drivers are intended for guest kernels
> 2.6.18-2.6.24. Newer kernels include the drivers; older kernels may not
> work. kvm-61 or later is n
Hi,
Could someone please post some concret examples on how to use extboot?
I looked around, but saw nothing.
Thanks,
Jun
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just a
On 4/3/08, Anthony Liguori <[EMAIL PROTECTED]> wrote:
> Jun Koi wrote:
>
> > Hi,
> >
> > Could someone please post some concret examples on how to use extboot?
> > I looked around, but saw nothing.
> >
> >
>
> Just append boot=on to your -d
On 4/4/08, Laurent Vivier <[EMAIL PROTECTED]> wrote:
>
> Le vendredi 04 avril 2008 à 18:29 +0900, Jun Koi a écrit :
>
> > On 4/3/08, Anthony Liguori <[EMAIL PROTECTED]> wrote:
> > > Jun Koi wrote:
> > >
> > > > Hi,
> > > >
&
On 4/4/08, Anthony Liguori <[EMAIL PROTECTED]> wrote:
> Jun Koi wrote:
>
> > On 4/4/08, Laurent Vivier <[EMAIL PROTECTED]> wrote:
> >
> >
> > > Le vendredi 04 avril 2008 à 18:29 +0900, Jun Koi a écrit :
> > >
> > >
>
Hi,
This patch removes dead code in extboot.S
Signed-off-by: Jun Koi <[EMAIL PROTECTED]>
extboot.diff
Description: Binary data
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and sav
On 4/7/08, Anthony Liguori <[EMAIL PROTECTED]> wrote:
> Jun Koi wrote:
>
> > Hi,
> >
> > This patch removes dead code in extboot.S
> >
> >
>
> Please don't remove the callout macro.
I removed it in the patch because even if we keep it, i
Hi,
I am trying virtio: guest is running 2.6.25-rc8 kernel, with virtio
compiled in. In Grub menu, I changed
"root=/dev/sda1"
to:
"root=/dev/vda1".
(That is guided by http://kvm.qumranet.com/kvmwiki/Virtio)
However, I got booting error like "/dev/vda1 doest exist...", so boot
failure. How can
On 4/9/08, Felix Leimbach <[EMAIL PROTECTED]> wrote:
>
> > However, I got booting error like "/dev/vda1 doest exist...", so boot
> > failure. How can I fix this?
>
> make sure that your command line on the host looks like that:
> kvm -drive file=,if=virtio,boot=on stuff here>
>
> And check th
On 4/10/08, Anthony Liguori <[EMAIL PROTECTED]> wrote:
> Jun Koi wrote:
>
> > On 4/9/08, Felix Leimbach <[EMAIL PROTECTED]> wrote:
> >
> >
> > > > However, I got booting error like "/dev/vda1 doest exist...", so boot
> > > >
On 4/10/08, Jorge Lucángeli Obes <[EMAIL PROTECTED]> wrote:
> On Thu, Apr 10, 2008 at 12:59 AM, Jun Koi <[EMAIL PROTECTED]> wrote:
> > Now I succesfully installed 2.6.25-rc8, and virtio block device works
> > well. But from inside my VM, how can I say it is u
On Tue, Apr 15, 2008 at 3:41 PM, Felix Leimbach <[EMAIL PROTECTED]> wrote:
> On 14.04.2008 Alberto Treviño wrote:
> > If anyone can attest to this procedures and report, it would be
> greatly appreciated.
>
> Hello Alberto,
>
> I can confirm that this method works on Windows 2003 Server.
Look
On Tue, Apr 15, 2008 at 12:34 PM, Anthony Liguori <[EMAIL PROTECTED]> wrote:
> Nguyen Anh Quynh wrote:
> > On 4/15/08, Anthony Liguori <[EMAIL PROTECTED]> wrote:
> >
> >> Hi Nguyen,
> >>
> >> Nguyen Anh Quynh wrote:
> >>
> >>
> >>> Hi Anthony,
> >>>
> >>> I spot a bug and few dead code i
On Wed, Apr 16, 2008 at 1:29 AM, Alberto Treviño <[EMAIL PROTECTED]> wrote:
> On Tuesday 15 April 2008 12:57:45 am Jun Koi wrote:
> > Looks like a problem, however. In his instruction, part 3:
> > >3. Shut down the VM. This time, don't include the new temporary
76 matches
Mail list logo