Re: [PATCH 4/6] KVM: Use syscore_ops instead of sysdev class andsysdev

From: Avi Kivity
Date: Tue Mar 22 2011 - 05:19:45 EST

On 03/22/2011 01:37 AM, Rafael J. Wysocki wrote:
From: Rafael J. Wysocki<rjw@xxxxxxx>

KVM uses a sysdev class and a sysdev for executing kvm_suspend()
after interrupts have been turned off on the boot CPU (during system
suspend) and for executing kvm_resume() before turning on interrupts
on the boot CPU (during system resume). However, since both of these
functions ignore their arguments, the entire mechanism may be
replaced with a struct syscore_ops object which is simpler.

Acked-by: Avi Kivity <avi@xxxxxxxxxx>

error compiling committee.c: too many arguments to function

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at