Hello all,
I'm writing an executable that runs inside of a guest, and I planned
to use vmcall to talk to a tool running in Dom0, using the vm_event
API. It didn't work, and looking through the code, the first thing
hvm_do_hypercall() does is check if the guest is in ring0. If not, it
returns EPERM
My workaround for now is just something like
int mode = hvm_guest_x86_mode(curr);
uint32_t eax = regs->eax;
+if(eax == 0xFACE) {
+hvm_event_guest_request();
+return 1;
+}
+
switch ( mode )
{
case 8:
This way I don't have to worry about if it's
Hello all,
I'm mapping in some memory from Dom0 to use globally, based on a
domctl that sends up a virtual address. It seems to be working for me
so far.
Here's my current code
{
struct page_info* page_info = NULL;
l1_pgentry_t pte;
/* Attempt to read the PTE that ma
Hi all,
I'm trying to map a page provided by Dom0 into Xen's address space,
but I keep freezing the physical computer when I try. Maybe I'm
hitting a spinlock or something, but clearly I'm doing something
incorrectly. I'll probably be able to get farther once I have another
computer with a serial
break;
}
d->arch.hvm_domain.dom0_mapping.page_info = page_info;
d->arch.hvm_domain.dom0_mapping.buffer = (uint8_t*)__map_domain_page(page_info);
Thanks!
On Mon, Jul 6, 2015 at 5:47 AM, Tim Deegan wrote:
> Hi,
>
> At 08:14 -0400 on 02 Jul (1435824854), Bread Cutter wrote:
>> /* Translate