qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Do you have a use for a tester of virtio-scsi with CD drives ?
@ 2011-11-01 17:27 Thomas Schmitt
  2011-11-01 21:03 ` Thomas Schmitt
  0 siblings, 1 reply; 54+ messages in thread
From: Thomas Schmitt @ 2011-11-01 17:27 UTC (permalink / raw)
  To: qemu-devel

Hi,

i sent the following to Paolo Bonzini and Stefan Hajnoczi.

Stefan advised
> In the future I think it's appropriate to CC qemu-devel since others
> in the community may be interested in virtio-scsi discussions too.

So i forward my mail to this list.
I am subscribed now.

A first test report of SCSI passthrough without virtio-scsi will
follow soon.

--------------------------------------------------------------------

Hi,

being unsure whether my cause is appropriate for qemu-devel list,
i write directly to you, who recently discussed virtio-scsi on that
list. If there is a better place, please direct me to it.

I would like to participate as tester in the development of virtio-scsi.
In the october 2011 archive of qemu-devel list, i found a link to
  http://wiki.qemu.org/Features/VirtioSCSI
with
  Status: Under development. Not ready for real-world use yet.
  Features: [...] SCSI passthrough
Is there an outlook when it will be ripe for testing SCSI transactions
with CD-ish drives ?

My goal is to operate a real DVD burner drive from within a Debian
GNU/Linux 6.0.3 i386 as guest on a Debian GNU/Linux 6.0.2 amd64.
The SCSI commands are transported by the guest system via ioctl(SG_IO).
Burn program is xorriso, which uses libburn to communicate with
the drive. I am developer of both, but quite a newbie when it comes
to virtual machines.

I have SCSI specs SPC, SBC, MMC, and some experience in reading and
applying them. I can test with DVD drives at IDE/ATAPI, SATA, and USB
on real installations of GNU/Linux, FreeBSD 8 and OpenSolaris svn 134.
No experience with kernel programming or bus hardware issues.
(libburn is an MMC driver in userspace.)

---------------------------------------------------------------------
What i tried so far:

The qemu version of Debian 6.0.2 is 0.12.5. So i also built 0.15.1 from
the release tarball. I experienced no different behavior, though.

I tried
  -drive file=/dev/sr1,if=virtio,media=cdrom
which yields the same results as -drive if=scsi. (See below.)
Especially the emulated drive identifies itself as
  vendor 'QEMU' product 'QEMU DVD-ROM' revision '0.15'
rather than
  vendor 'TSSTcorp' product 'CDDVDW SH-S223B' revision 'SB02'
of the real one.
Obviously i do not get SCSI passthrough here.

Before this i tried
  -cdrom /dev/sr1
The emulated QEMU DVD-ROM rev 0.12 and rev 0.15 expectedly turned out
to be usable for reading only.

With
  -drive file=/dev/sr1,if=scsi,bus=4,unit=0,media=cdrom
the emulated QEMU DVD-ROM has similar restrictions as with -cdrom,
and additionaly states that there is no medium loaded.
E.g. with this SCSI transaction:
  TEST UNIT READY
  00 00 00 00 00 00 
  +++ sense data = F0 00 02 00 00 00 00 0A 00 00 00 00 3A 00 00 00 00 00
  +++ key=2  asc=3Ah  ascq=00h   (     4 ms)
The block device driver of GNU/Linux sees no medium either:
  dd: opening `/dev/sr0': No medium found
This happens with real /dev/sr1 and with an ISO image in a regular file.

---------------------------------------------------------------------


Have a nice day :)

Thomas

^ permalink raw reply	[flat|nested] 54+ messages in thread
* [Qemu-devel] Compile error
@ 2012-09-16 16:25 Gerhard Wiesinger
  2012-10-10  5:17 ` Gerhard Wiesinger
  0 siblings, 1 reply; 54+ messages in thread
From: Gerhard Wiesinger @ 2012-09-16 16:25 UTC (permalink / raw)
  To: qemu-devel; +Cc: M. Mohan Kumar

Hello,

qemu is currently not compile clean on Fedora 17:

CC fsdev/virtfs-proxy-helper.o
fsdev/virtfs-proxy-helper.c: In function ‘setfsugid’:
fsdev/virtfs-proxy-helper.c:293:13: error: ignoring return value of 
‘setfsgid’, declared with attribute warn_unused_result 
[-Werror=unused-result]
fsdev/virtfs-proxy-helper.c:294:13: error: ignoring return value of 
‘setfsuid’, declared with attribute warn_unused_result 
[-Werror=unused-result]
cc1: all warnings being treated as errors
make: *** [fsdev/virtfs-proxy-helper.o] Error 1

gcc --version
gcc (GCC) 4.7.0 20120507 (Red Hat 4.7.0-5)

Please fix it.

Ciao,
Gerhard

^ permalink raw reply	[flat|nested] 54+ messages in thread
* [Qemu-devel] compile error
@ 2005-07-06  8:40 황윤성
  2005-07-06  9:22 ` Hetz Ben Hamo
  0 siblings, 1 reply; 54+ messages in thread
From: 황윤성 @ 2005-07-06  8:40 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 2460 bytes --]

make[1]: Entering directory `/home/hys545/qemu/mips-softmmu'
gcc -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -I. -I/home/hys545/qemu/target-mips -I/home/hys545/qemu -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/home/hys545/qemu/fpu -I/home/hys545/qemu/slirp -c -o op_helper.o /home/hys545/qemu/target-mips/op_helper.c
/home/hys545/qemu/target-mips/op_helper.c:33: error: conflicting types for 'do_raise_exception_err'
/home/hys545/qemu/target-mips/exec.h:157: error: previous declaration of 'do_raise_exception_err' was here
/home/hys545/qemu/target-mips/op_helper.c:33: error: conflicting types for 'do_raise_exception_err'
/home/hys545/qemu/target-mips/exec.h:157: error: previous declaration of 'do_raise_exception_err' was here
/home/hys545/qemu/target-mips/op_helper.c:45: error: conflicting types for 'do_raise_exception'
/home/hys545/qemu/target-mips/exec.h:159: error: previous declaration of 'do_raise_exception' was here
/home/hys545/qemu/target-mips/op_helper.c:45: error: conflicting types for 'do_raise_exception'
/home/hys545/qemu/target-mips/exec.h:159: error: previous declaration of 'do_raise_exception' was here
/home/hys545/qemu/target-mips/op_helper.c:119: error: conflicting types for 'do_mfc0'
/home/hys545/qemu/target-mips/exec.h:127: error: previous declaration of 'do_mfc0' was here
/home/hys545/qemu/target-mips/op_helper.c:119: error: conflicting types for 'do_mfc0'
/home/hys545/qemu/target-mips/exec.h:127: error: previous declaration of 'do_mfc0' was here
/home/hys545/qemu/target-mips/op_helper.c:268: error: conflicting types for 'do_mtc0'
/home/hys545/qemu/target-mips/exec.h:129: error: previous declaration of 'do_mtc0' was here
/home/hys545/qemu/target-mips/op_helper.c:268: error: conflicting types for 'do_mtc0'
/home/hys545/qemu/target-mips/exec.h:129: error: previous declaration of 'do_mtc0' was here
/home/hys545/qemu/target-mips/op_helper.c:607: error: conflicting types for 'do_pmon'
/home/hys545/qemu/target-mips/exec.h:149: error: previous declaration of 'do_pmon' was here
/home/hys545/qemu/target-mips/op_helper.c:607: error: conflicting types for 'do_pmon'
/home/hys545/qemu/target-mips/exec.h:149: error: previous declaration of 'do_pmon' was here
make[1]: *** [op_helper.o] 오류 1

My step is
cvs update-2005-7-6
./configure
make


-------------------------------------------------
Your Life on the Net
DreamWiz Free Mail @ http://www.dreamwiz.com/


[-- Attachment #2: Type: TEXT/HTML, Size: 6455 bytes --]

<HTML>
<BODY>

<BR>make[1]: Entering directory `/home/hys545/qemu/mips-softmmu'
<BR>gcc -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -I. -I/home/hys545/qemu/target-mips -I/home/hys545/qemu -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/home/hys545/qemu/fpu -I/home/hys545/qemu/slirp -c -o op_helper.o /home/hys545/qemu/target-mips/op_helper.c
<BR>/home/hys545/qemu/target-mips/op_helper.c:33: error: conflicting types for 'do_raise_exception_err'
<BR>/home/hys545/qemu/target-mips/exec.h:157: error: previous declaration of 'do_raise_exception_err' was here
<BR>/home/hys545/qemu/target-mips/op_helper.c:33: error: conflicting types for 'do_raise_exception_err'
<BR>/home/hys545/qemu/target-mips/exec.h:157: error: previous declaration of 'do_raise_exception_err' was here
<BR>/home/hys545/qemu/target-mips/op_helper.c:45: error: conflicting types for 'do_raise_exception'
<BR>/home/hys545/qemu/target-mips/exec.h:159: error: previous declaration of 'do_raise_exception' was here
<BR>/home/hys545/qemu/target-mips/op_helper.c:45: error: conflicting types for 'do_raise_exception'
<BR>/home/hys545/qemu/target-mips/exec.h:159: error: previous declaration of 'do_raise_exception' was here
<BR>/home/hys545/qemu/target-mips/op_helper.c:119: error: conflicting types for 'do_mfc0'
<BR>/home/hys545/qemu/target-mips/exec.h:127: error: previous declaration of 'do_mfc0' was here
<BR>/home/hys545/qemu/target-mips/op_helper.c:119: error: conflicting types for 'do_mfc0'
<BR>/home/hys545/qemu/target-mips/exec.h:127: error: previous declaration of 'do_mfc0' was here
<BR>/home/hys545/qemu/target-mips/op_helper.c:268: error: conflicting types for 'do_mtc0'
<BR>/home/hys545/qemu/target-mips/exec.h:129: error: previous declaration of 'do_mtc0' was here
<BR>/home/hys545/qemu/target-mips/op_helper.c:268: error: conflicting types for 'do_mtc0'
<BR>/home/hys545/qemu/target-mips/exec.h:129: error: previous declaration of 'do_mtc0' was here
<BR>/home/hys545/qemu/target-mips/op_helper.c:607: error: conflicting types for 'do_pmon'
<BR>/home/hys545/qemu/target-mips/exec.h:149: error: previous declaration of 'do_pmon' was here
<BR>/home/hys545/qemu/target-mips/op_helper.c:607: error: conflicting types for 'do_pmon'
<BR>/home/hys545/qemu/target-mips/exec.h:149: error: previous declaration of 'do_pmon' was here
<BR>make[1]: *** [op_helper.o] 오류 1
<BR>
<BR>My step is
<BR>cvs update-2005-7-6
<BR>./configure
<BR>make
<BR>
<BR></BODY>
</HTML>

<BR>
<LINK href=http://www.dreamwiz.com/css/wd.css rel=STYLESHEET title="text spacing" type=text/css>
<table  border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td>
			<table  border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td align=left colspan=2>
				<!--@@@@ 개인 이미지관련 셋팅 START@@@@-->


<!--@@@@ 개인주소 스킨형태 START@@@@-->
<!---------------------------------->
	<!----------	스킨 2 START    -------->
	<!---------------------------------->
	<table width="225" border="0" cellspacing="0" cellpadding="0" background="http://address.dreamwiz.com/IMG/photo_img/h/y/hys545/p_hys545_SKIN">
	<tr><td style='padding:1 1 1 1' align="center">
	<table width="200" border="0" cellspacing="0" cellpadding="0">
	<tr height="10"><td></td></tr>
	<tr><td height="19" style="font-size: 11pt;  font-weight:bold;">황윤성</td></tr>
	<tr height="7"><td></td></tr>
	<tr><td>
	<table width="200" border="0" cellspacing="0" cellpadding="0">
	<tr height="14">
	<td >1980/10/28()</td></tr>
	</table>
	</td></tr>
	<tr height="8"><td></td></tr>
	<tr><td>
	<table width="200" border="0" cellspacing="0" cellpadding="0">
	<tr height="14">
	<td width="42" >426-811</td>
	<td width="4">
	<td width="154" >815-19 301호</td>
	</tr>
	</table>
	</td></tr>
	<tr height="3"><td></td></tr>
	<tr><td>
	<table width="200" border="0" cellspacing="0" cellpadding="0">
	<tr height="14"><td ></td></tr>
	<tr height="4"><td></td></tr>
	<tr height="19"><td  style="padding:0 0 0 0" class="f9 orange"><a href="http://mail.dreamwiz.com/AUTH/mail.cgi?c=W&to=hys545@dreamwiz.com" target=_blank class="ca_a2">hys545@dreamwiz.com</a></td></td>
	<tr height="1"><td></td></tr>
	<tr height="14"><td class="blue"><a href="http://" target=_blank class="b_q"></a></td></tr>
	</table>
	</td></tr>
	<tr><td height="7"></td></tr>
	<tr><td>
	<table width="200" border="0" cellspacing="0" cellpadding="0">
	<tr>
	<td width="117" height="47"></td>
	<td width="83" rowspan="3" style="padding:0 0 1 0">
	<table width="83" border="0" cellspacing="0" cellpadding="0">
	<tr><td height="83" align="right" valign="bottom"></td></tr>
	</table>
	</td></tr>
	<tr height="17"><td  style="padding:3 0 0 0"></td></tr>
	<tr height="19"><td  style="padding:4 0 0 0">H.P : 016-469-7702</td></tr>
	<tr><td height="10"></td></tr>
	</table>
	</td></tr>
	</table>
	</td></tr>
	</table>


				</td>
			</tr>
			</table>
		</td>
		</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0"><tr><td height="5"></td></tr></table>
<table  border="0" cellspacing="0" cellpadding="0">
	<tr><td>
	<A HREF="http://www.dreamwiz.com/wd/add/ev/addcard_pr.htm" target=_blank><img src="http://i.dreamwiz.com/img/wd/add/ma_card.gif" border=0></A>
	</td>
	</tr>
</table>


<BR>
<a HREF="http://www.dreamwiz.com/" TARGET=_blank><img src=http://i.dreamwiz.com/img/wd/ma/m_dw_logo.gif WIDTH=223 HEIGHT=23 BORDER=0 style=margin-bottom:-5;></a> <span style="font-size: 9pt; font-family:gulim,Arial; color: #494949; text-decoration: none;">http://www.dreamwiz.com/</span><br>
<img src="http://i.dreamwiz.com/dw/ko/n.gif" width=1 height=3 border="0"><br><a href="http://ebiz.dreamwiz.com/BIN/pl.cgi?page=mailcontent&save=100&http://asz.dreamwiz.com" target="_blank"><img src="http://i.dreamwiz.com/img/wd/ma/m_pcv.gif" width="279" height="27" align="absmiddle" border="0"></a>
<img src="http://i.dreamwiz.com/dw/ko/n.gif" width=5 height=1 border="0"><a href="http://www.dreamwiz.com/dm/disk/dm_disk.htm" target="_blank"><img src="http://i.dreamwiz.com/img/wd/ma/m_disk.gif" width=248 height=27 align="absmiddle" border="0"></a>


<IMG SRC="http://mailchk.dreamwiz.com/cgi-bin/receive_check.cgi?sender=hys545@dreamwiz.com&msgid=%3C20050706084045.0001622201F201FF@mail6.dreamwiz.com%3E&receiver=qemu-devel@nongnu.org&key=e41bdabb4ed953f5dcb1fab3ff367ffc" WIDTH="1" HEIGHT="1" BORDER="0">

                                                             

^ permalink raw reply	[flat|nested] 54+ messages in thread

end of thread, other threads:[~2012-11-01 21:29 UTC | newest]

Thread overview: 54+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-01 17:27 [Qemu-devel] Do you have a use for a tester of virtio-scsi with CD drives ? Thomas Schmitt
2011-11-01 21:03 ` Thomas Schmitt
2011-11-02 11:25   ` Stefan Hajnoczi
2011-11-02 12:08     ` Paolo Bonzini
2011-11-02 16:26       ` Thomas Schmitt
2011-11-02 16:34         ` Paolo Bonzini
2011-11-02 18:05           ` Thomas Schmitt
2011-11-02 19:50             ` Paolo Bonzini
2011-11-02 21:22               ` Thomas Schmitt
2011-11-02 22:08                 ` Thomas Schmitt
2011-11-02 22:16                   ` [Qemu-devel] Compile error Frans de Boer
2011-11-02 22:19                     ` Anthony Liguori
2011-11-02 22:31                       ` Frans de Boer
2011-11-03  7:49                 ` [Qemu-devel] Do you have a use for a tester of virtio-scsi with CD drives ? Paolo Bonzini
2011-11-03  9:15                   ` Thomas Schmitt
2011-11-03  9:36                     ` Paolo Bonzini
2011-11-03 13:10                   ` Thomas Schmitt
2011-11-03 22:30                     ` Thomas Schmitt
2011-11-04  9:18                       ` Thomas Schmitt
2011-11-04  9:38                         ` Paolo Bonzini
2011-11-04 11:09                           ` Thomas Schmitt
2011-11-04 11:31                             ` Paolo Bonzini
2011-11-04 13:03                               ` Thomas Schmitt
2011-11-04 20:28                                 ` Thomas Schmitt
2011-11-05  8:33                                   ` Paolo Bonzini
2011-11-05 13:00                                     ` Thomas Schmitt
2011-11-05 14:37                                   ` Thomas Schmitt
2011-11-05 15:53                                     ` Paolo Bonzini
2011-11-05 16:38                                       ` Thomas Schmitt
2011-11-05 20:47                                     ` Thomas Schmitt
2011-11-06  8:17                                       ` Paolo Bonzini
2011-11-06 10:35                                         ` Thomas Schmitt
2011-11-06 20:14                                         ` Thomas Schmitt
2011-11-07  8:02                                           ` Paolo Bonzini
2011-11-07 10:04                                             ` Thomas Schmitt
2011-11-07 11:13                                               ` Paolo Bonzini
2011-11-07 11:24                                                 ` Zhi Yong Wu
2011-11-07 11:29                                                   ` Paolo Bonzini
2011-11-07 11:40                                                     ` Zhi Yong Wu
2011-11-06  9:31                                       ` Thomas Schmitt
2011-11-04 13:26                       ` Andreas Färber
2011-11-04 14:46                         ` Thomas Schmitt
2011-11-07  8:48             ` Zhi Yong Wu
2011-11-02 15:15     ` Thomas Schmitt
2011-11-02 16:22       ` Paolo Bonzini
  -- strict thread matches above, loose matches on Subject: below --
2012-09-16 16:25 [Qemu-devel] Compile error Gerhard Wiesinger
2012-10-10  5:17 ` Gerhard Wiesinger
2012-11-01 19:47   ` Gerhard Wiesinger
2012-11-01 20:13     ` Max Filippov
2012-11-01 20:27       ` Gerhard Wiesinger
2012-11-01 20:58     ` Anthony Liguori
2012-11-01 21:29       ` Gerhard Wiesinger
2005-07-06  8:40 [Qemu-devel] compile error 황윤성
2005-07-06  9:22 ` Hetz Ben Hamo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).