Address of the first guest instruction

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am writing a userland program using KVM/ARM APIs. I want to load a image into the memory mapped to guest physical and then run the guest.

I follow the steps below:
1. open /dev/kvm
2. KVM_CREATE_VM
3. KVM_SET_USER_MEMORY_REGION
4. KVM_CREATE_VCPU
5. mmap vcpu_fd
6. KVM_ARM_INIT_VCPU
7. KVM_RUN

I am just wondering how to make the guest know where to start from or where is the first instruction? Or am I having a complete misunderstanding how kvm works. Can you help explain that or offer me some pointers? 

Thanks very much and i am happy to elaborate any part if it's not clear enough.

Tom.





_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm

[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux