On 04/12/2016 09:55 AM, Peter Krempa wrote:
All the fields were initialized to 0.
---
src/conf/domain_conf.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 0320691..aa96bac 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -6737,14 +6737,6 @@ virDomainDiskDefParseXML(virDomainXMLOptionPtr xmlopt,
if (!(def = virDomainDiskDefNew(xmlopt)))
return NULL;
- def->geometry.cylinders = 0;
- def->geometry.heads = 0;
- def->geometry.sectors = 0;
- def->geometry.trans = VIR_DOMAIN_DISK_TRANS_DEFAULT;
-
- def->blockio.logical_block_size = 0;
- def->blockio.physical_block_size = 0;
-
ctxt->node = node;
type = virXMLPropString(node, "type");
ACK
- Cole