Bug 866984 - Please enable CONFIG_TCM_VHOST in 3.6 kernels
Summary: Please enable CONFIG_TCM_VHOST in 3.6 kernels
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 17
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 866981
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-16 13:33 UTC by Julio Entrena Perez
Modified: 2012-12-20 15:36 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 866981
Environment:
Last Closed: 2012-12-20 15:36:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Julio Entrena Perez 2012-10-16 13:33:54 UTC
Applies to Fedora 17 too.

+++ This bug was initially created as a clone of Bug #866981 +++

> Description of problem:
tcm_vhost is not enabled in 3.6 kernels.

> Version-Release number of selected component (if applicable):
kernel 3.6.1-1.fc17.

> How reproducible:
Always.

> Steps to Reproduce:
1. $ grep -r CONFIG_TCM_VHOST /usr/src/kernels/3.6.1-1.fc17.x86_64/.config 
  
> Actual results:
# CONFIG_TCM_VHOST is not set

> Expected results:
CONFIG_TCM_VHOST=m

> Additional info:
http://lwn.net/Articles/508788/

Comment 1 Josh Boyer 2012-10-17 14:59:54 UTC
For future reference, it would be good if you actually said why you want a module enabled.  There's nothing at all about why this should be enabled in the report.

I did it anyway since Justin already did a similar commit for F18.

Comment 2 Julio Entrena Perez 2012-10-17 15:14:43 UTC
(In reply to comment #1)
> For future reference, it would be good if you actually said why you want a
> module enabled.  There's nothing at all about why this should be enabled in
> the report.

Sorry Josh, motivation is to be able to use virtio-scsi with the tcm_vhost fabric to allow SCSI commands sent from KVM guests to reach the backing store.
http://wiki.qemu.org/Features/VirtioSCSI/TCM_Overview

For example, using virtio-scsi with tcm_vhost and target_core_pscsi (SCSI pass-through backing store) allows KVM guests to send TRIM commands to the underlying device (e.g. a SSD drive).

Comment 3 Josh Boyer 2012-10-17 15:29:02 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > For future reference, it would be good if you actually said why you want a
> > module enabled.  There's nothing at all about why this should be enabled in
> > the report.
> 
> Sorry Josh, motivation is to be able to use virtio-scsi with the tcm_vhost
> fabric to allow SCSI commands sent from KVM guests to reach the backing
> store.
> http://wiki.qemu.org/Features/VirtioSCSI/TCM_Overview
> 
> For example, using virtio-scsi with tcm_vhost and target_core_pscsi (SCSI
> pass-through backing store) allows KVM guests to send TRIM commands to the
> underlying device (e.g. a SSD drive).

Awesome.  Thanks for the quick info!  It's always good to have reasoning documented for why something was enabled.

Comment 4 Fedora Update System 2012-10-22 18:39:03 UTC
kernel-3.6.3-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/kernel-3.6.3-1.fc17

Comment 5 Fedora Update System 2012-10-23 01:54:16 UTC
Package kernel-3.6.3-1.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing kernel-3.6.3-1.fc17'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-16669/kernel-3.6.3-1.fc17
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2012-12-20 15:36:22 UTC
kernel-3.6.3-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.