Re: [PATCH 01/17] Drop needless typecast to virStorageType enum

2022-05-24 Thread Boris Fiuczynski
On 5/23/22 3:08 PM, Michal Privoznik wrote: There are three places (two in domain_conf.c and one in qemu_migration.c) where a virStorageSource->type is typecasted to virStorageType (for the purpose of catching missing enum member in a switch() statement at compile time). This is needless,

[PATCH 01/17] Drop needless typecast to virStorageType enum

2022-05-23 Thread Michal Privoznik
There are three places (two in domain_conf.c and one in qemu_migration.c) where a virStorageSource->type is typecasted to virStorageType (for the purpose of catching missing enum member in a switch() statement at compile time). This is needless, because as of v8.2.0-rc1~120 the struct member is of

[PATCH 01/17] Drop needless typecast to virStorageType enum

2022-04-08 Thread Michal Privoznik
There are three places (two in domain_conf.c and one in qemu_migration.c) where a virStorageSource->type is typecasted to virStorageType (for the purpose of catching missing enum member in a switch() statement at compile time). This is needless, because as of v8.2.0-rc1~120 the struct member is of