lkml.org 
[lkml]   [2012]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: linux 3.3-pre-rc1: Starting domU fails with Error: Failed to query current memory allocation of dom0.
On Thu, Jan 12, 2012 at 18:10, Konrad Rzeszutek Wilk
<konrad.wilk@oracle.com> wrote:
> On Thu, Jan 12, 2012 at 06:05:46PM +0100, Sander Eikelenboom wrote:

>> Shouldn't the
>>
>> if (error) {
>>         bus_unregister(&balloon_subsys);
>>         return error;
>> }
>>
>> right below it also be changed ?
>
> I thought so too, but looking at how the subsys_system_register it looks
> to be OK. Kay, thoughts?

No, it's fine, there is nothing else.

The subsys_system_register() fucrtion is a new function (for compat
with old sysdev rules only) that registers a bus. The counterpart is
the bus_unregister.

The long-term picture is that 'struct bus_type' and 'struct class'
will be merged and everything will be called 'subsys'.

Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2012-01-12 18:51    [W:0.036 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site