diff options
Diffstat (limited to 'hypervisor/tests/types.rs')
-rw-r--r-- | hypervisor/tests/types.rs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/hypervisor/tests/types.rs b/hypervisor/tests/types.rs new file mode 100644 index 0000000..d9272af --- /dev/null +++ b/hypervisor/tests/types.rs @@ -0,0 +1,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 {} |