Thanks Dor. More below.

>> How can one share memory (a few variables not necessarily a page)
>> between host/hypervisor and guest VM ?
>> Since the guest is just a process within the host, there should be
>> existing ways to do this.
>>
> It's not that straight forward since the host has its pfn (page frame
> number) while the guest has gfn (guest frame number) and also use virtual
> memory.

So does this mean that there is no way to share a page between host
and guest like
can be done in Xen ? Wouldn't such a feature be useful ?

>
>> What about using something like debugfs or sysfs, is it possible to
>> share variables this way ? Note, I want a system that
>> is fast, i.e. changes to shared variable/memory should be visible
>> instantly.
>
> A paravirtualized driver can take care of that with driver in the guest and
> device side in qemu/host kernel.
> You can use 9p virtio solution in Linux that implements a shared file
> system.

I had a look at the 9p related slides on the KVMForum 2008 page on the
wiki and it may serve my purpose but I need to investigate more.

According to the slides 9p has been in Linux since 2.6.14 . I'm
currently using linux kernel 2.6.22-14 (ubuntu 7.10) with a downloaded
kvm-70 . Is this enough for using 9p with KVM or do i need a newer
linux kernel ?

While on this topic I'd like to point out that its a bit difficult to
understand which version of kvm maps to which linux kernel. The page
on the wiki is dated. Is it ok to use a kvm-70 module with a slightly
older linux kernel ?

thanks for you help
arn
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to