Trees | Indices | Help |
|
---|
|
Represents a virtual machine.
A virtual machine is made of VMCS. In Intel processors, each CPU that runs a VM will have its own VMCS.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Class Methods | |||
|
|||
|
|||
|
|||
|
|||
|
Properties | |
is_valid A VM is valid if at least one of its VMCS is valid. |
|
is_nested A VM is nested if it has a parent or all its VMCS are nested. |
|
hostname | |
num_cores The number of virtual cores of this VM. |
|
host_arch The architecture of the host that started this VM. |
|
guest_arch The architecture of the guest OS of the VM. |
|
ept_list The list of EPT values needed to instantiate VM guest physical AS. |
|
physical_address_space The physical address space of this VM's guest. |
|
Inherited from |
Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
Returns the address space type of the guest of a VMCS. One of I386, I386+PAE, AMD64 or None. |
Returns the address space type of the host of a VMCS. One of I386, I386+PAE, AMD64 or None. |
Add a VMCS to this virtual machine. Raises: UnrelatedVmcsError if the VMCS doesn't match the VM's HOST_RIP or EPT. |
Validates a VMCS and returns if it's valid in this VM's context. A VMCS is valid if the page where it's mapped is found in the HOST_CR3 that it points to. The result of this validation is cached. Use the _reset_validation_state method if you need to invalidate cache entries. A VMCS object will only validate properly if its defined in the context of the address space of the physical AS of the parent of the VM. |
Returns whether the vmcs is valid or None if it wasn't validated. Doesn't force validation. |
Tries to add the list of VMs as nested VMs of this one. To validate nested VMs, we need to see if its identifying VMCS are mapped in our physical AS and then try to validate them via HOST_CR3 in our context. |
str(x)
|
Property Details |
is_validA VM is valid if at least one of its VMCS is valid.
|
is_nestedA VM is nested if it has a parent or all its VMCS are nested.
|
hostname
|
num_coresThe number of virtual cores of this VM.
|
host_archThe architecture of the host that started this VM.
|
guest_archThe architecture of the guest OS of the VM.
|
ept_listThe list of EPT values needed to instantiate VM guest physical AS. This is used in conjunction with the VTxPagedMemory AS.
|
physical_address_spaceThe physical address space of this VM's guest.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Oct 9 03:28:17 2017 | http://epydoc.sourceforge.net |