All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrange" <berrange@redhat.com>
To: Pat Campbell <plc@novell.com>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: QEMU PV guests and xenstore_parse_domain_config()
Date: Tue, 8 Jan 2008 20:31:02 +0000	[thread overview]
Message-ID: <20080108203102.GO21294@redhat.com> (raw)
In-Reply-To: <47837806.3E48.0018.0@novell.com>

On Tue, Jan 08, 2008 at 01:19:34PM -0700, Pat Campbell wrote:
> 
> New 3.2 QEMU PV guests are calling xenstore-parse_domain_config() opening 
> block devices and setting watches that might not be necessary.
> 
> Seems like each machine type should have it's own specific xenstore parse
> routine if it needs one.  
> 
> I have attached a patch that adds a xenstore parse pointer into the QEMUMachine 
> struct.  main()  will call that machine specific function if set otherwise calls 
> generic xenstore-parse_domain_config.  Attached patch is just something as a 
> starting point for discussion not something I propose be applied.

Since the xenstore_parse_domain_config method is doing stuff specific to
HVM guests, it shoudl really be moved out of vl.c and into the init method
for xenfv_machine.  vl.c should only contain generic code - this must be
something I missed when tidying up this code for the initial PV QEMU
support.

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

  reply	other threads:[~2008-01-08 20:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-08 20:19 QEMU PV guests and xenstore_parse_domain_config() Pat Campbell
2008-01-08 20:31 ` Daniel P. Berrange [this message]
     [not found]   ` <47846CF5.3E48.0018.0@novell.com>
2008-01-09 14:45     ` Daniel P. Berrange

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=20080108203102.GO21294@redhat.com \
    --to=berrange@redhat.com \
    --cc=plc@novell.com \
    --cc=xen-devel@lists.xensource.com \
    /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.