Skip to content

Commit

Permalink
q-dev: direct import of device_protocol classes
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrbartman committed Aug 28, 2024
1 parent 1600870 commit 384cc14
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions qubesmanager/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
import sys
import traceback
from qubesadmin.tools import QubesArgumentParser
from qubesadmin import devices
from qubesadmin import device_protocol
from qubesadmin import utils as admin_utils
from qubesadmin.tools import qvm_start
import qubesadmin.exc
Expand Down Expand Up @@ -1272,8 +1272,8 @@ def __apply_devices_tab__(self):
options = {}
if dev.port_id in self.new_strict_reset_list:
options['no-strict-reset'] = True
ass = devices.DeviceAssignment(
devices.Port(
ass = device_protocol.DeviceAssignment(
device_protocol.Port(
self.vm.app.domains['dom0'], dev.port_id, 'pci'),
mode='required',
options=options)
Expand Down

0 comments on commit 384cc14

Please sign in to comment.