All of lore.kernel.org
 help / color / mirror / Atom feed
From: Igor Mammedov <imammedo@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: lma@suse.com, qemu-devel@nongnu.org, afaerber@suse.de,
	lcapitulino@redhat.com
Subject: Re: [Qemu-devel] [PATCH] fix assertion in "info memory-devices" if memdev isn't accessible
Date: Fri, 27 Mar 2015 15:18:59 +0100	[thread overview]
Message-ID: <20150327151859.06843dc0@nial.brq.redhat.com> (raw)
In-Reply-To: <55146D0F.6040309@redhat.com>

On Thu, 26 Mar 2015 21:33:19 +0100
Paolo Bonzini <pbonzini@redhat.com> wrote:

> 
> 
> On 26/03/2015 17:42, Igor Mammedov wrote:
> > +            mdevid = object_property_get_str(OBJECT(dimm->hostmem), "id",
> > +                                             &error_abort);
> > +            mdevpath = g_strdup_printf("/objects/%s", mdevid);
> > +            g_free(mdevid);
> > +            mdev = object_resolve_path_type(mdevpath, TYPE_MEMORY_BACKEND,
> > +                                            NULL);
> 
> You can add a backend with id xyz, remove it, and add another with the
> same id, right?
> 
> I think the can_be_deleted solution is better and not more invasive,
> even for 2.3.
yep, it's better.

> 
> Paolo

  reply	other threads:[~2015-03-27 14:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-26 16:42 [Qemu-devel] [PATCH] fix assertion in "info memory-devices" if memdev isn't accessible Igor Mammedov
2015-03-26 19:59 ` Luiz Capitulino
2015-03-26 20:26   ` Luiz Capitulino
2015-03-27 14:20     ` Igor Mammedov
2015-03-26 20:33 ` Paolo Bonzini
2015-03-27 14:18   ` Igor Mammedov [this message]
2015-03-27 14:24   ` Igor Mammedov

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=20150327151859.06843dc0@nial.brq.redhat.com \
    --to=imammedo@redhat.com \
    --cc=afaerber@suse.de \
    --cc=lcapitulino@redhat.com \
    --cc=lma@suse.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.