[Bug 1564853] [NEW] xendomains fails to suspend VMs not running

2016-04-01 Thread Philipp Hahn
Public bug reported: `/etc/init.d/xendomains stop` fails on xen-4.1.6.1 as it tries to parse the output of "xm list", which has a varying number of columns for running and already shut down VMs: For managed inactive domains `xm list` does not output a domain-ID and a state. | # xm list | Name

[Bug 1515145] Re: xm migrate --live panics hypervisor

2016-04-01 Thread Philipp Hahn
Backport 3b0bcb8 x86/mm/p2m: Move p2m code in HVMOP_[gs]et_mem_access into p2m.c needs f488040222f34df97deb2470f14cef7fb9599810 to fix the build on i386. f488040 Fix 32-bit build after p2m series 3b0bcb8 x86/mm/p2m: Move p2m code in HVMOP_[gs]et_mem_access into p2m.c ** Patch added: "Backport 3b0

[Bug 1564797] [NEW] Changing media fails

2016-04-01 Thread Philipp Hahn
Public bug reported: With xen-4.1.6.1 changing the CD-ROM media fails as xend mixes passing arguments as "int" and "str". Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/xen/web/SrvBase.py", line 85, in perform return op_method(op, req) File "/usr/lib/python2.5/

[Bug 1564790] [NEW] blktap2 fails to terminate with filenames containing blanks

2016-04-01 Thread Philipp Hahn
Public bug reported: Shutting down a domU with xen-4.1.6.1 doesn't terminate the corresponding blktap2 process, since one (other) VM uses a image file, which contains spaces in its file name. /var/log/xen/xend-debug.log has the following information: Unhandled exception in thread started by Tra

[Bug 1564792] [NEW] Somtimes 1st domU fails to start due to hotplug race

2016-04-01 Thread Philipp Hahn
Public bug reported: Sometimes qemu/the kernel takes too long for the first domain to start with xen-4.1.6.1. The hotplug script then finds the device still in state 1=Initialising and aborts. Add an artifical delay of 1 seconds and try again. ** Affects: xen (Ubuntu) Importance: Undecided

[Bug 1564785] [NEW] hw/dma: Print error message only once

2016-04-01 Thread Philipp Hahn
Public bug reported: Some Windows VMs triggers qemu-dm to print a log message multiple times and fills up the log-file with 50 MiB / minute. It's enough to print the message only once. The patch was sent upstream but I never got feedback:

[Bug 1564782] [NEW] Fix hex decoding in sxp.Parser

2016-04-01 Thread Philipp Hahn
Public bug reported: If a managed domain is creates with a name/description containing non-ASCII-characters, `xm list` fails in xen-4.1.6.1 This is caused by "xend" implementing its own broken hex-decoder. The patch was sent upstream but rejected as xen-4.1 (and Python-xend) being EOL:

[Bug 1564777] [NEW] xenstore memory corruption

2016-04-01 Thread Philipp Hahn
Public bug reported: The C implementation of xenstored in xen-4.1.6.1 is missing commit de8c3e826499dbf69d01ee935a67b5d67a131496 from xen-4.6: tools/xenstore: Correct use of va_end() after va_copy() This leads to data corruption which only triggers very rarely; we were never able to reproduce

[Bug 1515145] Re: xm migrate --live panics hypervisor

2016-04-01 Thread Philipp Hahn
The first patch does not work! The backport was quiet complicates as that patch is in the middle of 4) eca988d x86/mm: merge the shadow, hap and log-dirty locks into a single paging lock. 3) 5bf494a x86/mm: Make MM locks recursive. 2) 301493f x86/mm: dedup the various copies of the shadow lock fu

[Bug 1515145] Re: xm migrate --live panics hypervisor

2016-04-01 Thread Philipp Hahn
Backport 3b0bcb8 x86/mm/p2m: Move p2m code in HVMOP_[gs]et_mem_access into p2m.c ** Patch added: "Backport 3b0bcb8" https://bugs.launchpad.net/ubuntu/+source/xen/+bug/1515145/+attachment/4619207/+files/0002-x86-mm-p2m-Move-p2m-code-in-HVMOP_-gs-et_mem_access-.patch -- You received this bug n

[Bug 1515145] Re: xm migrate --live panics hypervisor

2016-03-30 Thread Philipp Hahn
debian/patches/xsa97-hap-4.1-prereq.patch is the combination of * commit 301493fb027648db6808b66d1ccf849f524b8422 x86/mm: dedup the various copies of the shadow lock functions * commit eca988de7381e5efe58792dc166611e4523d33b3 x86/mm: merge the shadow, hap and log-dirty locks into a single p

[Bug 1515145] Re: xm migrate --live panics hypervisor

2016-03-30 Thread Philipp Hahn
Reverting the following patches makes the crash go away (4.1.6.1-0ubuntu0.12.04.8): * xsa97-hap-4.1-prereq.patch * xsa97-hap-4.2-prereq.patch * xsa97-hap-4.2.patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to xen in Ubuntu. https://