From gustavo.pedrosa at eldorado.org.br Tue Sep 10 14:20:42 2013 Content-Type: multipart/mixed; boundary="===============5861068321297065226==" MIME-Version: 1.0 From: Gustavo Frederico Temple Pedrosa To: devel at ovirt.org Subject: [Engine-devel] Question about Disk Hotplug Date: Tue, 10 Sep 2013 18:20:32 +0000 Message-ID: --===============5861068321297065226== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable --_000_EF26FC1776F7FF46BFC072393EFD13A29A4FC8SERV070corpeldora_ Content-Type: text/plain; charset=3D"us-ascii" Content-Transfer-Encoding: quoted-printable Hi everyone, We proposed some changes in how to query if an operating system supports ho= =3D tplug, then Itamar suggested that disk hotplugging and NIC hotplugging coul= =3D d be separated from each other. While it is pretty clear how to put info ab= =3D out NIC hotplugging in the osinfo, here are a few issues when trying to int= =3D roduce the same concept for disk hotplugging. Some disk interfaces do not support hotplugging at all (like IDE), some of = =3D them support it in the x86_64, but not in the ppc64 architecture (like the = =3D VirtIO blk) and others support it in both architectures (like VirtIO SCSI).= =3D There is also a ppc64 specific controller called SPAPR VSCSI, which suppor= =3D ts it too. So, how do you propose a syntax to cover all these cases? I thought about something along the lines of: os.{id}.devices.disk.hotpluggableInterfaces =3D3D VirtIO_SCSI, VirtIO Thanks, Leonardo Bianconi/Vitor de Lima/Gustavo Pedrosa --_000_EF26FC1776F7FF46BFC072393EFD13A29A4FC8SERV070corpeldora_ Content-Type: text/html; charset=3D"us-ascii" Content-Transfer-Encoding: quoted-printable

Hi everyone,<=3D /p>

 

We proposed some changes in= how=3D to query if an operating system supports hotplug, then Itamar suggested th= =3D at disk hotplugging and NIC hotplugging could be separated from each other.= =3D While it is pretty clear how to put info about NIC hotplugging in the osinfo, here are a few issues when tryin= =3D g to introduce the same concept for disk hotplugging.

 

Some disk interfaces do not= sup=3D port hotplugging at all (like IDE), some of them support it in the x86_64, = =3D but not in the ppc64 architecture (like the VirtIO blk) and others support = =3D it in both architectures (like VirtIO SCSI). There is also a ppc64 specific controller called SPAPR VSCSI, which= =3D supports it too.

 

So, how do you propose a sy= ntax=3D to cover all these cases?

 

I thought about something a= long=3D the lines of:

os.{id}.devices.disk.hotplu= ggab=3D leInterfaces =3D3D VirtIO_SCSI, VirtIO

 

Thanks,

Leonardo Bianconi/Vitor de Lima/Gustavo Pedrosa=3D

--_000_EF26FC1776F7FF46BFC072393EFD13A29A4FC8SERV070corpeldora_-- --===============5861068321297065226== Content-Type: multipart/alternative MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.bin" LS1fMDAwX0VGMjZGQzE3NzZGN0ZGNDZCRkMwNzIzOTNFRkQxM0EyOUE0RkM4U0VSVjA3MGNvcnBl bGRvcmFfCkNvbnRlbnQtVHlwZTogdGV4dC9wbGFpbjsgY2hhcnNldD0idXMtYXNjaWkiCkNvbnRl bnQtVHJhbnNmZXItRW5jb2Rpbmc6IHF1b3RlZC1wcmludGFibGUKCkhpIGV2ZXJ5b25lLAoKV2Ug cHJvcG9zZWQgc29tZSBjaGFuZ2VzIGluIGhvdyB0byBxdWVyeSBpZiBhbiBvcGVyYXRpbmcgc3lz dGVtIHN1cHBvcnRzIGhvPQp0cGx1ZywgdGhlbiBJdGFtYXIgc3VnZ2VzdGVkIHRoYXQgZGlzayBo b3RwbHVnZ2luZyBhbmQgTklDIGhvdHBsdWdnaW5nIGNvdWw9CmQgYmUgc2VwYXJhdGVkIGZyb20g ZWFjaCBvdGhlci4gV2hpbGUgaXQgaXMgcHJldHR5IGNsZWFyIGhvdyB0byBwdXQgaW5mbyBhYj0K b3V0IE5JQyBob3RwbHVnZ2luZyBpbiB0aGUgb3NpbmZvLCBoZXJlIGFyZSBhIGZldyBpc3N1ZXMg d2hlbiB0cnlpbmcgdG8gaW50PQpyb2R1Y2UgdGhlIHNhbWUgY29uY2VwdCBmb3IgZGlzayBob3Rw bHVnZ2luZy4KClNvbWUgZGlzayBpbnRlcmZhY2VzIGRvIG5vdCBzdXBwb3J0IGhv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5M ZW9uYXJkbyBCaWFuY29uaS9WaXRvciBkZSBMaW1hL0d1c3Rhdm8gUGVkcm9zYTxvOnA+PQo8L286 cD48L3A+CjwvZGl2Pgo8L2JvZHk+CjwvaHRtbD4KCi0tXzAwMF9FRjI2RkMxNzc2RjdGRjQ2QkZD MDcyMzkzRUZEMTNBMjlBNEZDOFNFUlYwNzBjb3JwZWxkb3JhXy0tCg== --===============5861068321297065226==-- From rgolan at redhat.com Wed Sep 11 04:27:11 2013 Content-Type: multipart/mixed; boundary="===============7861110316752085422==" MIME-Version: 1.0 From: Roy Golan To: devel at ovirt.org Subject: Re: [Engine-devel] Question about Disk Hotplug Date: Wed, 11 Sep 2013 11:27:04 +0300 Message-ID: <52302958.8090903@redhat.com> In-Reply-To: EF26FC1776F7FF46BFC072393EFD13A29A4FC8@SERV070.corp.eldorado.org.br --===============7861110316752085422== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Tue 10 Sep 2013 09:20:32 PM IDT, Gustavo Frederico Temple Pedrosa = wrote: > Hi everyone, > > We proposed some changes in how to query if an operating system > supports hotplug, then Itamar suggested that disk hotplugging and NIC > hotplugging could be separated from each other. While it is pretty > clear how to put info about NIC hotplugging in the osinfo, here are a > few issues when trying to introduce the same concept for disk hotplugging. > > Some disk interfaces do not support hotplugging at all (like IDE), > some of them support it in the x86_64, but not in the ppc64 > architecture (like the VirtIO blk) and others support it in both > architectures (like VirtIO SCSI). There is also a ppc64 specific > controller called SPAPR VSCSI, which supports it too. > > So, how do you propose a syntax to cover all these cases? > > I thought about something along the lines of: > > os.{id}.devices.disk.hotpluggableInterfaces =3D VirtIO_SCSI, VirtIO > > Thanks, > > Leonardo Bianconi/Vitor de Lima/Gustavo Pedrosa > "storage" is a better term than "disk" so: os.{id}.devices.storage... maybe in the future we may expand the metadata model to hold devices = and hook it to an OS device.{id}.... os.{id}.devices=3D{deviceId} just a thought, its unnecessary for now. --===============7861110316752085422==-- From iheim at redhat.com Wed Sep 11 05:06:47 2013 Content-Type: multipart/mixed; boundary="===============9201753425367439126==" MIME-Version: 1.0 From: Itamar Heim To: devel at ovirt.org Subject: Re: [Engine-devel] Question about Disk Hotplug Date: Wed, 11 Sep 2013 12:06:40 +0300 Message-ID: <523032A0.9020400@redhat.com> In-Reply-To: 52302958.8090903@redhat.com --===============9201753425367439126== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 09/11/2013 11:27 AM, Roy Golan wrote: > On Tue 10 Sep 2013 09:20:32 PM IDT, Gustavo Frederico Temple Pedrosa wrot= e: >> Hi everyone, >> >> We proposed some changes in how to query if an operating system >> supports hotplug, then Itamar suggested that disk hotplugging and NIC >> hotplugging could be separated from each other. While it is pretty >> clear how to put info about NIC hotplugging in the osinfo, here are a >> few issues when trying to introduce the same concept for disk >> hotplugging. >> >> Some disk interfaces do not support hotplugging at all (like IDE), >> some of them support it in the x86_64, but not in the ppc64 >> architecture (like the VirtIO blk) and others support it in both >> architectures (like VirtIO SCSI). There is also a ppc64 specific >> controller called SPAPR VSCSI, which supports it too. >> >> So, how do you propose a syntax to cover all these cases? >> >> I thought about something along the lines of: >> >> os.{id}.devices.disk.hotpluggableInterfaces =3D VirtIO_SCSI, VirtIO >> >> Thanks, >> >> Leonardo Bianconi/Vitor de Lima/Gustavo Pedrosa >> > > "storage" is a better term than "disk" so: why? this is about a vdisk, isn't it? > > os.{id}.devices.storage... > > > maybe in the future we may expand the metadata model to hold devices and > hook it to an OS > > device.{id}.... > os.{id}.devices=3D{deviceId} > > just a thought, its unnecessary for now. > > > > > _______________________________________________ > Engine-devel mailing list > Engine-devel(a)ovirt.org > http://lists.ovirt.org/mailman/listinfo/engine-devel --===============9201753425367439126==-- From rgolan at redhat.com Wed Sep 11 09:51:14 2013 Content-Type: multipart/mixed; boundary="===============3814674558563492944==" MIME-Version: 1.0 From: Roy Golan To: devel at ovirt.org Subject: Re: [Engine-devel] Question about Disk Hotplug Date: Wed, 11 Sep 2013 16:51:08 +0300 Message-ID: <5230754C.9030809@redhat.com> In-Reply-To: 523032A0.9020400@redhat.com --===============3814674558563492944== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Wed 11 Sep 2013 12:06:40 PM IDT, Itamar Heim wrote: > On 09/11/2013 11:27 AM, Roy Golan wrote: >> On Tue 10 Sep 2013 09:20:32 PM IDT, Gustavo Frederico Temple Pedrosa >> wrote: >>> Hi everyone, >>> >>> We proposed some changes in how to query if an operating system >>> supports hotplug, then Itamar suggested that disk hotplugging and NIC >>> hotplugging could be separated from each other. While it is pretty >>> clear how to put info about NIC hotplugging in the osinfo, here are a >>> few issues when trying to introduce the same concept for disk >>> hotplugging. >>> >>> Some disk interfaces do not support hotplugging at all (like IDE), >>> some of them support it in the x86_64, but not in the ppc64 >>> architecture (like the VirtIO blk) and others support it in both >>> architectures (like VirtIO SCSI). There is also a ppc64 specific >>> controller called SPAPR VSCSI, which supports it too. >>> >>> So, how do you propose a syntax to cover all these cases? >>> >>> I thought about something along the lines of: >>> >>> os.{id}.devices.disk.hotpluggableInterfaces =3D VirtIO_SCSI, VirtIO >>> >>> Thanks, >>> >>> Leonardo Bianconi/Vitor de Lima/Gustavo Pedrosa >>> >> >> "storage" is a better term than "disk" so: > > why? this is about a vdisk, isn't it? well a vnic and vdisk are the building blocks in the end. so either we = use vnic vdisk etc or storage,network etc for all > >> >> os.{id}.devices.storage... >> >> >> maybe in the future we may expand the metadata model to hold devices and >> hook it to an OS >> >> device.{id}.... >> os.{id}.devices=3D{deviceId} >> >> just a thought, its unnecessary for now. >> >> >> >> >> _______________________________________________ >> Engine-devel mailing list >> Engine-devel(a)ovirt.org >> http://lists.ovirt.org/mailman/listinfo/engine-devel > --===============3814674558563492944==-- From iheim at redhat.com Wed Sep 11 10:16:11 2013 Content-Type: multipart/mixed; boundary="===============1447942248645948439==" MIME-Version: 1.0 From: Itamar Heim To: devel at ovirt.org Subject: Re: [Engine-devel] Question about Disk Hotplug Date: Wed, 11 Sep 2013 17:16:04 +0300 Message-ID: <52307B24.7080304@redhat.com> In-Reply-To: 5230754C.9030809@redhat.com --===============1447942248645948439== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 09/11/2013 04:51 PM, Roy Golan wrote: > On Wed 11 Sep 2013 12:06:40 PM IDT, Itamar Heim wrote: >> On 09/11/2013 11:27 AM, Roy Golan wrote: >>> On Tue 10 Sep 2013 09:20:32 PM IDT, Gustavo Frederico Temple Pedrosa >>> wrote: >>>> Hi everyone, >>>> >>>> We proposed some changes in how to query if an operating system >>>> supports hotplug, then Itamar suggested that disk hotplugging and NIC >>>> hotplugging could be separated from each other. While it is pretty >>>> clear how to put info about NIC hotplugging in the osinfo, here are a >>>> few issues when trying to introduce the same concept for disk >>>> hotplugging. >>>> >>>> Some disk interfaces do not support hotplugging at all (like IDE), >>>> some of them support it in the x86_64, but not in the ppc64 >>>> architecture (like the VirtIO blk) and others support it in both >>>> architectures (like VirtIO SCSI). There is also a ppc64 specific >>>> controller called SPAPR VSCSI, which supports it too. >>>> >>>> So, how do you propose a syntax to cover all these cases? >>>> >>>> I thought about something along the lines of: >>>> >>>> os.{id}.devices.disk.hotpluggableInterfaces =3D VirtIO_SCSI, VirtIO >>>> >>>> Thanks, >>>> >>>> Leonardo Bianconi/Vitor de Lima/Gustavo Pedrosa >>>> >>> >>> "storage" is a better term than "disk" so: >> >> why? this is about a vdisk, isn't it? > well a vnic and vdisk are the building blocks in the end. so either we > use vnic vdisk etc or storage,network etc for all we could have other "storage" things than disks? > >> >>> >>> os.{id}.devices.storage... >>> >>> >>> maybe in the future we may expand the metadata model to hold devices and >>> hook it to an OS >>> >>> device.{id}.... >>> os.{id}.devices=3D{deviceId} >>> >>> just a thought, its unnecessary for now. >>> >>> >>> >>> >>> _______________________________________________ >>> Engine-devel mailing list >>> Engine-devel(a)ovirt.org >>> http://lists.ovirt.org/mailman/listinfo/engine-devel >> > > --===============1447942248645948439==--