Move schemas between compute and controller subpackages

This commit is contained in:
grossmj
2021-04-15 18:12:08 +09:30
parent c59fc375f2
commit 9c850e0f2b
57 changed files with 332 additions and 214 deletions

View File

@ -149,11 +149,6 @@ async def start_virtualbox_node(node: VirtualBoxVM = Depends(dep_node)):
Start a VirtualBox node.
"""
if await node.check_hw_virtualization():
pm = ProjectManager.instance()
if pm.check_hardware_virtualization(node) is False:
pass # FIXME: check this
# raise ComputeError("Cannot start VM with hardware acceleration (KVM/HAX) enabled because hardware virtualization (VT-x/AMD-V) is already used by another software like VMware or VirtualBox")
await node.start()