Re: [RFC 2/2] kvm: guest-side changes for tmem on KVM

2012-03-08 Thread Bobby Powers
On Thu, Mar 8, 2012 at 12:02 PM, Akshay Karle wrote: > From: Akshay Karle > Subject: [RFC 2/2] kvm: guest-side changes for tmem on KVM > > Working in the guest: > At the kvm guest, we add the appropriate tmem shims to intercept the > tmem operations and then invoke the kvm hypercalls to exit to t

Re: [RFC 1/2] kvm: host-side changes for tmem on KVM

2012-03-08 Thread Bobby Powers
On Thu, Mar 8, 2012 at 11:54 AM, Akshay Karle wrote: > From: Akshay Karle > Subject: [RFC 1/2] kvm: host-side changes for tmem on KVM > > Working at host: > Once the guest exits to the kvm host, the host determines that the guest > exited > to perform some tmem operation(done at kvm_emulate_hype

Re: [Qemu-devel] [PULL] Urgent memory fix for kvm with unaligned memory slots

2012-03-01 Thread Bobby Powers
On Thu, Mar 1, 2012 at 12:08 PM, Eric Blake wrote: > On 03/01/2012 10:03 AM, Avi Kivity wrote: -    ram = memory_region_get_ram_ptr(mr) + section->offset_within_region; +    ram = memory_region_get_ram_ptr(mr) + section->offset_within_region + delta; >>> >>> Am I crazy, or does

Re: [PULL] Urgent memory fix for kvm with unaligned memory slots

2012-03-01 Thread Bobby Powers
On Thu, Mar 1, 2012 at 8:40 AM, Avi Kivity wrote: > The memory core may generate RAM memory regions that are not page > aligned, but the kvm code is not prepared to handle them well and will > abort under certain conditions.  This patch fixes the problem. > > Please pull from: > >  git://git.kerne