Re: [Qemu-devel] Forbid to pass lun 0 to iscsi driver

2015-08-03 Thread Andrey Korolyov
On Mon, Aug 3, 2015 at 11:13 AM, Paolo Bonzini wrote: > > > On 03/08/2015 09:47, Andrey Korolyov wrote: >> I`ve mistyped lun for tgtd upon volume hotplug, which resulted in an >> accidental crash, there is nothing but human factor. Until only LUN0 >> may possess such unusual properties, I`d vote t

Re: [Qemu-devel] Forbid to pass lun 0 to iscsi driver

2015-08-03 Thread Peter Lieven
Am 03.08.2015 um 10:13 schrieb Paolo Bonzini: On 03/08/2015 09:47, Andrey Korolyov wrote: I`ve mistyped lun for tgtd upon volume hotplug, which resulted in an accidental crash, there is nothing but human factor. Until only LUN0 may possess such unusual properties, I`d vote to explicitly work it

Re: [Qemu-devel] Forbid to pass lun 0 to iscsi driver

2015-08-03 Thread Paolo Bonzini
On 03/08/2015 09:47, Andrey Korolyov wrote: > I`ve mistyped lun for tgtd upon volume hotplug, which resulted in an > accidental crash, there is nothing but human factor. Until only LUN0 > may possess such unusual properties, I`d vote to explicitly work it > around instead of adding generic protec

Re: [Qemu-devel] Forbid to pass lun 0 to iscsi driver

2015-08-03 Thread Peter Lieven
Am 03.08.2015 um 09:47 schrieb Andrey Korolyov: On Mon, Aug 3, 2015 at 9:45 AM, Peter Lieven wrote: Am 02.08.2015 um 13:42 schrieb Andrey Korolyov: Hello, As we will never pass LUN#0 as a storage lun, it would be better to prohibit this at least in iscsi.c, otherwise it will result in an FPU

Re: [Qemu-devel] Forbid to pass lun 0 to iscsi driver

2015-08-03 Thread Andrey Korolyov
On Mon, Aug 3, 2015 at 9:45 AM, Peter Lieven wrote: > Am 02.08.2015 um 13:42 schrieb Andrey Korolyov: >> >> Hello, >> >> As we will never pass LUN#0 as a storage lun, it would be better to >> prohibit this at least in iscsi.c, otherwise it will result in an FPU >> exception and emulator crash: >>

Re: [Qemu-devel] Forbid to pass lun 0 to iscsi driver

2015-08-02 Thread Peter Lieven
Am 02.08.2015 um 13:42 schrieb Andrey Korolyov: Hello, As we will never pass LUN#0 as a storage lun, it would be better to prohibit this at least in iscsi.c, otherwise it will result in an FPU exception and emulator crash: traps: qemu-system-x86[32430] trap divide error ip:7f1dab7b5073 sp:7f1d7

[Qemu-devel] Forbid to pass lun 0 to iscsi driver

2015-08-02 Thread Andrey Korolyov
Hello, As we will never pass LUN#0 as a storage lun, it would be better to prohibit this at least in iscsi.c, otherwise it will result in an FPU exception and emulator crash: traps: qemu-system-x86[32430] trap divide error ip:7f1dab7b5073 sp:7f1d713e4ae0 error:0 in block-iscsi.so[7f1dab7b+800