Bug#574073: kvm: No useful error message when hugepages are not available

2010-03-17 Thread Michael Tokarev
Russell Coker wrote: On Tue, 16 Mar 2010, Michael Tokarev m...@tls.msk.ru wrote: Or kvm could use syslog or some other mechanism for logging such things. Where the error message will not be noticed either. With current form it at least has a chance to be noticed after the guest exits.

Bug#574073: kvm: No useful error message when hugepages are not available

2010-03-17 Thread Russell Coker
On Thu, 18 Mar 2010, Michael Tokarev m...@tls.msk.ru wrote: I see 3 issues here: 1) bad error message _text_. It's fixed (only partially, -- I've looked at the thing again and see more cases where it'll throw as useful error messages as this one -- I'll add/send more patches for

Bug#574073: kvm: No useful error message when hugepages are not available

2010-03-16 Thread Michael Tokarev
Russell Coker wrote: Package: kvm Version: 72+dfsg-5~lenny5 Severity: normal When the path specified by -mem-path isn't writable the error message mkstemp: Permission denied is displayed on stderr - which means that it can't be seen until after the kvm session is ended when using the

Bug#574073: kvm: No useful error message when hugepages are not available

2010-03-16 Thread Russell Coker
On Tue, 16 Mar 2010, Michael Tokarev m...@tls.msk.ru wrote: When the path specified by -mem-path isn't writable the error message mkstemp: Permission denied is displayed on stderr - which means that it can't be seen until after the kvm session is ended when using the -curses option.

Bug#574073: kvm: No useful error message when hugepages are not available

2010-03-16 Thread Michael Tokarev
Russell Coker wrote: On Tue, 16 Mar 2010, Michael Tokarev m...@tls.msk.ru wrote: When the path specified by -mem-path isn't writable the error message mkstemp: Permission denied is displayed on stderr - which means that it can't be seen until after the kvm session is ended when using the

Bug#574073: kvm: No useful error message when hugepages are not available

2010-03-16 Thread Russell Coker
On Tue, 16 Mar 2010, Michael Tokarev m...@tls.msk.ru wrote: Or kvm could use syslog or some other mechanism for logging such things. Where the error message will not be noticed either. With current form it at least has a chance to be noticed after the guest exits. There is no requirement

Bug#574073: kvm: No useful error message when hugepages are not available

2010-03-15 Thread Russell Coker
Package: kvm Version: 72+dfsg-5~lenny5 Severity: normal When the path specified by -mem-path isn't writable the error message mkstemp: Permission denied is displayed on stderr - which means that it can't be seen until after the kvm session is ended when using the -curses option. Also the error