qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC] Support to boot for vhost-scsi device?
@ 2015-01-19  3:34 Gonglei (Arei)
  2015-01-19  8:57 ` Paolo Bonzini
  0 siblings, 1 reply; 5+ messages in thread
From: Gonglei (Arei) @ 2015-01-19  3:34 UTC (permalink / raw)
  To: qemu-devel@nongnu.org
  Cc: Paolo Bonzini, Huangweidong (C), Huangpeng (Peter),
	stefanha@redhat.com

Hi,

At present, vhost-scsi device do not boot in Qemu, but some clients/users have
requirements for that in some scenarios. Of course if we want complete the
aim we should make some changes both Qemu and kernel (vhost-scsi driver
module, it need to add an IOCTL interface to get target_id/lun_id etc.). 

Can we do it for Qemu side first? Have any difficulty? 
Thanks for any comments. 

BTW, I had some patches for this, and tested well. 
And I want to post them if possible. :)

Best regards,
-Gonglei

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

* Re: [Qemu-devel] [RFC] Support to boot for vhost-scsi device?
  2015-01-19  3:34 [Qemu-devel] [RFC] Support to boot for vhost-scsi device? Gonglei (Arei)
@ 2015-01-19  8:57 ` Paolo Bonzini
  2015-01-19  9:04   ` Gonglei
  0 siblings, 1 reply; 5+ messages in thread
From: Paolo Bonzini @ 2015-01-19  8:57 UTC (permalink / raw)
  To: Gonglei (Arei), qemu-devel@nongnu.org
  Cc: Huangweidong (C), Huangpeng (Peter), stefanha@redhat.com



On 19/01/2015 04:34, Gonglei (Arei) wrote:
> At present, vhost-scsi device do not boot in Qemu, but some clients/users have
> requirements for that in some scenarios. Of course if we want complete the
> aim we should make some changes both Qemu and kernel (vhost-scsi driver
> module, it need to add an IOCTL interface to get target_id/lun_id etc.). 
> 
> Can we do it for Qemu side first? Have any difficulty? 
> Thanks for any comments. 
> 
> BTW, I had some patches for this, and tested well. 
> And I want to post them if possible. :)

Can you detail what the problems are?

Paolo

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

* Re: [Qemu-devel] [RFC] Support to boot for vhost-scsi device?
  2015-01-19  8:57 ` Paolo Bonzini
@ 2015-01-19  9:04   ` Gonglei
  2015-01-19  9:13     ` Paolo Bonzini
  0 siblings, 1 reply; 5+ messages in thread
From: Gonglei @ 2015-01-19  9:04 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: Huangweidong (C), qemu-devel@nongnu.org, stefanha@redhat.com,
	Huangpeng (Peter)

On 2015/1/19 16:57, Paolo Bonzini wrote:

> 
> On 19/01/2015 04:34, Gonglei (Arei) wrote:
>> At present, vhost-scsi device do not boot in Qemu, but some clients/users have
>> requirements for that in some scenarios. Of course if we want complete the
>> aim we should make some changes both Qemu and kernel (vhost-scsi driver
>> module, it need to add an IOCTL interface to get target_id/lun_id etc.). 
>>
>> Can we do it for Qemu side first? Have any difficulty? 
>> Thanks for any comments. 
>>
>> BTW, I had some patches for this, and tested well. 
>> And I want to post them if possible. :)
> 
> Can you detail what the problems are?
> 

Qemu haven't provide a bootindex property for vhost-scsi device.
So, we can not assign the boot order for it at present.

Sorry for misunderstanding. :(

Regards,
-Gonglei

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

* Re: [Qemu-devel] [RFC] Support to boot for vhost-scsi device?
  2015-01-19  9:04   ` Gonglei
@ 2015-01-19  9:13     ` Paolo Bonzini
  2015-01-19  9:17       ` Gonglei
  0 siblings, 1 reply; 5+ messages in thread
From: Paolo Bonzini @ 2015-01-19  9:13 UTC (permalink / raw)
  To: Gonglei
  Cc: Huangweidong (C), qemu-devel@nongnu.org, stefanha@redhat.com,
	Huangpeng (Peter)



On 19/01/2015 10:04, Gonglei wrote:
> Qemu haven't provide a bootindex property for vhost-scsi device.
> So, we can not assign the boot order for it at present.

Oh, I see.  Sure, I'll be happy to review patches.

Paolo

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

* Re: [Qemu-devel] [RFC] Support to boot for vhost-scsi device?
  2015-01-19  9:13     ` Paolo Bonzini
@ 2015-01-19  9:17       ` Gonglei
  0 siblings, 0 replies; 5+ messages in thread
From: Gonglei @ 2015-01-19  9:17 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: Huangweidong (C), qemu-devel@nongnu.org, stefanha@redhat.com,
	Huangpeng (Peter)

On 2015/1/19 17:13, Paolo Bonzini wrote:

> 
> 
> On 19/01/2015 10:04, Gonglei wrote:
>> Qemu haven't provide a bootindex property for vhost-scsi device.
>> So, we can not assign the boot order for it at present.
> 
> Oh, I see.  Sure, I'll be happy to review patches.
> 
Thanks, will post a patch serial later.


Regards,
-Gonglei

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

end of thread, other threads:[~2015-01-19  9:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-19  3:34 [Qemu-devel] [RFC] Support to boot for vhost-scsi device? Gonglei (Arei)
2015-01-19  8:57 ` Paolo Bonzini
2015-01-19  9:04   ` Gonglei
2015-01-19  9:13     ` Paolo Bonzini
2015-01-19  9:17       ` Gonglei

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).