Bug 980431

Summary: Attaching Virtio-scsi fails with error as "error: unsupported configuration This QEMU doesn't support virtio scsi controller"
Product: [Community] Virtualization Tools Reporter: chandrashekar shastri <cshastri>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED NOTABUG QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, berrange
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-02 11:05:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
libvirtd log none

Description chandrashekar shastri 2013-07-02 11:01:01 UTC
Created attachment 767683 [details]
libvirtd log

Description of problem:
Attaching Virtio-scsi fails with error as "error: unsupported configuration This QEMU doesn't support virtio scsi controller".

This is just for tracking purpose.

It is broken in qemu git commit 

commit bd5c51ee6c4f1c79cae5ad2516d711a27b4ea8ec
Author: Michael Roth <mdroth.ibm.com>
Date:   Fri Jun 7 15:19:53 2013 -0500

The latest git commit is working fine.
commit 4eda32f588086b6cd0ec2be6a7a6c131f8c2b427
Author: Markus Armbruster <armbru>
Date:   Fri Jun 14 13:15:06 2013 +0200

Attached the libvirtd debug logs where the code was broken.

Comment 1 Daniel Berrangé 2013-07-02 11:05:41 UTC
You have a bad build of libvirt:

2013-07-02 10:51:37.827+0000: 1417: error : virJSONValueToString:1150 : internal error No JSON parser implementation is available
2013-07-02 10:51:37.827+0000: 1417: debug : virQEMUCapsInitQMP:2558 : Failed to set monitor capabilities internal error No JSON parser implementation is available


you *must* compile with yajl support present to make libvirt work with QEMU >= 0.15