[請問] VirtualBox 出現 AMD-V is being used by another hypervisor 的訊息而無法執行 [論壇 - Ubuntu 與工具程式及軟體推薦]


正在瀏覽:   1 名遊客


 到底部   前一個主題   下一個主題  [無發表權] 請登錄或者註冊

« 1 (2)


回覆: [請問] VirtualBox 出現 AMD-V is being used by another hypervisor 的訊息而無法執行
會員一級
註冊日期:
2012/10/11 11:20
所屬群組:
已註冊使用者
等級: 1
HP : 0 / 5
MP : 1 / 169
EXP: 21
離線
連錯誤訊息(小藍)也這麼擬真嗎 (昏)
重點是 AMD-V 與 KVM 共通的機能一定是被佔用啦
這個問題要先解決,再來處理虛擬的OS修復或重灌
要花些時間找文獻了囧

2012/12/20 0:18
應用擴展 工具箱
回覆: [請問] VirtualBox 出現 AMD-V is being used by another hypervisor 的訊息而無法執行

註冊日期:
2009/12/6 10:32
所屬群組:
已註冊使用者
等級: 71
HP : 1053 / 1756
MP : 4456 / 69319
EXP: 24
離線
AMD-V is being used by another hypervisor. (VERR_SVM_IN_USE). VirtualBox can't enable the AMD-V extension.
在AMD-V的相關內容裡,Do not run other hypervisors…這段文章似乎跟我的問題比較相關,之前找過一篇文章也提到,在XP下虛擬其他OS時出現失敗,發現在程式管理員裡面同時有數個VB在跑(之前開的沒關掉),關掉後就正常了


1. 使用手冊 120 頁
--hwvirtexexcl on|off: This specifies whether VirtualBox will make exclusive use of the hardware virtualization extensions (Intel VT-x or AMD-V) in the processor of your host system; see chapter 10.3, Hardware vs. software virtualization, page 182. If you wish to simultaneously share these extensions with other hypervisors, then you must disable this setting. Doing so has negative performance implications.
因爲 沒有把 hwvirtexexcl 設爲 off (disable) 所以無法 share 所以出現 AMD-V is being used by another hypervisor

2. 使用手冊 183 頁
Warning: Do not run other hypervisors (open-source or commercial virtualization products) together with VirtualBox! While several hypervisors can normally be installed in parallel, do not attempt to run several virtual machines from competing hypervisors
at the same time. VirtualBox cannot track what another hypervisor is currently attempting to do on the same host, and especially if several products attempt to use hardware virtualization features such as VT-x, this can crash the entire host. Also, within VirtualBox, you can mix software and hardware virtualization when running
multiple VMs. In certain cases a small performance penalty will be unavoidable when mixing VT-x and software virtualization VMs. We recommend not mixing virtualization modes if maximum performance and low overhead are essential. This does not apply to AMD-V.
使用 AMD-V 絕對不可以 同時有兩個以上 的 hypervisors 平行安裝

平行虛擬網路轉接器(Paravirtualized network adapter, virtio-net)如果被勾選,


Another possible solution is paravirtualization, in which only specially modified guest OSes are allowed to run. This way, most of the hardware access is abstracted and any functions which would normally access the hardware or privileged CPU state are passed on to the hypervisor instead. Paravirtualization can achieve good functionality and performance on standard x86 CPUs, but it can only work if the guest OS can actually be modified, which is obviously not always the case.
VirtualBox chooses a different approach. When starting a virtual machine, through its ring-0 support kernel driver, VirtualBox has set up the host system so that it can run most of the guest code natively, but it has inserted itself at the “bottom” of the picture. It can then assume control when needed – if a privileged instruction is executed, the guest traps (in particular because
an I/O register was accessed and a device needs to be virtualized) or external interrupts occur.
VirtualBox may then handle this and either route a request to a virtual device or possibly delegate handling such things to the guest or host OS. In guest context, VirtualBox can therefore be in one of three states:
Virtualbox 採取的是與 平行虛擬 不同的方法...

但在 系統監控 裡並沒有看到其他VB,除非是我的KVM同時啟動中?
我用 sudo /sbin/lsmod | grep kvm 指令查了一下,但並沒有kvm執行中


kvm : dummy transitional package from kvm to qemu-kvm
This transitional package helps users transition from the kvm package to the qemu-kvm package. Once this package and its dependencies are installed you can safely remove it.
kvm 是 套件名稱 目前是 虛擬套件 實際安裝的是 qemu-kvm 套件
預設並未安裝 需要 額外安裝
sudo dpkg -l | grep kvm # 可以檢查看看 kvm 有沒有 安裝

qemu-kvm : Full virtualization on i386 and amd64 hardware
Using KVM, one can run multiple virtual PCs, each running unmodified Linux or Windows images. Each virtual machine has private virtualized hardware: a network card, disk, graphics adapter, etc.
KVM (for Kernel-based Virtual Machine) is a full virtualization solution for Linux hosts on x86 (32 and 64-bit) hardware.
KVM is intended for systems where the processor has hardware support for
virtualization, see below for details. All combinations of 32-bit and 64-bit host and guest systems are supported, except 64-bit guests on 32-bit hosts.
KVM requires your system to support hardware virtualization, provided by AMD's SVM capability or Intel's VT. To find out if your processor has the necessary support:
egrep "flags.*:.*(svm|vmx)" /proc/cpuinfo
If it prints anything, the processor provides hardware virtualization
support and is suitable for use with KVM. Without hardware support, you can use qemu emulation instead.
KVM consists of two loadable kernel modules (kvm.ko and either vm-amd.ko or kvm-intel.ko) and a userspace component. This package contains the userspace component, and you can get the kernel modules from the standard kernel images.
This package contains support for running virtualized and emulated x86 and x86-64 machines only. Support for other architectures is provided by the qemu-linaro source package.

預設並未安裝 需要 額外安裝
sudo dpkg -l | grep qemu-kvm # 可以檢查看看 qemu-kvm 有沒有 安裝

2012/12/20 0:37
應用擴展 工具箱
回覆: [請問] VirtualBox 出現 AMD-V is being used by another hypervisor 的訊息而無法執行
管理員
註冊日期:
2011/3/11 6:32
所屬群組:
討論區管理群
等級: 44
HP : 216 / 1084
MP : 1088 / 38822
EXP: 38
離線
poloshiao 寫到:
2. 使用手冊 183 頁
...While several hypervisors can normally be installed in parallel, do not attempt to run several virtual machines from competing hypervisors
at the same time
...This (Warning) does not apply to AMD-V.
使用 AMD-V 絕對不可以 同時有兩個以上 的 hypervisors 平行安裝

完全相反。

ubuntubg 寫到:
要花些時間找文獻了囧

文獻萬萬歲。
 KVM/FAQ - Community Ubuntu Documentation
 https://help.ubuntu.com/community/KVM/FAQ#How_to_prevent_Virtualbox_and_KVM_from_conflicting.3F

2012/12/20 1:19
應用擴展 工具箱
回覆: [請問] VirtualBox 出現 AMD-V is being used by another hypervisor 的訊息而無法執行

註冊日期:
2009/12/6 10:32
所屬群組:
已註冊使用者
等級: 71
HP : 1053 / 1756
MP : 4456 / 69319
EXP: 24
離線
完全相反


建議你 要把你的論述說明白 才能判別到底哪裏相反
不是 放個槍
讓人聽到槍響 自己需要滿地去找子彈

以後
沒有證據的假設
沒有論述的放槍
本人當它沒看見
不回應
不補充
但是會註明不回應不補充的緣由

2012/12/20 10:40
應用擴展 工具箱
回覆: [請問] VirtualBox 出現 AMD-V is being used by another hypervisor 的訊息而無法執行
管理員
註冊日期:
2011/3/11 6:32
所屬群組:
討論區管理群
等級: 44
HP : 216 / 1084
MP : 1088 / 38822
EXP: 38
離線
poloshiao 寫到:
建議你 要把你的論述說明白 才能判別到底哪裏相反
不是 放個槍
讓人聽到槍響 自己需要滿地去找子彈

以後
沒有證據的假設
沒有論述的放槍
本人當它沒看見
不回應
不補充
但是會註明不回應不補充的緣由

都已經列出來了 XD
難道還需要翻譯?

poloshiao 寫到:
2. 使用手冊 183 頁
...While several hypervisors can normally be installed in parallel, do not attempt to run several virtual machines from competing hypervisors at the same time
V字龍 寫到:
…雖然數個 hypervisor 可以正常的同時被安裝,請不要試圖自不同的 hypervisor 同時運行多個虛擬機器


...This (Warning) does not apply to AMD-V.
V字龍 寫到:
…這個(警告)不適用於 AMD-V。

使用 AMD-V 絕對不可以 同時有兩個以上 的 hypervisors 平行安裝

既不是「AMD-V」也不是「不可以…平行安裝」,不是完全相反是什麼XD

誤會別人事小,誤導別人事大

2012/12/20 16:14
應用擴展 工具箱
回覆: [請問] VirtualBox 出現 AMD-V is being used by another hypervisor 的訊息而無法執行

註冊日期:
2009/12/6 10:32
所屬群組:
已註冊使用者
等級: 71
HP : 1053 / 1756
MP : 4456 / 69319
EXP: 24
離線
誤會別人事小,誤導別人事大

我已附上原文
所以沒有誤導別人的問題
任何人 都應該知道
網路上的 文章
信不信 自己要過濾
我們不可能 所有的情況 都親身經歷過
最多 只是 幫助網友 碰到問題 去哪裏找答案
判斷 還是 要靠 網友自己


poloshiao 寫到:
2. 使用手冊 183 頁
...While several hypervisors can normally be installed in parallel, do not attempt to run several virtual machines from competing hypervisors
at the same time
...This (Warning) does not apply to AMD-V.
使用 AMD-V 絕對不可以 同時有兩個以上 的 hypervisors 平行安裝
完全相反。


你知道這是 virtualbox 說明書嗎
你有看完全部的使用說明書嗎
你知道哪些適用於 Intel VT-x 哪些適用於 AMD-V 嗎

抓到尾巴 就斷定它是蛇
你有看完全部嗎

2012/12/20 16:35
應用擴展 工具箱
回覆: [請問] VirtualBox 出現 AMD-V is being used by another hypervisor 的訊息而無法執行
管理員
註冊日期:
2011/3/11 6:32
所屬群組:
討論區管理群
等級: 44
HP : 216 / 1084
MP : 1088 / 38822
EXP: 38
離線
poloshiao 寫到:
誤會別人事小,誤導別人事大

我已附上原文
所以沒有誤導別人的問題
任何人 都應該知道
網路上的 文章
信不信 自己要過濾

所以,我幾乎在所有 ubuntu-tw.org 的回應都加上了一些前綴...

狹義上來說-
有可能-
可以試試看-
如果您要的只是-
我猜是-
單從OOO來看-
或許-
所以,我幾乎-
(取最近幾篇回應)

因為我不想要讓任何沒 100% 確定的事情讓別人「被誤導」

poloshiao 寫到:

poloshiao 寫到:
2. 使用手冊 183 頁
...While several hypervisors can normally be installed in parallel, do not attempt to run several virtual machines from competing hypervisors
at the same time
...This (Warning) does not apply to AMD-V.
使用 AMD-V 絕對不可以 同時有兩個以上 的 hypervisors 平行安裝
完全相反。


你知道這是 virtualbox 說明書嗎
你有看完全部的使用說明書嗎
你知道哪些適用於 Intel VT-x 哪些適用於 AMD-V 嗎

抓到尾巴 就斷定它是蛇
你有看完全部嗎

簡單來說就是看到哪些部份有錯就糾正哪些部份
僅此

我沒興趣閱讀跟著不是結論的結論團團轉的回帖,最好是一看到方向偏離就先拉回來

2012/12/20 17:07
應用擴展 工具箱

« 1 (2)

 [無發表權] 請登錄或者註冊


可以查看帖子.
不可發帖.
不可回覆.
不可編輯自己的帖子.
不可刪除自己的帖子.
不可發起投票調查.
不可在投票調查中投票.
不可上傳附件.
不可不經審核直接發帖.