diff options
author | Keir Fraser <keir@xensource.com> | 2007-10-29 12:56:27 +0000 |
---|---|---|
committer | Keir Fraser <keir@xensource.com> | 2007-10-29 12:56:27 +0000 |
commit | ee41f1c835dd41a418b1afcd7394bcb4a16da6e1 (patch) | |
tree | becc5036a90ffd606e01443f552866a872d857d1 /xen/common/sysctl.c | |
parent | 70ee40b004c7a05092c1085772201754941a8543 (diff) | |
download | xen-ee41f1c835dd41a418b1afcd7394bcb4a16da6e1.tar.gz xen-ee41f1c835dd41a418b1afcd7394bcb4a16da6e1.tar.bz2 xen-ee41f1c835dd41a418b1afcd7394bcb4a16da6e1.zip |
Allow incremental access to hypervisor console log.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/common/sysctl.c')
-rw-r--r-- | xen/common/sysctl.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/xen/common/sysctl.c b/xen/common/sysctl.c index cde2ca8b36..1b9c6a58a8 100644 --- a/xen/common/sysctl.c +++ b/xen/common/sysctl.c @@ -53,10 +53,7 @@ long do_sysctl(XEN_GUEST_HANDLE(xen_sysctl_t) u_sysctl) if ( ret ) break; - ret = read_console_ring( - guest_handle_cast(op->u.readconsole.buffer, char), - &op->u.readconsole.count, - op->u.readconsole.clear); + ret = read_console_ring(&op->u.readconsole); if ( copy_to_guest(u_sysctl, op, 1) ) ret = -EFAULT; } |