|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] pyGrub: Implement error handling on kernel/initrd ex
Hi,
this is the patch to implement error handling on kernel/initrd
extraction to pyGrub. There was no error handling before my patch
applied and this patch adds error handling code to kernel/initrd
extraction for write code. When dom0 is running out of space the
standard OSError is being printed to stderr and then pygrub exists when
an error on writing those files occured.
This was tested on RHEL-5 dom0 with upstream Xen-4.1 unstable installed
with RHEL-5 i386 PV guest for both cases when dom0 had enough space and
when it didn't. For the case where there were not enough space on dom0
it returned the error "pyGrub: [Errno 28] No space left on device" and
then failed with "Boot loader didn't return any data" message. For dom0
with enough space the PV guest was started successfully.
Since we agreed that introduction of dom0-min-space is not the right way
to go, it's superseeded by this patch.
Michal
Signed-off-by: Michal Novotny <minovotn@xxxxxxxxxx>
--
Michal Novotny<minovotn@xxxxxxxxxx>, RHCE
Virtualization Team (xen userspace), Red Hat
xen-unstable-pygrub-fix-error-handling.patch
Description: Text Data
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH] pyGrub: Implement error handling on kernel/initrd extraction,
Michal Novotny <=
|
|
|
|
|