All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Dan Magenheimer" <dan.magenheimer@oracle.com>
To: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: sysfs on hvm guests?
Date: Tue, 19 Feb 2008 21:48:27 -0700	[thread overview]
Message-ID: <20080219214827031.00000002392@djm-pc> (raw)

[-- Attachment #1: Type: text/plain, Size: 972 bytes --]

Is sysfs expected to work fully in an hvm guest?

In RHEL5 (2.6.18-based) kernels, the following works native

/sys/devices/system/clocksource/clocksource0/...
  available_clocksource lists the possible clock sources
  current_clocksource lists the chosen clock source,
    and can be changed on the fly

but don't work for me from within an RHEL5 HVM guest.

All reads yield only "jiffies" (which I believe is the
default setting) even though there are other clock
sources available and set, and echo'ing to the
current_clocksource doesn't seem to change it.

Should I expect that it would work?  If so, does it work
on your system?  Perhaps it is something peculiar to
my environment?

Thanks,
Dan

===================================
If Xen could save time in a bottle / then clocks wouldn't virtually skew /
It would save every tick / for VMs that aren't quick /
and Xen then would send them anew
(with apologies to the late great Jim Croce)

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

             reply	other threads:[~2008-02-20  4:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-20  4:48 Dan Magenheimer [this message]
2008-02-20 15:06 ` sysfs on hvm guests? Dan Magenheimer
2008-02-20 15:36   ` Dan Magenheimer
2008-02-20 20:28     ` Dan Magenheimer

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=20080219214827031.00000002392@djm-pc \
    --to=dan.magenheimer@oracle.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.