Change in vdsm[master]: faqemu: remove the fake /dev/kvm after vdsmd stops

danken at redhat.com danken at redhat.com
Tue Sep 18 09:08:34 UTC 2012


Dan Kenigsberg has submitted this change and it was merged.

Change subject: faqemu: remove the fake /dev/kvm after vdsmd stops
......................................................................


faqemu: remove the fake /dev/kvm after vdsmd stops

/usr/libexec/vdsm/vdsm-faqemu, the fake emulator, will create a fake
/dev/kvm before it starts a real emulator. This fake device is for
cheating libvirtd. This fake /dev/kvm is not deleted automatically after
vdsmd stops. If we want to switch to real KVM support then, the fake
device will prevent the system creating the real device, thus makes the
user very confused about the error. This patch detects and deletes the
fake /dev/kvm after vdsmd stops whenever faqemu is enabled or not in the
vdsmd.conf.

Change-Id: I1c1183acf90cd32444b1c26fa20aa843e4a0556d
Signed-off-by: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>
---
M vdsm.spec.in
M vdsm_hooks/faqemu/Makefile.am
A vdsm_hooks/faqemu/after_vdsm_stop.py
3 files changed, 35 insertions(+), 0 deletions(-)

Approvals:
  Ryan Harper: Looks good to me, but someone else must approve
  Mark Wu: Looks good to me, but someone else must approve
  Dan Kenigsberg: Looks good to me, approved
  Zhou Zheng Sheng: Verified


--
To view, visit http://gerrit.ovirt.org/7885
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I1c1183acf90cd32444b1c26fa20aa843e4a0556d
Gerrit-PatchSet: 3
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Mark Wu <wudxw at linux.vnet.ibm.com>
Gerrit-Reviewer: Ryan Harper <ryanh at us.ibm.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>


More information about the vdsm-patches mailing list