KVM¿¡¼­ USB Æнº½º·ç....

izegtob   
   Á¶È¸ 4618   Ãßõ 0    

도데체

어떻게 하는거죠?

뭘해도 안됩니다

환경은 리눅스 호스트에 윈도우 게스트입니다.


/dev/bus/usb의 권한으 libvrit-qemu로 바꿔도 안됩니다.

제가 놓친게 뭔지 알수있을까요?


진짜 쓰면 쓸수록 KVM 열받네요...

버츄얼박스가 편했는데 쓰읍...

ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.
Ŭ·¡½Ä 2016-08
¤»¤» Àúµµ ±×°Å‹ª¿¡ºýÃƴµ¥ ¾Ë·Áµå¸±°Ô¿ä ±×°Å º¸¾È±ÇÇÑÀÌ ¾ø¾î¼­±×·¡¿ä..
sudo setenforce 0 Å͹̳ο¡ ÀÔ·ÂÇϽðųª
sudo gedit /etc/selinux/config > SELINUX=disabled ÇØÁÖ½Ã¸é µÇ¿ä
ÀÌ°Ç Æäµµ¶ó ±âÁØÀÔ´Ï´Ù.
º¸´Ï±î ¸®´ª½º¸¶´Ù ¸í·É¾îµµ ´Ù¸£°í ÆÄÀÏÀ§Ä¡µµ ´Ù¸£°í °Ì³ª Çرò·Á¿ä...
¸®´ª½º ÷¸¸Áö´Âµ¥ Çϵå¿þ¾î¹®Á¦·Î À缳ġ¸¸ 20°³³Ñ°ÔÇß´Ù´Â ¤Ð
Ŭ·¡½Ä 2016-08
´Ù¼³Ä¡Çسõ°íº¸´Ï±î kvmµµ ±¦Âú³×¿ä
esxi¿¡¼­ kvmÀ¸·Î ³Ñ¾î¿Ô´Âµ¥
centos³ª ubuntu ´Â kvmÀÚü°¡ ´À¸®´øµ¥ Æäµµ¶ó´Â »¡¶ó¼­
°ü¸®Çϱ⵵ ½±°í ¤¾¤¾ ÁÁ³×¿ä
°­¿µÁØ2C 2016-08
¾Æ½±°Ôµµ SElinux´Â ¾²°íÀÖÁö ¾Ê³×¿ä....
     
Ŭ·¡½Ä 2016-08
±×·³ ±×°Å °ü·ÃÀϵí½ÍÀºµ¥.. À¯ºÐÅõ³ª ¼¾Å佺¿¡¼­ ½ºÅ©¸³Æ®·ÎÇϸé Àߺٰŵç¿ä..
±Ùµ¥ kvm¿¡¼± À߾ȵǴõ¶ó±¸¿ä

Ȥ½Ã /etc/libvirt/qemu.conf ÀÌ°Å ÀÖÀ¸¸é
user = "root"

# The group for QEMU processes run by the system instance. It can be
# specified in a similar way to user.
group = "root"

# Áö¿öº¸¼¼¿ä ±×¸®°í ÀçºÎÆÃ
          
°­¿µÁØ2C 2016-08
±Û½ê¿ä root·Îµµ ¾ÈµÇ´Â°Ô
ÀÏ¹Ý À¯Àú·Î µÉ°Å °°Áö´Â...
´Ù¸¥ ¹®Á¦ÀΰŠ°°½À´Ï´Ù.
Ŭ·¡½Ä 2016-08
¾Æ´Ï½Ã¸é ½ºÅ©¸³Æ®·Î ºÙÇôº¸¼¼¿ä ½ºÅ©¸³Æ®°¡ Àߵǿä

#!/bin/bash

cp /usr/share/edk2.git/ovmf-x64/OVMF_VARS-pure-efi.fd /tmp/my_vars.fd
qemu-system-x86_64 \
  -enable-kvm \
  -smp sockets=2,cores=6,threads=1 \
  -m 8048 \
  -cpu host,kvm=off \
  -vga none \
  -device vfio-pci,host=82:00.0,multifunction=on \
  -device vfio-pci,host=82:00.1 \
  -drive if=pflash,format=raw,readonly,file=/usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd \
  -drive if=pflash,format=raw,file=/tmp/my_vars.fd \
  -device virtio-scsi-pci,id=scsi \
-drive file=/root/´Ù¿î·Îµå/ko_windows_10_enterprise_10240_x64_dvd.iso,id=isocd,format=raw,if=none -device scsi-cd,drive=isocd \
-drive file=/mnt/sdc1/SSD.img,id=disk,format=qcow2,if=none,cache=writeback -device scsi-hd,drive=disk \
-drive file=/root/´Ù¿î·Îµå/virtio.iso,id=virtiocd,if=none,format=raw -device ide-cd,bus=ide.1,drive=virtiocd \
-usb -usbdevice host:046d:c07d \
-usb -usbdevice host:258a:1006 \
-boot menu=on

ÀÌ·±½ÄÀÌ¿¡¿ä


QnA
Á¦¸ñPage 2241/5685
2015-12   1505675   ¹é¸Þ°¡
2014-05   4969333   Á¤ÀºÁØ1
2020-02   6701   ¼öÆÛ½ÎÀ̾ð
2012-05   6811   À̼±È£
10-27   303   ´«¶áºÀ»ç
10-31   366   ¯¯¸Ç
2009-03   5261   ±è±â¿µ
2014-05   3761   °ÉÀνÅȫö
2012-06   4521   À¯È£ÁØ
2014-05   3961   ±èÁø¿µJK
2012-06   5127   ½Ì¾î¼Û¶óÀÌÅÍ
2019-01   3397   »ßµ¹À̽½ÇÄÀÌ
2014-05   7481   ÀÌÅ¿í
2019-01   2507   Áø¿µÁØ
2023-02   1910   ²Ù¶ì¿÷
2009-04   4823   ºÐ´ç±èµ¿¼ö
2014-05   3951   ÀÓ½ÃÇö
2019-01   8479   ¾Æ¸¶µ¥¿ì¾²
2020-03   4865   ¼öÆÛ½ÎÀ̾ð
2021-07   1508   Xkxk
2014-05   31769   ±è°Ç¿ì
2015-10   5760   Ãʺ¸ÂÐÀÌ