summary refs log tree commit diff
path: root/hypervisor/tests/types.rs
blob: d9272afbd5bfd9319f32a675239296ce42b6de4a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2020 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

use hypervisor::*;

pub struct HyperVm<HyperT, VmT, VcpuT>
where
    HyperT: Hypervisor,
    VmT: Vm,
    VcpuT: Vcpu,
{
    pub hypervisor: HyperT,
    pub vm: VmT,
    pub vcpus: Vec<VcpuT>,
}

pub struct RunnableLinuxVm {}