Skip to contentSkip to conversation

First release candidate for Xen 3.2.1

DISCUSSION Keir Fraser 2 participants 3 messages Mar 24, 2008 – Mar 25, 2008

lore
Share & tools
lore
#1 lore raw

PV drvier build failure -- RE: First release candidate for Xen 3.2.1

Quoted 8 lines · Keir Fraser

Folks,

The first release candidate for Xen 3.2.1 is available at
http://xenbits.xensource.com/xen-3.2-testing.hg, tagged as '3.2.1-rc1'.

Please test!

/home/build/xen_3.2_pae-16821-20080325/unmodified_drivers/linux-2.6/plat form-pci/machine_reboot.c:61: error: void value not ignored as it ought to be
make[2]: *** [/home/build/xen_3.2_pae-16821-20080325/unmodified_drivers/linux-2.6/pla tform-pci/machine_reboot.o] Error 1
make[1]: *** [/home/build/xen_3.2_pae-16821-20080325/unmodified_drivers/linux-2.6/pla tform-pci] Error 2
make: *** [_module_/home/build/xen_3.2_pae-16821-20080325/unmodified_drivers/linux -2.6] Error 2

in patform-pci/machine_reboot.c:61:
static int bp_suspend(void)

{
	int suspend_cancelled;

	BUG_ON(!irqs_disabled());

	suspend_cancelled = HYPERVISOR_shutdown(SHUTDOWN_suspend);

while in include/asm/hypervisor.h:259, HYPERVISOR_shutdown is defined as void type:

static inline void /*__noreturn*/
HYPERVISOR_shutdown(
unsigned int reason)

-- haicheng

#2 lore raw

Re: PV drvier build failure -- RE: First release candidate for Xen 3.2.1

Quoted 13 lines

/home/build/xen_3.2_pae-16821-20080325/unmodified_drivers/linux-2.6/plat form-pci/machine_reboot.c:61: error: void value not ignored as it ought to be
make[2]: *** [/home/build/xen_3.2_pae-16821-20080325/unmodified_drivers/linux-2.6/pla tform-pci/machine_reboot.o] Error 1
make[1]: *** [/home/build/xen_3.2_pae-16821-20080325/unmodified_drivers/linux-2.6/pla tform-pci] Error 2
make: *** [_module_/home/build/xen_3.2_pae-16821-20080325/unmodified_drivers/linux -2.6] Error 2

Fixed by 3.2-testing changeset 16822.

Thanks,
Keir

Quoted 21 lines

in patform-pci/machine_reboot.c:61:
static int bp_suspend(void)
{
int suspend_cancelled;

BUG_ON(!irqs_disabled());

suspend_cancelled = HYPERVISOR_shutdown(SHUTDOWN_suspend);

while in include/asm/hypervisor.h:259, HYPERVISOR_shutdown is defined as void type:

static inline void /*__noreturn*/
HYPERVISOR_shutdown(
unsigned int reason)

-- haicheng