History log of /cloud-hypervisor/hypervisor/src/kvm/mod.rs (Results 176 – 191 of 191)
Revision Date Author Comments
# 618722cd 03-Jul-2020 Samuel Ortiz <sameo@linux.intel.com>

hypervisor: cpu: Rename state getter and setter

vcpu.{set_}cpu_state() is a stutter.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>


# 8e43f886 01-Jul-2020 Rob Bradford <robert.bradford@intel.com>

build: Bump kvm-ioctls dependency after rebase

ch branch is now rebased on latest upstream master

Signed-off-by: Rob Bradford <robert.bradford@intel.com>


# e35d4c5b 30-Jun-2020 Sebastien Boeuf <sebastien.boeuf@intel.com>

hypervisor: Store all supported MSRs

On x86 architecture, we need to save a list of MSRs as part of the vCPU
state. By providing the full list of MSRs supported by KVM, this patch
fixes the remainin

hypervisor: Store all supported MSRs

On x86 architecture, we need to save a list of MSRs as part of the vCPU
state. By providing the full list of MSRs supported by KVM, this patch
fixes the remaining snapshot/restore issues, as the vCPU is restored
with all its previous states.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>

show more ...


# 49b4fba2 29-Jun-2020 Sebastien Boeuf <sebastien.boeuf@intel.com>

hypervisor: Retrieve list of supported MSRs

Add a new function to the hypervisor trait so that the caller can
retrieve the list of MSRs supported by this hypervisor.

Signed-off-by: Sebastien Boeuf

hypervisor: Retrieve list of supported MSRs

Add a new function to the hypervisor trait so that the caller can
retrieve the list of MSRs supported by this hypervisor.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>

show more ...


# e2b5c78d 24-Jun-2020 Sebastien Boeuf <sebastien.boeuf@intel.com>

hypervisor: Re-order vCPU state for storing and restoring

Some vCPU states such as MP_STATE can be modified while retrieving
other states. For this reason, it's important to follow a specific
order

hypervisor: Re-order vCPU state for storing and restoring

Some vCPU states such as MP_STATE can be modified while retrieving
other states. For this reason, it's important to follow a specific
order that will ensure a state won't be modified after it has been
saved. Comments about ordering requirements have been copied over
from Firecracker commit 57f4c7ca14a31c5536f188cacb669d2cad32b9ca.

This patch also set the previously saved VCPU_EVENTS, as this was
missing from the restore codepath.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>

show more ...


# 2518b9e3 28-Jun-2020 Wei Liu <liuwe@microsoft.com>

vmm: hypervisor: fix white space issues

Signed-off-by: Wei Liu <liuwe@microsoft.com>


# 72ae1577 26-Jun-2020 Muminul Islam <muislam@microsoft.com>

hypervisor: Update license to Apache-2.0 OR BSD-3-Clause

Initially the licensing was just Apache-2.0. This patch changes
the licensing to dual license Apache-2.0 OR BSD-3-Clause

Signed-off-by: Mumi

hypervisor: Update license to Apache-2.0 OR BSD-3-Clause

Initially the licensing was just Apache-2.0. This patch changes
the licensing to dual license Apache-2.0 OR BSD-3-Clause

Signed-off-by: Muminul Islam <muislam@microsoft.com>

show more ...


# 1741af74 24-Jun-2020 Wei Liu <liuwe@microsoft.com>

hypervisor: add safety statement in set_user_memory_region

When set_user_memory_region was moved to hypervisor crate, it was turned
into a safe function that wrapped around an unsafe call. All but o

hypervisor: add safety statement in set_user_memory_region

When set_user_memory_region was moved to hypervisor crate, it was turned
into a safe function that wrapped around an unsafe call. All but one
call site had the safety statements removed. But safety statement was
not moved inside the wrapper function.

Add the safety statement back to help reasoning in the future. Also
remove that one last instance where the safety statement is not needed .

No functional change.

Signed-off-by: Wei Liu <liuwe@microsoft.com>

show more ...


# b27439b6 24-Jun-2020 Wei Liu <liuwe@microsoft.com>

arch, hypervisor, vmm: KvmHyperVisor -> KvmHypervisor

"Hypervisor" is one word. The "v" shouldn't be capitalised.

No functional change.

Signed-off-by: Wei Liu <liuwe@microsoft.com>


# 309924ec 23-Jun-2020 Sebastien Boeuf <sebastien.boeuf@intel.com>

hypervisor: Add guest pause notification

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>


# 68ec0eb7 23-Jun-2020 Sebastien Boeuf <sebastien.boeuf@intel.com>

hypervisor: Add get/set clock API

Add the hypervisor wrappers to expose KVM_GET_CLOCK and KVM_SET_CLOCK
from the KVM API.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>


# cca59bc5 22-Jun-2020 Muminul Islam <muislam@microsoft.com>

hypervisor, arch: Fix warnings introduced in hypervisor crate

This commit fixes some warnings introduced in the previous
hyperviosr crate PR.Removed some unused variables from arch/aarch64
module.

hypervisor, arch: Fix warnings introduced in hypervisor crate

This commit fixes some warnings introduced in the previous
hyperviosr crate PR.Removed some unused variables from arch/aarch64
module.

Signed-off-by: Muminul Islam <muislam@microsoft.com>

show more ...


# c48d0c1a 02-Jun-2020 Muminul Islam <muislam@microsoft.com>

hypervisor: kvm: Implement vCPU state method

Implement the vCPU state getter and setter separately from the initial
KVM Hypervisor trait implementation, mostly for readability purposes.

Signed-off-

hypervisor: kvm: Implement vCPU state method

Implement the vCPU state getter and setter separately from the initial
KVM Hypervisor trait implementation, mostly for readability purposes.

Signed-off-by: Muminul Islam <muislam@microsoft.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

show more ...


# 72e39a34 03-Jun-2020 Muminul Islam <muislam@microsoft.com>

hypervisor: Add KVM implementation

For each of the traits we are defining kvm related structures
and add the trait implementation to the structs. For more information
please see the kvm-ioctls and k

hypervisor: Add KVM implementation

For each of the traits we are defining kvm related structures
and add the trait implementation to the structs. For more information
please see the kvm-ioctls and kvm-bindings crate.

This is a standalone implementation that does not include the switch of
the Cloud-Hypervisor vmm and arch crates to it.

Signed-off-by: Muminul Islam <muislam@microsoft.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

show more ...


# f5afc288 03-Jun-2020 Muminul Islam <muislam@microsoft.com>

hypervisor: Add Vm trait

This VM trait should be implemented by each underlying hypervisor.

Previously created hypervisor object should create the VM based on
already selected hypervisor. This is j

hypervisor: Add Vm trait

This VM trait should be implemented by each underlying hypervisor.

Previously created hypervisor object should create the VM based on
already selected hypervisor. This is just the trait definition. For each
of supported hypervisor we need to implement the trait. Later we will
implement this trait for KVM and then Microsoft Hyper-V.

Signed-off-by: Muminul Islam <muislam@microsoft.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

show more ...


# f9b51a41 03-Jun-2020 Muminul Islam <muislam@microsoft.com>

hypervisor: Add Vcpu trait

This Vcpu trait should be implemented by each underlying hypervisor.

Previously created hypervisor object should create the VM based on
already selected hypervisor and Vm

hypervisor: Add Vcpu trait

This Vcpu trait should be implemented by each underlying hypervisor.

Previously created hypervisor object should create the VM based on
already selected hypervisor and Vm object should create this vcpu
object based on same hyperviosr. Each of this object should be
referenced by trait object i.e <dyn Vcpu>.

Signed-off-by: Muminul Islam <muislam@microsoft.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

show more ...


12345678