Commit 944637c9 by Karsa Zoltán István

fix vmdriver test

parent b036bf5b
#!/usr/bin/env python
import os
os.environ.setdefault("LIBVIRT_TEST", "True")
import vm
import vmdriver
# import logging
......
......@@ -192,6 +192,7 @@ class VMDisk:
target_device = None
def __init__(self,
name,
source,
disk_type="file",
disk_device="disk",
......@@ -200,6 +201,7 @@ class VMDisk:
driver_cache="none",
target_device="vda",
target_bus="virtio"):
self.name = name
self.source = source
self.disk_type = disk_type
self.disk_device = disk_device
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment