[pve-devel] add virtio-scsi iothread support

Stefan Priebe - Profihost AG s.priebe at profihost.ag
Wed Apr 1 11:29:15 CEST 2015


Am 01.04.2015 um 11:17 schrieb Alexandre DERUMIER:
>>> Should i sent patches?
> 
> I think it's ok.
> virtio-scsi iothread is really new, so maybe unplug is not implemented.
> (but it shouldn't segfault ;)

I send those three patches.

If you use them just install pve-qemu-kvm-dbg package.

After you triggered the segfault you'll see the exact error including
line of code in
/tmp/$id.log

Stefan

> 
> I'll wait a response from qemu devs.
> 
> 
> ----- Mail original -----
> De: "Stefan Priebe" <s.priebe at profihost.ag>
> À: "aderumier" <aderumier at odiso.com>
> Cc: "pve-devel" <pve-devel at pve.proxmox.com>
> Envoyé: Mercredi 1 Avril 2015 09:16:56
> Objet: Re: [pve-devel] add virtio-scsi iothread support
> 
> Am 01.04.2015 um 09:00 schrieb Alexandre DERUMIER: 
>>>> Oh OK. Which message / segfault do you get? 
>>
>> "Segmentation fault" :/ 
>>
>> No idea how to debug that. 
> 
> mhm i'm still running Proxmox 3.3 so i don't have your iothread patches. 
> 
> Generally i'm missing a debug function in pve. I've written my own to 
> debug such problems but those patches changes some things in PVE. I'm 
> not sure whether dietmar want to merge it. 
> 
> Should i sent patches? 
> 
> Stefan 
> 
>> ----- Mail original ----- 
>> De: "Stefan Priebe" <s.priebe at profihost.ag> 
>> À: "aderumier" <aderumier at odiso.com> 
>> Cc: "pve-devel" <pve-devel at pve.proxmox.com> 
>> Envoyé: Mercredi 1 Avril 2015 08:48:16 
>> Objet: Re: [pve-devel] add virtio-scsi iothread support 
>>
>> Am 01.04.2015 um 08:44 schrieb Alexandre DERUMIER: 
>>>>> Oh,ok, I'll try it ! 
>>>
>>> Don't help for this specific case. (virtio-scsi + iothread) 
>>>
>>> I have sent a mail to qemu-devel mailing. 
>>
>> Oh OK. Which message / segfault do you get? 
>>
>> Stefan 
>>
>>
>>> ----- Mail original ----- 
>>> De: "aderumier" <aderumier at odiso.com> 
>>> À: "Stefan Priebe" <s.priebe at profihost.ag> 
>>> Cc: "pve-devel" <pve-devel at pve.proxmox.com> 
>>> Envoyé: Mercredi 1 Avril 2015 08:21:48 
>>> Objet: Re: [pve-devel] add virtio-scsi iothread support 
>>>
>>>>> Look at my Patch to pve-qemu-kvm yesterday it fixes unplug and resize 
>>>
>>> Oh,ok, I'll try it ! 
>>>
>>>
>>> ----- Mail original ----- 
>>> De: "Stefan Priebe" <s.priebe at profihost.ag> 
>>> À: "aderumier" <aderumier at odiso.com> 
>>> Cc: "pve-devel" <pve-devel at pve.proxmox.com> 
>>> Envoyé: Mercredi 1 Avril 2015 07:19:06 
>>> Objet: Re: [pve-devel] add virtio-scsi iothread support 
>>>
>>> Look at my Patch to pve-qemu-kvm yesterday it fixes unplug and resize 
>>>
>>> Stefan 
>>> Excuse my typo s ent from my mobile phone. 
>>>
>>> Am 01.04.2015 um 05:11 schrieb Alexandre Derumier < aderumier at odiso.com >: 
>>>
>>>
>>>
>>>
>>> Theses patches add support for virtio-scsi iothreads. 
>>>
>>> Hot-unplug (drive_del) is currently buggy and segfault, so patch2 block it 
>>>
>>> _______________________________________________ 
>>> pve-devel mailing list 
>>> pve-devel at pve.proxmox.com 
>>> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 
>>>
>>>
>>>
>>> _______________________________________________ 
>>> pve-devel mailing list 
>>> pve-devel at pve.proxmox.com 
>>> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 
>>>
>>



More information about the pve-devel mailing list