* Balloon driver tests
@ 2005-06-16 21:22 Paul Larson
2005-06-16 22:34 ` Kip Macy
0 siblings, 1 reply; 2+ messages in thread
From: Paul Larson @ 2005-06-16 21:22 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1: Type: text/plain, Size: 1121 bytes --]
Here's a small set of tests I've written for the balloon driver. I'm
sure there's more that could be tested, but it's a start. Can/should
these go in the tests directory?
Here's a brief description of each and a tarball since it would be
cumbersome to send them all inline:
balloon01: Test read from /proc/xen/balloon
balloon02: Echo a number higher than current requested allocation to
/proc/xen/balloon, cat balloon and see that requested target changed.
balloon03: Echo a number lower than current requested allocation to
/proc/xen/balloon, cat balloon and see that requested target changed.
balloon04: Allocate some memory for the domain, then use
/proc/xen/balloon to reduce available memory to less than what is allocated
balloon05: Try to give /proc/xen/balloon a value larger than the
available RAM in the system.
balloon06: Try to give /proc/xen/balloon a value way too low, such as 4k
balloon07: Open /proc/xen/balloon as non-root user, expect -EACCES
balloon08: Write 1 byte to /proc/xen/balloon, expect -EBADMSG
balloon09: Write >64 bytes to /proc/xen/balloon, expect -EFBIG
Thanks,
Paul Larson
[-- Attachment #2: balloon.tgz --]
[-- Type: application/x-compressed, Size: 3271 bytes --]
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Balloon driver tests
2005-06-16 21:22 Balloon driver tests Paul Larson
@ 2005-06-16 22:34 ` Kip Macy
0 siblings, 0 replies; 2+ messages in thread
From: Kip Macy @ 2005-06-16 22:34 UTC (permalink / raw)
To: Paul Larson; +Cc: xen-devel
> sure there's more that could be tested, but it's a start. Can/should
> these go in the tests directory?
>
PLEASE.
> Here's a brief description of each and a tarball since it would be
> cumbersome to send them all inline:
>
> balloon01: Test read from /proc/xen/balloon
> balloon02: Echo a number higher than current requested allocation to
> /proc/xen/balloon, cat balloon and see that requested target changed.
> balloon03: Echo a number lower than current requested allocation to
> /proc/xen/balloon, cat balloon and see that requested target changed.
> balloon04: Allocate some memory for the domain, then use
> /proc/xen/balloon to reduce available memory to less than what is allocated
> balloon05: Try to give /proc/xen/balloon a value larger than the
> available RAM in the system.
> balloon06: Try to give /proc/xen/balloon a value way too low, such as 4k
> balloon07: Open /proc/xen/balloon as non-root user, expect -EACCES
> balloon08: Write 1 byte to /proc/xen/balloon, expect -EBADMSG
> balloon09: Write >64 bytes to /proc/xen/balloon, expect -EFBIG
>
> Thanks,
> Paul Larson
>
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
>
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-06-16 22:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-16 21:22 Balloon driver tests Paul Larson
2005-06-16 22:34 ` Kip Macy
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.