Skip to contentSkip to conversation

ABI/API breakage

DISCUSSION Christoph Egger 2 participants 5 messages Jul 20, 2009

lore
Share & tools
lore
#0 lore raw

Hi!

Changeset 19639 changed the ABI/API w/o taking care about backward compatibility.
This breaks the xen build in upstream qemu in file hw/xen_domainbuild.c

FYI,
Christoph

Signature · 6 lines
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Thomas M. McCoy, Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
#1 lore raw
Quoted 5 lines · Christoph Egger

Hi!

Changeset 19639 changed the ABI/API w/o taking care about backward compatibility.
This breaks the xen build in upstream qemu in file hw/xen_domainbuild.c

Is xc_linux_build() the only problematic function? That one could be reverted easily enough. Actually superpages should really just get bunged in 'struct xc_dom_image' I think. Then the interface for all domain builder functions reverts to what it was previously.

-- Keir

#2 lore raw
Quoted 11 lines · On Monday 20 July 2009 16:15:31 Keir Fraser wrote:
Quoted 5 lines · Christoph Egger

Hi!

Changeset 19639 changed the ABI/API w/o taking care about backward compatibility.
This breaks the xen build in upstream qemu in file hw/xen_domainbuild.c

Is xc_linux_build() the only problematic function? That one could be reverted easily enough. Actually superpages should really just get bunged in 'struct xc_dom_image' I think. Then the interface for all domain builder functions reverts to what it was previously.

For qemu, xc_linux_build() is the only one problematic function. From the engineering point-of-view, your proposal to collapse superpages into 'struct xc_dom_image' is the best solution.

Christoph

Signature · 6 lines
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Thomas M. McCoy, Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
#3 lore raw
Quoted 8 lines · Christoph Egger
Quoted 4 lines

Is xc_linux_build() the only problematic function? That one could be reverted easily enough. Actually superpages should really just get bunged in 'struct xc_dom_image' I think. Then the interface for all domain builder functions reverts to what it was previously.

For qemu, xc_linux_build() is the only one problematic function. From the engineering point-of-view, your proposal to collapse superpages into 'struct xc_dom_image' is the best solution.

Try changeset 19963.

-- Keir

#4 lore raw
Quoted 11 lines · On Monday 20 July 2009 16:49:01 Keir Fraser wrote:
Quoted 8 lines · Christoph Egger
Quoted 4 lines

Is xc_linux_build() the only problematic function? That one could be reverted easily enough. Actually superpages should really just get bunged in 'struct xc_dom_image' I think. Then the interface for all domain builder functions reverts to what it was previously.

For qemu, xc_linux_build() is the only one problematic function. From the engineering point-of-view, your proposal to collapse superpages into 'struct xc_dom_image' is the best solution.

Try changeset 19963.

Confirmed. This unbreaks build of qemu. Tnx for fixing.

Christoph

Signature · 6 lines
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Thomas M. McCoy, Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632