Re: [Qemu-devel] [PATCH] s390: fix short kernel command lines

2011-10-04 Thread Alexander Graf
On 09/23/2011 03:38 PM, Christian Borntraeger wrote: The default kernel command line for s390 is "root=/dev/ram0 ro" When overriding this line, we have to ensure to also copy the \0 to avoid false lines, for example, -append "root=/dev/vda" will result in "root=/dev/vda0 ro" with the current cod

[Qemu-devel] [PATCH] s390: fix short kernel command lines

2011-09-23 Thread Christian Borntraeger
The default kernel command line for s390 is "root=/dev/ram0 ro" When overriding this line, we have to ensure to also copy the \0 to avoid false lines, for example, -append "root=/dev/vda" will result in "root=/dev/vda0 ro" with the current code. Signed-off-by: Christian Borntraeger --- hw/s