mirror of
https://github.com/ceph/ceph
synced 2024-12-24 12:24:19 +00:00
Merge pull request #1293 from ceph/wip-17977-fix
qemu: Set permissions on /dev/kvm Reviewed-by: Dan Mick <dmick@redhat.com>
This commit is contained in:
commit
47cd4f4608
@ -292,6 +292,13 @@ def run_qemu(ctx, config):
|
||||
tdir=testdir,
|
||||
client=client
|
||||
)
|
||||
# Hack to make sure /dev/kvm permissions are set correctly
|
||||
# See http://tracker.ceph.com/issues/17977 and
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1333159
|
||||
remote.run(args='sudo udevadm control --reload')
|
||||
remote.run(args='sudo udevadm trigger /dev/kvm')
|
||||
remote.run(args='ls -l /dev/kvm')
|
||||
|
||||
qemu_cmd = 'qemu-system-x86_64'
|
||||
if remote.os.package_type == "rpm":
|
||||
qemu_cmd = "/usr/libexec/qemu-kvm"
|
||||
|
Loading…
Reference in New Issue
Block a user