work for virtualbox qt5

This commit is contained in:
Ertuğrul Erata
2015-08-12 09:52:10 +03:00
parent 8373639c89
commit df50cf6e59
37 changed files with 1572 additions and 0 deletions
@@ -0,0 +1,11 @@
--- virt-wrapper-0.1.1.orig/virt-wrapper.py 2009-12-22 10:37:12.000000000 +0200
+++ virt-wrapper-0.1.1/virt-wrapper.py 2014-11-23 12:44:24.702025021 +0200
@@ -11,7 +11,7 @@
__trans = gettext.translation('virt-wrapper', fallback=True)
_ = __trans.ugettext
-VIRT_GROUP = "virt"
+VIRT_GROUP = "vboxusers"
class VBox:
def __init__(self):
@@ -0,0 +1,20 @@
--- virt-wrapper.py~ 2013-02-01 21:29:54.545523923 +0100
+++ virt-wrapper.py 2013-02-01 21:30:39.649522275 +0100
@@ -130,7 +130,7 @@
if mod.replace("-", "_") in loaded:
link = comar.Link()
try:
- link.Boot.Modules["module_init_tools"].unload(mod)
+ link.Boot.Modules["kmod"].unload(mod)
except dbus.exceptions.DBusException:
return False
else:
@@ -168,7 +168,7 @@
failure = False
for mod in mods:
try:
- link.Boot.Modules["module_init_tools"].load(mod, "")
+ link.Boot.Modules["kmod"].load(mod, "")
except dbus.exceptions.DBusException:
failure = True
@@ -0,0 +1,13 @@
Index: virt-wrapper-0.1.1/virt-wrapper.py
===================================================================
--- virt-wrapper-0.1.1.orig/virt-wrapper.py
+++ virt-wrapper-0.1.1/virt-wrapper.py
@@ -168,7 +168,7 @@ def checkModules(vapp):
failure = False
for mod in mods:
try:
- link.Boot.Modules["module_init_tools"].load(mod)
+ link.Boot.Modules["module_init_tools"].load(mod, "")
except dbus.exceptions.DBusException:
failure = True