All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Williamson <alex.williamson@hp.com>
To: ncmike@us.ibm.com
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: xsm: Consolidate xsm processing within domain control hypercall.
Date: Tue, 04 Dec 2007 14:52:49 -0700	[thread overview]
Message-ID: <1196805169.19310.59.camel@lappy> (raw)
In-Reply-To: <20071204213640.GA23369@silverwood.ncultra.org>


On Tue, 2007-12-04 at 16:36 -0500, Mike D. Day wrote:
> On 04/12/07 13:44 -0700, Alex Williamson wrote:
> > 
> > On Tue, 2007-12-04 at 13:06 -0700, Alex Williamson wrote:
> > > Does this work right across a PV domain save/restore on x86?  On ia64
> > > I end up with "Domain-Unnamed" after I save a PV domain and another
> > > after I restore it, then do a shutdown.  Reverting this patch restores
> > > correct behavior.  Thanks,
> > 
> >    This also doesn't look like it builds with XSM_ENABLE=y
> >  Alex -- Alex Williamson HP Open Source & Linux Org.
> 
> It builds, if you like I'll send you a build log.

   Hmm, I'm not sure how.  Fails for me as shown below (x86_64).  Does
x86 have the save/restore issue I mentioned?  Thanks,

	Alex

cset 16519:62451388f630
$ make XSM_ENABLE=y FLASK_ENABLE=y xen
...
gcc -O2 -fomit-frame-pointer -m64 -DNDEBUG -fno-strict-aliasing
-std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value
-Wdeclaration-after-statement -DVMXASSIST -nostdinc -fno-builtin
-fno-common -iwithprefix include -Werror -Wno-pointer-arith -pipe
-I/tmp/test/xen/include -I/tmp/test/xen/include/asm-x86/mach-generic
-I/tmp/test/xen/include/asm-x86/mach-default -msoft-float
-fno-stack-protector -mno-red-zone -fpic -fno-reorder-blocks
-fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -g
-D__XEN__ -DXSM_ENABLE -DFLASK_ENABLE -DXSM_MAGIC=0xf97cff8c
-DFLASK_DEVELOP -DFLASK_BOOTPARAM -DFLASK_AVC_STATS -c domctl.c -o
domctl.o
In file included from domctl.c:27:
/tmp/test/xen/include/xsm/xsm.h: In function ‘xsm_getdomaininfo’:
/tmp/test/xen/include/xsm/xsm.h:148: error: ‘struct xsm_operations’ has
no member named ‘domain_getdomaininfo’
make[4]: *** [domctl.o] Error 1
make[4]: Leaving directory `/tmp/test/xen/common'
make[3]: *** [/tmp/test/xen/common/built_in.o] Error 2
make[3]: Leaving directory `/tmp/test/xen/arch/x86'
make[2]: *** [/tmp/test/xen/xen] Error 2
make[2]: Leaving directory `/tmp/test/xen'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/tmp/test/xen'
make: *** [install-xen] Error 2

-- 
Alex Williamson                             HP Open Source & Linux Org.

  reply	other threads:[~2007-12-04 21:52 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200712041026.lB4AQPM6004133@latara.uk.xensource.com>
2007-12-04 20:06 ` [Xen-staging] [xen-unstable] xsm: Consolidate xsm processing within domain control hypercall Alex Williamson
2007-12-04 20:44   ` Alex Williamson
2007-12-04 21:20     ` George S. Coker, II
2007-12-04 21:46       ` Mike D. Day
2007-12-04 21:54         ` George S. Coker, II
2007-12-04 21:59           ` Mike D. Day
2007-12-04 23:26             ` George S. Coker, II
2007-12-04 23:22         ` George S. Coker, II
2007-12-04 21:36     ` Mike D. Day
2007-12-04 21:52       ` Alex Williamson [this message]
2007-12-04 21:58         ` George S. Coker, II
2007-12-04 22:26           ` Mike D. Day
2007-12-04 21:49   ` Mike D. Day
2007-12-04 22:05     ` Alex Williamson
2007-12-04 22:23       ` George S. Coker, II
2007-12-05  0:19       ` Alex Williamson
2007-12-04 22:44   ` Mike D. Day
2007-12-04 23:27     ` George S. Coker, II

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=1196805169.19310.59.camel@lappy \
    --to=alex.williamson@hp.com \
    --cc=ncmike@us.ibm.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.