History log of /cloud-hypervisor/hypervisor/src/kvm/mod.rs (Results 51 – 75 of 191)
Revision Date Author Comments
# 784a3aaf 30-Aug-2022 Nuno Das Neves <nudasnev@microsoft.com>

devices: gic: use VgicConfig everywhere

Use VgicConfig to initialize Vgic.
Use Gic::create_default_config everywhere so we don't always recompute
redist/msi registers.
Add a helper create_test_vgic_

devices: gic: use VgicConfig everywhere

Use VgicConfig to initialize Vgic.
Use Gic::create_default_config everywhere so we don't always recompute
redist/msi registers.
Add a helper create_test_vgic_config for tests in hypervisor crate.

Signed-off-by: Nuno Das Neves <nudasnev@microsoft.com>

show more ...


# d66d64c3 23-Aug-2022 Michael Zhao <michael.zhao@arm.com>

vmm: Restrict the maximum number of HW breakpoints

Set the maximum number of HW breakpoints according to the value returned
from `Hypervisor::get_guest_debug_hw_bps()`.

Signed-off-by: Michael Zhao

vmm: Restrict the maximum number of HW breakpoints

Set the maximum number of HW breakpoints according to the value returned
from `Hypervisor::get_guest_debug_hw_bps()`.

Signed-off-by: Michael Zhao <michael.zhao@arm.com>

show more ...


# 223b1f6c 23-Aug-2022 Michael Zhao <michael.zhao@arm.com>

hypervisor: Introduce `get_guest_debug_hw_bps()`

Added `Hypervisor::get_guest_debug_hw_bps()` for fetching the number of
supported hardware breakpoints.

Signed-off-by: Michael Zhao <michael.zhao@ar

hypervisor: Introduce `get_guest_debug_hw_bps()`

Added `Hypervisor::get_guest_debug_hw_bps()` for fetching the number of
supported hardware breakpoints.

Signed-off-by: Michael Zhao <michael.zhao@arm.com>

show more ...


# 575458de 19-Jul-2022 Michael Zhao <michael.zhao@arm.com>

hypervisor: Enable gdb HW breakpoint on AArch64

Signed-off-by: Michael Zhao <michael.zhao@arm.com>


# 7199119b 28-Jul-2022 Michael Zhao <michael.zhao@arm.com>

hypervisor: Remove `Vcpu::read_mpidr()` on AArch64

Replaced `read_mpidr()` with `get_sys_reg()`.

Signed-off-by: Michael Zhao <michael.zhao@arm.com>


# 5b54dc60 28-Jul-2022 Michael Zhao <michael.zhao@arm.com>

hypervisor: Add `Vcpu::get_sys_reg()` on AArch64

Added function `Vcpu::get_sys_reg()` to get single system register.

Signed-off-by: Michael Zhao <michael.zhao@arm.com>


# cd7f36a7 28-Jul-2022 Michael Zhao <michael.zhao@arm.com>

hypervisor: Remove `get/set_reg()` on AArch64

`Vcpu::get/set_reg()` were only invoked in Vcpu itself.

Signed-off-by: Michael Zhao <michael.zhao@arm.com>


# f7b6d99c 28-Jul-2022 Michael Zhao <michael.zhao@arm.com>

hypervisor: Remove `get/set_sys_regs()` on AArch64

`hypervisor::Vcpu::get/set_sys_regs()` are only used in Vcpu internally.

Signed-off-by: Michael Zhao <michael.zhao@arm.com>


# aa66526e 09-May-2022 Wei Liu <liuwe@microsoft.com>

hypervisor: add a function to check availability

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


# c3ce5aa5 09-May-2022 Wei Liu <liuwe@microsoft.com>

hypervisor: adjust new function return type

Make them return wrapped trait object directly.

No functional change.

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


# 9fc3379e 20-Jul-2022 Wei Liu <liuwe@microsoft.com>

hypervisor: add a function to return hypervisor type

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


# cb6a14de 20-Jul-2022 Wei Liu <liuwe@microsoft.com>

hypervisor: drop check_extension from Vm trait

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


# a96a5d78 21-Jul-2022 Wei Liu <liuwe@microsoft.com>

hypervisor, vmm: use new vfio-ioctls

Use the new vfio-ioctls APIs. Drop Cloud Hypervisor's Device trait
since it is no longer needed.

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


# 5e2c70b8 20-Jul-2022 Wei Liu <liuwe@microsoft.com>

hypervisor: aarch64: drop set/has_vcpu_attr

This avoids the need for exposing DeviceAttr.

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


# c5e966c9 20-Jul-2022 Wei Liu <liuwe@microsoft.com>

hypervisor: aarch64: use KVM DeviceFd in GIC code

The code is obviously KVM only. We don't need to use dyn Device there.

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


# 422bf89d 20-Jul-2022 Wei Liu <liuwe@microsoft.com>

hypervisor: drop create_device from Vm trait

This then avoids the need for creating a generic DeviceFd type in the
hypervisor crate.

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


# b5270e0b 20-Jul-2022 Wei Liu <liuwe@microsoft.com>

hypervisor: allow downcasting to hypervisor VM types

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


# f84ddedb 20-Jul-2022 Wei Liu <liuwe@microsoft.com>

hypervisor, vmm: introduce trait functions for aarch64 PMU

The original code uses kvm_device_attr directly outside of the
hyeprvisor crate. That leaks hypervisor details.

No functional change inten

hypervisor, vmm: introduce trait functions for aarch64 PMU

The original code uses kvm_device_attr directly outside of the
hyeprvisor crate. That leaks hypervisor details.

No functional change intended.

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

show more ...


# b440cb7d 15-Jul-2022 dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

build: bump vmm-sys-util from 0.9.0 to 0.10.0

This patch requires the vhost-user-backend crate to be bumped from 0.5.0
to 0.5.1.

Bumps [vmm-sys-util](https://github.com/rust-vmm/vmm-sys-util) from

build: bump vmm-sys-util from 0.9.0 to 0.10.0

This patch requires the vhost-user-backend crate to be bumped from 0.5.0
to 0.5.1.

Bumps [vmm-sys-util](https://github.com/rust-vmm/vmm-sys-util) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/rust-vmm/vmm-sys-util/releases)
- [Changelog](https://github.com/rust-vmm/vmm-sys-util/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-vmm/vmm-sys-util/compare/v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: vmm-sys-util
dependency-type: direct:production
update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>

show more ...


# f21fc1dc 19-Jul-2022 Wei Liu <liuwe@microsoft.com>

hypervisor: x86: provide a generic MsrEntry structure

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


# 4d2cc377 19-Jul-2022 Wei Liu <liuwe@microsoft.com>

hypervisor: move away from MsrEntries type

It is a flexible array. Switch to vector and slice instead.

No functional change intended.

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


# 563919fc 18-Jul-2022 Wei Liu <liuwe@microsoft.com>

hypervisor: x86: drop get_msr_list from hypervisor trait

It is not needed by code outside of the hypervisor crate.

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


# 05e5106b 18-Jul-2022 Wei Liu <liuwe@microsoft.com>

hypervisor x86: provide a generic LapicState structure

This requires making get/set_lapic_reg part of the type.

For the moment we cannot provide a default variant for the new type,
because picking

hypervisor x86: provide a generic LapicState structure

This requires making get/set_lapic_reg part of the type.

For the moment we cannot provide a default variant for the new type,
because picking one will be wrong for the other hypervisor, so I just
drop the test cases that requires LapicState::default().

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

show more ...


# d461daa7 17-Jul-2022 Wei Liu <liuwe@microsoft.com>

hypervisor: x86: drop get/set VcpuEvents from vcpu trait

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


# 58dbf074 15-Jul-2022 Wei Liu <liuwe@microsoft.com>

hypervisor: x86: drop get/set Xcrs from Vcpu trait

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


12345678