lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 21 Apr 2009 13:14:08 +0300
From:	Avi Kivity <avi@...hat.com>
To:	Gerd Hoffmann <kraxel@...hat.com>
CC:	Anthony Liguori <anthony@...emonkey.ws>,
	Huang Ying <ying.huang@...el.com>,
	"kvm@...r.kernel.org" <kvm@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Andi Kleen <andi@...stfloor.org>
Subject: Re: Xenner design and kvm msr handling

Gerd Hoffmann wrote:
> On 04/20/09 15:45, Avi Kivity wrote:
>
>> Please elaborate. What hypercalls are so simple that an exit into the
>> hypervisor is not necessary?
>
> Ok, that becomes a longer story.  I try to keep it short though ...
>

Thanks, this is very helpful.

>
> xenner & pv-on-hvm
> ==================
>
> Once we have all this in qemu it is just a small step to also support 
> xenish pv-on-hvm drivers in qemu using the xenner emulation bits. 
> Hypercalls are handled by a small pic binary loaded into the hypercall 
> pages.  Loading of the binary is triggered by the msr writes 
> discussed. Size of the binary is only two pages: one hypercall entry 
> points, one code.  Communication path is the very same ioport 
> interface also used by emu, i.e. it does *not* use vmcall and thus no 
> opcode changes are needed on migration.
>
This gives a good case for exporting MSRs to userspace.

Can you explain the protocol used by this MSR?  How does the guest know 
how many pages to load?  How does the kernel know which type of page to 
put where?

Note that it would still be interesting to have the guest call the 
kernel, so it can kick the host kernel Xen netback driver directly 
instead of going through qemu (and the userspace netback + tap).

-- 
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ