Skip to contentSkip to conversation

Build breakage in vtpm (missing dependency on libgpm)

DISCUSSION Anthony Liguori 3 participants 4 messages Sep 1, 2005

lore
Share & tools
lore
#0 lore raw

Howdy,

The recent vtpm checkin has broken the build for me since it introduces a dependency on libgpm.

I'd prefer that we only build vtpm if libgpm is present. In the very least, we should add a check for it if we always want to build it.

Thoughts?

Regards,

Anthony Liguori

#1 lore raw
Quoted 5 lines

Howdy,

The recent vtpm checkin has broken the build for me since it introduces a dependency on libgpm.

Ah - didn't spot that since I had it installed on all my machines.

Quoted 3 lines

I'd prefer that we only build vtpm if libgpm is present. In the very least, we should add a check for it if we always want to build it.

Certainly - can you knock up a patch?

[note - the vtpm stuff needs more testing, particularly with save/restore; if someone is running w/out netgrants it'd be good if they could confirm it doesn't break save/restore for them]

cheers,

S.

#2 lore raw

[email protected] wrote on 08/31/2005 11:51:08 PM:

Quoted 9 lines
Quoted 6 lines

Howdy,

The recent vtpm checkin has broken the build for me since it introduces

a dependency on libgpm.

Ah - didn't spot that since I had it installed on all my machines.

Quoted 7 lines
Quoted 3 lines

I'd prefer that we only build vtpm if libgpm is present. In the very least, we should add a check for it if we always want to build it.

Certainly - can you knock up a patch?

[note - the vtpm stuff needs more testing, particularly with

save/restore;

Quoted 2 lines

if someone is running w/out netgrants it'd be good if they could confirm it doesn't break save/restore for them]

There's one problem that I know of. There cannot be any outstanding request in the backend, but all repsonses have to be collected. I have tried to use a time in the frontend's .suspend function, but that did not work. The reason I believe is the __cli() call in the reboot.c before xenbus_suspend() which prevents functions like wait_event(), interruptible_sleep_on_timeout() and related ones to work properly. Can this function be moved to a later point?

Stefan

Quoted 9 lines

cheers,

S.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw
In reply to Steven Hand
Quoted 8 lines · Steven Hand
Quoted 4 lines

I'd prefer that we only build vtpm if libgpm is present. In the very least, we should add a check for it if we always want to build it.

Certainly - can you knock up a patch?

Looks like Keir beat me to it (I swear he's a machine :-)).

Quoted 4 lines

[note - the vtpm stuff needs more testing, particularly with save/restore; if someone is running w/out netgrants it'd be good if they could confirm it doesn't break save/restore for them]

Dan Smith has been working on a regression suite for xm. It might make sense to look into adding some TPM tests to it.

Regards,

Anthony Liguori

Quoted 6 lines

cheers,

S.