virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
From: Cornelia Huck <cornelia.huck@de.ibm.com>
To: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Mark McLoughlin <markmc@redhat.com>,
	Anthony Liguori <aliguori@us.ibm.com>,
	Kay Sievers <kay.sievers@vrfy.org>,
	linux-kernel@vger.kernel.org,
	virtualization@lists.linux-foundation.org,
	Greg KH <gregkh@suse.de>
Subject: Re: [PATCH 5/6] kvm-s390: use register_virtio_root_device()
Date: Thu, 11 Dec 2008 13:49:22 +0100	[thread overview]
Message-ID: <20081211134922.71d6d811@gondolin> (raw)
In-Reply-To: <200812111005.49597.borntraeger@de.ibm.com>

On Thu, 11 Dec 2008 10:05:49 +0100,
Christian Borntraeger <borntraeger@de.ibm.com> wrote:

> Am Mittwoch, 10. Dezember 2008 schrieb Mark McLoughlin:
> > This is basically a no-op change, since it does exactly the
> > same thing as s390_root_dev_register() when the caller isn't
> > a module.
> 
> Ok, I gave it a short test and it seems to work.
> Some comments: I agree with your comment in patch0, that a generic 
> device_register_root() function might be useful. 

Indeed, if this is a simple replacement, we want a generic function.
I'll take a look at the patches.

> 
> > --- a/drivers/s390/kvm/kvm_virtio.c
> > +++ b/drivers/s390/kvm/kvm_virtio.c
> [...]
> > -	kvm_root = s390_root_dev_register("kvm_s390");
> > +	kvm_root = register_virtio_root_device("kvm_s390");
> [...]
> > -		s390_root_dev_unregister(kvm_root);
> > +		unregister_virtio_root_device(kvm_root);
> 
> You can now remove the include <asm/s390_rdev.h>

  parent reply	other threads:[~2008-12-11 12:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1228394671.3732.77.camel@blaa>
     [not found] ` <200812051043.51417.rusty@rustcorp.com.au>
     [not found]   ` <1228489626.3858.37.camel@blaa>
     [not found]     ` <200812071852.08962.rusty@rustcorp.com.au>
     [not found]       ` <1228741409.3609.32.camel@blaa>
     [not found]         ` <493D334D.6050004@us.ibm.com>
     [not found]           ` <1228840890.26198.25.camel@blaa>
     [not found]             ` <ac3eb2510812091016u944d6c9je6ac8470127e5115@mail.gmail.com>
     [not found]               ` <1228902558.5384.19.camel@blaa>
     [not found]                 ` <ac3eb2510812100402v58f792e3k6ebd6607495a13bf@mail.gmail.com>
2008-12-10 17:44                   ` [PATCH 0/6] Clean up virtio device object handling [was Re: [PATCH] virtio: make PCI devices take a virtio_pci module ref] Mark McLoughlin
2008-12-10 18:07                     ` Kay Sievers
     [not found]                     ` <1228931139-12956-4-git-send-email-markmc@redhat.com>
     [not found]                       ` <1228931139-12956-5-git-send-email-markmc@redhat.com>
2008-12-11  9:05                         ` [PATCH 5/6] kvm-s390: use register_virtio_root_device() Christian Borntraeger
     [not found]                         ` <200812111005.49597.borntraeger@de.ibm.com>
2008-12-11 12:49                           ` Cornelia Huck [this message]
     [not found]                     ` <1228931139-12956-1-git-send-email-markmc@redhat.com>
     [not found]                       ` <1228931139-12956-2-git-send-email-markmc@redhat.com>
2008-12-11 12:59                         ` [PATCH 2/6] virtio: add register_virtio_root_device() Cornelia Huck
     [not found]                         ` <20081211135924.4394cc56@gondolin>
2008-12-11 16:16                           ` Mark McLoughlin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081211134922.71d6d811@gondolin \
    --to=cornelia.huck@de.ibm.com \
    --cc=aliguori@us.ibm.com \
    --cc=borntraeger@de.ibm.com \
    --cc=gregkh@suse.de \
    --cc=kay.sievers@vrfy.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=markmc@redhat.com \
    --cc=virtualization@lists.linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).