I'm new to KVM and as a learning exercise I'd like to start a VM and run a few instructions by using ioctls on /dev/kvm. This might be a terrible idea, please say so if it is. I haven't been able to find much information on it, but by reading the API document and stracing qemu I've put together a small program which creates a VM, VCPU, and sets up some memory. All of these ioctls return successfully, but trying to run always returns with exit code 17 and suberror 1 which so far as I can tell seems to be a problem with page tables. I'm on an x86_64 host. The question is, how does a new vcpu start up? Will it start in full 64-bit mode or 16-bit real mode? And will I need a full set of translation tables to run a single instruction or can I just point it at some memory and expect it to run? Thanks for any help you can offer. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html