History log of /cloud-hypervisor/hypervisor/src/ (Results 501 – 516 of 516)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
49b4fba229-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 ...

e2b5c78d24-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 ...

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

vmm: hypervisor: drop duplicate comment

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

2518b9e328-Jun-2020 Wei Liu <liuwe@microsoft.com>

vmm: hypervisor: fix white space issues

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

72ae157726-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 ...

1741af7424-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 ...

b27439b624-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>

309924ec23-Jun-2020 Sebastien Boeuf <sebastien.boeuf@intel.com>

hypervisor: Add guest pause notification

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

68ec0eb723-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>

cca59bc522-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 ...

c48d0c1a02-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 ...

72e39a3403-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 ...

683210d603-Jun-2020 Muminul Islam <muislam@microsoft.com>

hypervisor: Add Hypervisor trait

As the only hypervisor that Cloud-Hypervisor supports is KVM, the
Hypervisor trait accomodates for the upcoming KVM implementation.

This trait will be instanciated

hypervisor: Add Hypervisor trait

As the only hypervisor that Cloud-Hypervisor supports is KVM, the
Hypervisor trait accomodates for the upcoming KVM implementation.

This trait will be instanciated at build time through hypervisor
specific features, i.e. it's not aiming at run-time selection of
hypervisors for Cloud-Hypervisor.

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

show more ...

f5afc28803-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 ...

f9b51a4103-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 ...

56a1638508-Jun-2020 Muminul Islam <muislam@microsoft.com>

hypervisor: Introduce hypervisor crate

The purpose of this trait is to add support for other hypervisors than
KVM, like e.g. Microsoft Hyper-V.

Further commits will define additional hypervisor rel

hypervisor: Introduce hypervisor crate

The purpose of this trait is to add support for other hypervisors than
KVM, like e.g. Microsoft Hyper-V.

Further commits will define additional hypervisor related traits like
Vcpu and Vm. Each of the supported hypervisor will need to implement all
traits defined from the hypervisor crate.

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

show more ...


/cloud-hypervisor/.github/workflows/build.yaml
/cloud-hypervisor/.github/workflows/cross-build.yaml
/cloud-hypervisor/.github/workflows/release.yaml
/cloud-hypervisor/.gitignore
/cloud-hypervisor/.rustfmt.toml
/cloud-hypervisor/CODE_OF_CONDUCT.md
/cloud-hypervisor/CONTRIBUTING.md
/cloud-hypervisor/CREDITS.md
/cloud-hypervisor/Cargo.lock
/cloud-hypervisor/Cargo.toml
/cloud-hypervisor/Jenkinsfile
/cloud-hypervisor/LICENSE-APACHE
/cloud-hypervisor/LICENSE-BSD-3-Clause
/cloud-hypervisor/MAINTAINERS.md
/cloud-hypervisor/README.md
/cloud-hypervisor/acpi_tables/Cargo.toml
/cloud-hypervisor/acpi_tables/src/aml.rs
/cloud-hypervisor/acpi_tables/src/lib.rs
/cloud-hypervisor/acpi_tables/src/rsdp.rs
/cloud-hypervisor/acpi_tables/src/sdt.rs
/cloud-hypervisor/arch/Cargo.toml
/cloud-hypervisor/arch/src/aarch64/fdt.rs
/cloud-hypervisor/arch/src/aarch64/gic.rs
/cloud-hypervisor/arch/src/aarch64/gicv2.rs
/cloud-hypervisor/arch/src/aarch64/gicv3.rs
/cloud-hypervisor/arch/src/aarch64/layout.rs
/cloud-hypervisor/arch/src/aarch64/mod.rs
/cloud-hypervisor/arch/src/aarch64/regs.rs
/cloud-hypervisor/arch/src/lib.rs
/cloud-hypervisor/arch/src/x86_64/gdt.rs
/cloud-hypervisor/arch/src/x86_64/interrupts.rs
/cloud-hypervisor/arch/src/x86_64/layout.rs
/cloud-hypervisor/arch/src/x86_64/mod.rs
/cloud-hypervisor/arch/src/x86_64/mptable.rs
/cloud-hypervisor/arch/src/x86_64/regs.rs
/cloud-hypervisor/arch_gen/Cargo.lock
/cloud-hypervisor/arch_gen/Cargo.toml
/cloud-hypervisor/arch_gen/src/lib.rs
/cloud-hypervisor/arch_gen/src/x86/mod.rs
/cloud-hypervisor/arch_gen/src/x86/mpspec.rs
/cloud-hypervisor/arch_gen/src/x86/msr_index.rs
/cloud-hypervisor/build.rs
/cloud-hypervisor/devices/Cargo.toml
/cloud-hypervisor/devices/src/acpi.rs
/cloud-hypervisor/devices/src/bus.rs
/cloud-hypervisor/devices/src/gic.rs
/cloud-hypervisor/devices/src/interrupt_controller.rs
/cloud-hypervisor/devices/src/ioapic.rs
/cloud-hypervisor/devices/src/legacy/cmos.rs
/cloud-hypervisor/devices/src/legacy/fwdebug.rs
/cloud-hypervisor/devices/src/legacy/i8042.rs
/cloud-hypervisor/devices/src/legacy/mod.rs
/cloud-hypervisor/devices/src/legacy/rtc_pl031.rs
/cloud-hypervisor/devices/src/legacy/serial.rs
/cloud-hypervisor/devices/src/lib.rs
/cloud-hypervisor/docs/api.md
/cloud-hypervisor/docs/arm64.md
/cloud-hypervisor/docs/custom-image.md
/cloud-hypervisor/docs/debug-port.md
/cloud-hypervisor/docs/device_model.md
/cloud-hypervisor/docs/fs.md
/cloud-hypervisor/docs/hotplug.md
/cloud-hypervisor/docs/iommu.md
/cloud-hypervisor/docs/networking.md
/cloud-hypervisor/docs/vfio.md
/cloud-hypervisor/docs/vhost-user-blk-testing.md
/cloud-hypervisor/docs/vhost-user-net-testing.md
/cloud-hypervisor/hypervisor/Cargo.toml
lib.rs
/cloud-hypervisor/net_gen/Cargo.toml
/cloud-hypervisor/net_gen/src/if_tun.rs
/cloud-hypervisor/net_gen/src/iff.rs
/cloud-hypervisor/net_gen/src/inn.rs
/cloud-hypervisor/net_gen/src/lib.rs
/cloud-hypervisor/net_gen/src/sockios.rs
/cloud-hypervisor/net_util/Cargo.toml
/cloud-hypervisor/net_util/src/lib.rs
/cloud-hypervisor/net_util/src/mac.rs
/cloud-hypervisor/net_util/src/tap.rs
/cloud-hypervisor/pci/Cargo.toml
/cloud-hypervisor/pci/src/bus.rs
/cloud-hypervisor/pci/src/configuration.rs
/cloud-hypervisor/pci/src/device.rs
/cloud-hypervisor/pci/src/lib.rs
/cloud-hypervisor/pci/src/msi.rs
/cloud-hypervisor/pci/src/msix.rs
/cloud-hypervisor/pci/src/vfio.rs
/cloud-hypervisor/qcow/Cargo.toml
/cloud-hypervisor/qcow/src/qcow.rs
/cloud-hypervisor/qcow/src/qcow_raw_file.rs
/cloud-hypervisor/qcow/src/refcount.rs
/cloud-hypervisor/qcow/src/vec_cache.rs
/cloud-hypervisor/release-notes.md
/cloud-hypervisor/resources/Dockerfile
/cloud-hypervisor/resources/linux-config
/cloud-hypervisor/scripts/create-cloud-init.sh
/cloud-hypervisor/scripts/dev_cli.sh
/cloud-hypervisor/scripts/run_cargo_tests.sh
/cloud-hypervisor/scripts/run_integration_tests.sh
/cloud-hypervisor/scripts/run_openapi_tests.sh
/cloud-hypervisor/scripts/run_unit_tests.sh
/cloud-hypervisor/scripts/sha1sums
/cloud-hypervisor/src/bin/ch-remote.rs
/cloud-hypervisor/src/bin/vhost_user_blk.rs
/cloud-hypervisor/src/bin/vhost_user_fs.rs
/cloud-hypervisor/src/bin/vhost_user_net.rs
/cloud-hypervisor/src/main.rs
/cloud-hypervisor/test_data/cloud-init/clear/openstack/latest/meta_data.json
/cloud-hypervisor/test_data/cloud-init/clear/openstack/latest/user_data
/cloud-hypervisor/test_data/cloud-init/ubuntu/meta-data
/cloud-hypervisor/test_data/cloud-init/ubuntu/network-config
/cloud-hypervisor/test_data/cloud-init/ubuntu/user-data
/cloud-hypervisor/tests/integration.rs
/cloud-hypervisor/vhost_user_backend/Cargo.toml
/cloud-hypervisor/vhost_user_backend/src/lib.rs
/cloud-hypervisor/vhost_user_block/Cargo.toml
/cloud-hypervisor/vhost_user_block/src/lib.rs
/cloud-hypervisor/vhost_user_fs/Cargo.toml
/cloud-hypervisor/vhost_user_fs/src/descriptor_utils.rs
/cloud-hypervisor/vhost_user_fs/src/file_traits.rs
/cloud-hypervisor/vhost_user_fs/src/filesystem.rs
/cloud-hypervisor/vhost_user_fs/src/fs_cache_req_handler.rs
/cloud-hypervisor/vhost_user_fs/src/fuse.rs
/cloud-hypervisor/vhost_user_fs/src/lib.rs
/cloud-hypervisor/vhost_user_fs/src/multikey.rs
/cloud-hypervisor/vhost_user_fs/src/passthrough.rs
/cloud-hypervisor/vhost_user_fs/src/sandbox.rs
/cloud-hypervisor/vhost_user_fs/src/seccomp.rs
/cloud-hypervisor/vhost_user_fs/src/server.rs
/cloud-hypervisor/vhost_user_net/Cargo.toml
/cloud-hypervisor/vhost_user_net/src/lib.rs
/cloud-hypervisor/vm-allocator/Cargo.toml
/cloud-hypervisor/vm-allocator/src/address.rs
/cloud-hypervisor/vm-allocator/src/gsi.rs
/cloud-hypervisor/vm-allocator/src/lib.rs
/cloud-hypervisor/vm-allocator/src/system.rs
/cloud-hypervisor/vm-device/Cargo.toml
/cloud-hypervisor/vm-device/src/interrupt/mod.rs
/cloud-hypervisor/vm-device/src/lib.rs
/cloud-hypervisor/vm-migration/Cargo.toml
/cloud-hypervisor/vm-migration/src/lib.rs
/cloud-hypervisor/vm-virtio/Cargo.toml
/cloud-hypervisor/vm-virtio/src/block.rs
/cloud-hypervisor/vm-virtio/src/console.rs
/cloud-hypervisor/vm-virtio/src/device.rs
/cloud-hypervisor/vm-virtio/src/iommu.rs
/cloud-hypervisor/vm-virtio/src/lib.rs
/cloud-hypervisor/vm-virtio/src/mem.rs
/cloud-hypervisor/vm-virtio/src/net.rs
/cloud-hypervisor/vm-virtio/src/net_util.rs
/cloud-hypervisor/vm-virtio/src/pmem.rs
/cloud-hypervisor/vm-virtio/src/queue.rs
/cloud-hypervisor/vm-virtio/src/rng.rs
/cloud-hypervisor/vm-virtio/src/transport/mmio.rs
/cloud-hypervisor/vm-virtio/src/transport/mod.rs
/cloud-hypervisor/vm-virtio/src/transport/pci_common_config.rs
/cloud-hypervisor/vm-virtio/src/transport/pci_device.rs
/cloud-hypervisor/vm-virtio/src/vhost_user/blk.rs
/cloud-hypervisor/vm-virtio/src/vhost_user/fs.rs
/cloud-hypervisor/vm-virtio/src/vhost_user/handler.rs
/cloud-hypervisor/vm-virtio/src/vhost_user/mod.rs
/cloud-hypervisor/vm-virtio/src/vhost_user/net.rs
/cloud-hypervisor/vm-virtio/src/vhost_user/vu_common_ctrl.rs
/cloud-hypervisor/vm-virtio/src/vsock/csm/connection.rs
/cloud-hypervisor/vm-virtio/src/vsock/csm/mod.rs
/cloud-hypervisor/vm-virtio/src/vsock/csm/txbuf.rs
/cloud-hypervisor/vm-virtio/src/vsock/device.rs
/cloud-hypervisor/vm-virtio/src/vsock/mod.rs
/cloud-hypervisor/vm-virtio/src/vsock/packet.rs
/cloud-hypervisor/vm-virtio/src/vsock/unix/mod.rs
/cloud-hypervisor/vm-virtio/src/vsock/unix/muxer.rs
/cloud-hypervisor/vm-virtio/src/vsock/unix/muxer_killq.rs
/cloud-hypervisor/vm-virtio/src/vsock/unix/muxer_rxq.rs
/cloud-hypervisor/vmm/Cargo.toml
/cloud-hypervisor/vmm/src/acpi.rs
/cloud-hypervisor/vmm/src/api/http.rs
/cloud-hypervisor/vmm/src/api/http_endpoint.rs
/cloud-hypervisor/vmm/src/api/mod.rs
/cloud-hypervisor/vmm/src/api/openapi/cloud-hypervisor.yaml
/cloud-hypervisor/vmm/src/config.rs
/cloud-hypervisor/vmm/src/cpu.rs
/cloud-hypervisor/vmm/src/device_manager.rs
/cloud-hypervisor/vmm/src/device_tree.rs
/cloud-hypervisor/vmm/src/interrupt.rs
/cloud-hypervisor/vmm/src/lib.rs
/cloud-hypervisor/vmm/src/memory_manager.rs
/cloud-hypervisor/vmm/src/migration.rs
/cloud-hypervisor/vmm/src/seccomp_filters.rs
/cloud-hypervisor/vmm/src/vm.rs

1...<<21