Yes, you are right. And this design is almost like the libvirt capabilities format
<cpu id='0' socket_id='0' core_id='0' siblings='0'/> with attribute socket. Best Regards, Jason Liao > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of > Sven > Kieske > Sent: 2014年5月26日 23:51 > To: [email protected] > Subject: Re: [ovirt-devel] Discussion VM CPU pinning and NUMA CPU pinning > > well I'm no expert in reading xml like model declarations so please correct > me where > I'm wrong: > > any cpu contains at least 1 core, bound to 1 socket (1 cpu == 1 socket) a > core does not > contain any element socket. > > Am 26.05.2014 05:11, schrieb Liao, Chuan (Jason Liao, > HPservers-Core-OE-PSC): > > <xs:complexType name="CPU"> > > <xs:sequence> > > ... > > <xs:element name="cores" type="Cores" minOccurs="0"/> > > ... > > </xs:complexType> > > > > <xs:complexType name="Cores"> > > <xs:sequence> > > <xs:element ref="core" maxOccurs="unbounded"/> > > </xs:sequence> > > </xs:complexType> > > > > <xs:complexType name="Core"> > > <xs:attribute name="index" type="xs:int" use="required"/> > > <xs:attribute name="socket" type="xs:int" use="optional"/> > > </xs:complexType> > > -- > Mit freundlichen Grüßen / Regards > > Sven Kieske > > Systemadministrator > Mittwald CM Service GmbH & Co. KG > Königsberger Straße 6 > 32339 Espelkamp > T: +49-5772-293-100 > F: +49-5772-293-333 > https://www.mittwald.de > Geschäftsführer: Robert Meyer > St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen > Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen > _______________________________________________ > Devel mailing list > [email protected] > http://lists.ovirt.org/mailman/listinfo/devel _______________________________________________ Devel mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/devel
