* [Qemu-devel] [Bug 543478] Re: qemus pmemsave doesn't accept "/" in filename
[not found] <20100321151438.9877.81956.malonedeb@palladium.canonical.com>
@ 2010-06-23 21:35 ` Serge Hallyn
2010-06-23 21:51 ` Anthony Liguori
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Serge Hallyn @ 2010-06-23 21:35 UTC (permalink / raw)
To: qemu-devel
Note that putting quotes around the filename lets you use '/'. I.e.
pmemsave 0x200 0x200 "/tmp/abab"
I assume this is a shortcoming in the parser, as the source code at first glance
claims to simply read a string. So I'm not sure how easily fixable it would be,
but it appears to be something for upstream to consider (whether to fix needing
to quote a filename, or add more precise help on error).
** Also affects: qemu
Importance: Undecided
Status: New
--
qemus pmemsave doesn't accept "/" in filename
https://bugs.launchpad.net/bugs/543478
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
Status in QEMU: New
Status in “qemu-kvm” package in Ubuntu: New
Bug description:
Binary package hint: qemu-kvm
Please see my conversation with qemu:
(qemu) pmemsave
unexpected end of expression
(qemu) help pmemsave
pmemsave addr size file -- save to disk physical memory dump starting at 'addr' of size 'size'
(qemu) pmemsave 0 512M /tmp/qemu.mem
pmemsave: extraneous characters at the end of line
(qemu) pmemsave 0 512 /tmp/qemu.mem
invalid char in expression
(qemu) pmemsave 0 512 /tmp/qemu
invalid char in expression
(qemu) pmemsave 0 512 qemu.mem
(qemu) pmemsave 0 512M qemu.mem
pmemsave: extraneous characters at the end of line
Let me comment on each one of those:
(qemu) pmemsave
unexpected end of expression
I expected some sort of hint as to where to get more information. Maybe just a "Type ``help pmemsave'' to get syntax information" would be sufficient.
(qemu) help pmemsave
pmemsave addr size file -- save to disk physical memory dump starting at 'addr' of size 'size'
Nice. But an example would be nice. My proposal: "I.e.: pmemsave 0 1G /tmp/qemu.mem"
(qemu) pmemsave 0 512M /tmp/qemu.mem
pmemsave: extraneous characters at the end of line
eh. Would be nice if it told me *which* character was "extraneous" and what "extraneous" means. My proposal: "Couldn't parse character at position 23, please see help pmemsave for an example".
(qemu) pmemsave 0 512 /tmp/qemu.mem
invalid char in expression
Hm. Interesting. Again, would be nice if it printed me the offending character. My proposal: "Could not parse character at position 23, please see help pmemsave for an example".
(qemu) pmemsave 0 512 /tmp/qemu
invalid char in expression
Now I got rid of almost everything but it still doesn't work.
(qemu) pmemsave 0 512 qemu.mem
aha! No slashes?! Seriously?
(qemu) pmemsave 0 512M qemu.mem
pmemsave: extraneous characters at the end of line
And no "M" or "G" modifiers? If I want to dump 2GB then I'd have to calculate the number in bytes and paste that long string. I expected qemu to be able to parse the K, M, G suffixes.
Also, I'm wondering why it doesn't offer to dump all memory.
ProblemType: Bug
Architecture: amd64
CurrentDmesg:
[150870.676062] kvm_intel: Unknown symbol kvm_vcpu_on_spin
[150947.222923] cron[24260]: segfault at 0 ip (null) sp 00007fffe865eed8 error 14 in cron[400000+9000]
[150947.224187] cron[24261]: segfault at 0 ip (null) sp 00007fffe865eed8 error 14 in cron[400000+9000]
Date: Sun Mar 21 15:03:13 2010
DistroRelease: Ubuntu 9.10
KvmCmdLine:
UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
muelli 23807 23806 13 239738 228464 0 14:54 pts/8 00:01:22 /usr/bin/kvm -S -M pc -m 512 -smp 1 -name vanilla_ubuntu -monitor stdio -boot c -drive file=/home/muelli/qemu/ubuntu8.10/ubuntu.img,if=ide,index=0,boot=on -drive file=,if=ide,media=cdrom,index=2 -net nic,model=rtl8139,macaddr=f0:00:BA:12:34:56 -net user,hostfwd=tcp::2223-:22,smb=/tmp/share -serial pty -snapshot
MachineType: LENOVO 766636G
Package: kvm 1:84+dfsg-0ubuntu16+0.11.0+0ubuntu6.3
PccardctlIdent:
Socket 0:
no product info available
PccardctlStatus:
Socket 0:
no card
ProcCmdLine: root=/dev/mapper/cryptroot source=UUID=9c3d5596-27c6-4fd5-bfcd-fa8eef6f1230 ro vdso32=0 quiet splash crashkernel=384M-2G:64M,2G-:128M
ProcVersionSignature: Ubuntu 2.6.32-16.24-generic
SourcePackage: qemu-kvm
Uname: Linux 2.6.32-16-generic x86_64
dmi.bios.date: 03/12/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 7NETC0WW (2.20 )
dmi.board.name: 766636G
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7NETC0WW(2.20):bd03/12/2009:svnLENOVO:pn766636G:pvrThinkPadX61:rvnLENOVO:rn766636G:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 766636G
dmi.product.version: ThinkPad X61
dmi.sys.vendor: LENOVO
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Qemu-devel] [Bug 543478] Re: qemus pmemsave doesn't accept "/" in filename
[not found] <20100321151438.9877.81956.malonedeb@palladium.canonical.com>
2010-06-23 21:35 ` [Qemu-devel] [Bug 543478] Re: qemus pmemsave doesn't accept "/" in filename Serge Hallyn
@ 2010-06-23 21:51 ` Anthony Liguori
2010-06-24 1:10 ` Serge E. Hallyn
2010-06-24 1:09 ` Serge Hallyn
` (7 subsequent siblings)
9 siblings, 1 reply; 11+ messages in thread
From: Anthony Liguori @ 2010-06-23 21:51 UTC (permalink / raw)
To: qemu-devel
The '/' character is used to create special expressions if double quotes
aren't used.
** Changed in: qemu
Status: New => Invalid
--
qemus pmemsave doesn't accept "/" in filename
https://bugs.launchpad.net/bugs/543478
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
Status in QEMU: Invalid
Status in “qemu-kvm” package in Ubuntu: New
Bug description:
Binary package hint: qemu-kvm
Please see my conversation with qemu:
(qemu) pmemsave
unexpected end of expression
(qemu) help pmemsave
pmemsave addr size file -- save to disk physical memory dump starting at 'addr' of size 'size'
(qemu) pmemsave 0 512M /tmp/qemu.mem
pmemsave: extraneous characters at the end of line
(qemu) pmemsave 0 512 /tmp/qemu.mem
invalid char in expression
(qemu) pmemsave 0 512 /tmp/qemu
invalid char in expression
(qemu) pmemsave 0 512 qemu.mem
(qemu) pmemsave 0 512M qemu.mem
pmemsave: extraneous characters at the end of line
Let me comment on each one of those:
(qemu) pmemsave
unexpected end of expression
I expected some sort of hint as to where to get more information. Maybe just a "Type ``help pmemsave'' to get syntax information" would be sufficient.
(qemu) help pmemsave
pmemsave addr size file -- save to disk physical memory dump starting at 'addr' of size 'size'
Nice. But an example would be nice. My proposal: "I.e.: pmemsave 0 1G /tmp/qemu.mem"
(qemu) pmemsave 0 512M /tmp/qemu.mem
pmemsave: extraneous characters at the end of line
eh. Would be nice if it told me *which* character was "extraneous" and what "extraneous" means. My proposal: "Couldn't parse character at position 23, please see help pmemsave for an example".
(qemu) pmemsave 0 512 /tmp/qemu.mem
invalid char in expression
Hm. Interesting. Again, would be nice if it printed me the offending character. My proposal: "Could not parse character at position 23, please see help pmemsave for an example".
(qemu) pmemsave 0 512 /tmp/qemu
invalid char in expression
Now I got rid of almost everything but it still doesn't work.
(qemu) pmemsave 0 512 qemu.mem
aha! No slashes?! Seriously?
(qemu) pmemsave 0 512M qemu.mem
pmemsave: extraneous characters at the end of line
And no "M" or "G" modifiers? If I want to dump 2GB then I'd have to calculate the number in bytes and paste that long string. I expected qemu to be able to parse the K, M, G suffixes.
Also, I'm wondering why it doesn't offer to dump all memory.
ProblemType: Bug
Architecture: amd64
CurrentDmesg:
[150870.676062] kvm_intel: Unknown symbol kvm_vcpu_on_spin
[150947.222923] cron[24260]: segfault at 0 ip (null) sp 00007fffe865eed8 error 14 in cron[400000+9000]
[150947.224187] cron[24261]: segfault at 0 ip (null) sp 00007fffe865eed8 error 14 in cron[400000+9000]
Date: Sun Mar 21 15:03:13 2010
DistroRelease: Ubuntu 9.10
KvmCmdLine:
UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
muelli 23807 23806 13 239738 228464 0 14:54 pts/8 00:01:22 /usr/bin/kvm -S -M pc -m 512 -smp 1 -name vanilla_ubuntu -monitor stdio -boot c -drive file=/home/muelli/qemu/ubuntu8.10/ubuntu.img,if=ide,index=0,boot=on -drive file=,if=ide,media=cdrom,index=2 -net nic,model=rtl8139,macaddr=f0:00:BA:12:34:56 -net user,hostfwd=tcp::2223-:22,smb=/tmp/share -serial pty -snapshot
MachineType: LENOVO 766636G
Package: kvm 1:84+dfsg-0ubuntu16+0.11.0+0ubuntu6.3
PccardctlIdent:
Socket 0:
no product info available
PccardctlStatus:
Socket 0:
no card
ProcCmdLine: root=/dev/mapper/cryptroot source=UUID=9c3d5596-27c6-4fd5-bfcd-fa8eef6f1230 ro vdso32=0 quiet splash crashkernel=384M-2G:64M,2G-:128M
ProcVersionSignature: Ubuntu 2.6.32-16.24-generic
SourcePackage: qemu-kvm
Uname: Linux 2.6.32-16-generic x86_64
dmi.bios.date: 03/12/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 7NETC0WW (2.20 )
dmi.board.name: 766636G
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7NETC0WW(2.20):bd03/12/2009:svnLENOVO:pn766636G:pvrThinkPadX61:rvnLENOVO:rn766636G:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 766636G
dmi.product.version: ThinkPad X61
dmi.sys.vendor: LENOVO
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Qemu-devel] [Bug 543478] Re: qemus pmemsave doesn't accept "/" in filename
[not found] <20100321151438.9877.81956.malonedeb@palladium.canonical.com>
2010-06-23 21:35 ` [Qemu-devel] [Bug 543478] Re: qemus pmemsave doesn't accept "/" in filename Serge Hallyn
2010-06-23 21:51 ` Anthony Liguori
@ 2010-06-24 1:09 ` Serge Hallyn
2010-06-24 8:19 ` Muelli
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Serge Hallyn @ 2010-06-24 1:09 UTC (permalink / raw)
To: qemu-devel
** Changed in: qemu-kvm (Ubuntu)
Status: New => Invalid
--
qemus pmemsave doesn't accept "/" in filename
https://bugs.launchpad.net/bugs/543478
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
Status in QEMU: Invalid
Status in “qemu-kvm” package in Ubuntu: Invalid
Bug description:
Binary package hint: qemu-kvm
Please see my conversation with qemu:
(qemu) pmemsave
unexpected end of expression
(qemu) help pmemsave
pmemsave addr size file -- save to disk physical memory dump starting at 'addr' of size 'size'
(qemu) pmemsave 0 512M /tmp/qemu.mem
pmemsave: extraneous characters at the end of line
(qemu) pmemsave 0 512 /tmp/qemu.mem
invalid char in expression
(qemu) pmemsave 0 512 /tmp/qemu
invalid char in expression
(qemu) pmemsave 0 512 qemu.mem
(qemu) pmemsave 0 512M qemu.mem
pmemsave: extraneous characters at the end of line
Let me comment on each one of those:
(qemu) pmemsave
unexpected end of expression
I expected some sort of hint as to where to get more information. Maybe just a "Type ``help pmemsave'' to get syntax information" would be sufficient.
(qemu) help pmemsave
pmemsave addr size file -- save to disk physical memory dump starting at 'addr' of size 'size'
Nice. But an example would be nice. My proposal: "I.e.: pmemsave 0 1G /tmp/qemu.mem"
(qemu) pmemsave 0 512M /tmp/qemu.mem
pmemsave: extraneous characters at the end of line
eh. Would be nice if it told me *which* character was "extraneous" and what "extraneous" means. My proposal: "Couldn't parse character at position 23, please see help pmemsave for an example".
(qemu) pmemsave 0 512 /tmp/qemu.mem
invalid char in expression
Hm. Interesting. Again, would be nice if it printed me the offending character. My proposal: "Could not parse character at position 23, please see help pmemsave for an example".
(qemu) pmemsave 0 512 /tmp/qemu
invalid char in expression
Now I got rid of almost everything but it still doesn't work.
(qemu) pmemsave 0 512 qemu.mem
aha! No slashes?! Seriously?
(qemu) pmemsave 0 512M qemu.mem
pmemsave: extraneous characters at the end of line
And no "M" or "G" modifiers? If I want to dump 2GB then I'd have to calculate the number in bytes and paste that long string. I expected qemu to be able to parse the K, M, G suffixes.
Also, I'm wondering why it doesn't offer to dump all memory.
ProblemType: Bug
Architecture: amd64
CurrentDmesg:
[150870.676062] kvm_intel: Unknown symbol kvm_vcpu_on_spin
[150947.222923] cron[24260]: segfault at 0 ip (null) sp 00007fffe865eed8 error 14 in cron[400000+9000]
[150947.224187] cron[24261]: segfault at 0 ip (null) sp 00007fffe865eed8 error 14 in cron[400000+9000]
Date: Sun Mar 21 15:03:13 2010
DistroRelease: Ubuntu 9.10
KvmCmdLine:
UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
muelli 23807 23806 13 239738 228464 0 14:54 pts/8 00:01:22 /usr/bin/kvm -S -M pc -m 512 -smp 1 -name vanilla_ubuntu -monitor stdio -boot c -drive file=/home/muelli/qemu/ubuntu8.10/ubuntu.img,if=ide,index=0,boot=on -drive file=,if=ide,media=cdrom,index=2 -net nic,model=rtl8139,macaddr=f0:00:BA:12:34:56 -net user,hostfwd=tcp::2223-:22,smb=/tmp/share -serial pty -snapshot
MachineType: LENOVO 766636G
Package: kvm 1:84+dfsg-0ubuntu16+0.11.0+0ubuntu6.3
PccardctlIdent:
Socket 0:
no product info available
PccardctlStatus:
Socket 0:
no card
ProcCmdLine: root=/dev/mapper/cryptroot source=UUID=9c3d5596-27c6-4fd5-bfcd-fa8eef6f1230 ro vdso32=0 quiet splash crashkernel=384M-2G:64M,2G-:128M
ProcVersionSignature: Ubuntu 2.6.32-16.24-generic
SourcePackage: qemu-kvm
Uname: Linux 2.6.32-16-generic x86_64
dmi.bios.date: 03/12/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 7NETC0WW (2.20 )
dmi.board.name: 766636G
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7NETC0WW(2.20):bd03/12/2009:svnLENOVO:pn766636G:pvrThinkPadX61:rvnLENOVO:rn766636G:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 766636G
dmi.product.version: ThinkPad X61
dmi.sys.vendor: LENOVO
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [Bug 543478] Re: qemus pmemsave doesn't accept "/" in filename
2010-06-23 21:51 ` Anthony Liguori
@ 2010-06-24 1:10 ` Serge E. Hallyn
0 siblings, 0 replies; 11+ messages in thread
From: Serge E. Hallyn @ 2010-06-24 1:10 UTC (permalink / raw)
To: Bug 543478; +Cc: qemu-devel
Thanks, Anthony. Do I understand correctly that that's the
"case '/'" in monitor_parse_command() for '/10x' gdb-like format?
thanks,
-serge
Quoting Anthony Liguori (anthony@codemonkey.ws):
> The '/' character is used to create special expressions if double quotes
> aren't used.
>
> ** Changed in: qemu
> Status: New => Invalid
>
> --
> qemus pmemsave doesn't accept "/" in filename
> https://bugs.launchpad.net/bugs/543478
> You received this bug notification because you are a member of qemu-
> devel-ml, which is subscribed to QEMU.
>
> Status in QEMU: Invalid
> Status in ???qemu-kvm??? package in Ubuntu: New
>
> Bug description:
> Binary package hint: qemu-kvm
>
> Please see my conversation with qemu:
>
> (qemu) pmemsave
> unexpected end of expression
> (qemu) help pmemsave
> pmemsave addr size file -- save to disk physical memory dump starting at 'addr' of size 'size'
> (qemu) pmemsave 0 512M /tmp/qemu.mem
> pmemsave: extraneous characters at the end of line
> (qemu) pmemsave 0 512 /tmp/qemu.mem
> invalid char in expression
> (qemu) pmemsave 0 512 /tmp/qemu
> invalid char in expression
> (qemu) pmemsave 0 512 qemu.mem
> (qemu) pmemsave 0 512M qemu.mem
> pmemsave: extraneous characters at the end of line
>
>
>
> Let me comment on each one of those:
> (qemu) pmemsave
> unexpected end of expression
>
> I expected some sort of hint as to where to get more information. Maybe just a "Type ``help pmemsave'' to get syntax information" would be sufficient.
>
>
> (qemu) help pmemsave
> pmemsave addr size file -- save to disk physical memory dump starting at 'addr' of size 'size'
>
> Nice. But an example would be nice. My proposal: "I.e.: pmemsave 0 1G /tmp/qemu.mem"
>
>
> (qemu) pmemsave 0 512M /tmp/qemu.mem
> pmemsave: extraneous characters at the end of line
>
> eh. Would be nice if it told me *which* character was "extraneous" and what "extraneous" means. My proposal: "Couldn't parse character at position 23, please see help pmemsave for an example".
>
>
> (qemu) pmemsave 0 512 /tmp/qemu.mem
> invalid char in expression
>
> Hm. Interesting. Again, would be nice if it printed me the offending character. My proposal: "Could not parse character at position 23, please see help pmemsave for an example".
>
>
> (qemu) pmemsave 0 512 /tmp/qemu
> invalid char in expression
>
> Now I got rid of almost everything but it still doesn't work.
>
>
> (qemu) pmemsave 0 512 qemu.mem
>
> aha! No slashes?! Seriously?
>
> (qemu) pmemsave 0 512M qemu.mem
> pmemsave: extraneous characters at the end of line
>
> And no "M" or "G" modifiers? If I want to dump 2GB then I'd have to calculate the number in bytes and paste that long string. I expected qemu to be able to parse the K, M, G suffixes.
>
> Also, I'm wondering why it doesn't offer to dump all memory.
>
> ProblemType: Bug
> Architecture: amd64
> CurrentDmesg:
> [150870.676062] kvm_intel: Unknown symbol kvm_vcpu_on_spin
> [150947.222923] cron[24260]: segfault at 0 ip (null) sp 00007fffe865eed8 error 14 in cron[400000+9000]
> [150947.224187] cron[24261]: segfault at 0 ip (null) sp 00007fffe865eed8 error 14 in cron[400000+9000]
> Date: Sun Mar 21 15:03:13 2010
> DistroRelease: Ubuntu 9.10
> KvmCmdLine:
> UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
> muelli 23807 23806 13 239738 228464 0 14:54 pts/8 00:01:22 /usr/bin/kvm -S -M pc -m 512 -smp 1 -name vanilla_ubuntu -monitor stdio -boot c -drive file=/home/muelli/qemu/ubuntu8.10/ubuntu.img,if=ide,index=0,boot=on -drive file=,if=ide,media=cdrom,index=2 -net nic,model=rtl8139,macaddr=f0:00:BA:12:34:56 -net user,hostfwd=tcp::2223-:22,smb=/tmp/share -serial pty -snapshot
> MachineType: LENOVO 766636G
> Package: kvm 1:84+dfsg-0ubuntu16+0.11.0+0ubuntu6.3
> PccardctlIdent:
> Socket 0:
> no product info available
> PccardctlStatus:
> Socket 0:
> no card
> ProcCmdLine: root=/dev/mapper/cryptroot source=UUID=9c3d5596-27c6-4fd5-bfcd-fa8eef6f1230 ro vdso32=0 quiet splash crashkernel=384M-2G:64M,2G-:128M
> ProcVersionSignature: Ubuntu 2.6.32-16.24-generic
> SourcePackage: qemu-kvm
> Uname: Linux 2.6.32-16-generic x86_64
> dmi.bios.date: 03/12/2009
> dmi.bios.vendor: LENOVO
> dmi.bios.version: 7NETC0WW (2.20 )
> dmi.board.name: 766636G
> dmi.board.vendor: LENOVO
> dmi.board.version: Not Available
> dmi.chassis.asset.tag: No Asset Information
> dmi.chassis.type: 10
> dmi.chassis.vendor: LENOVO
> dmi.chassis.version: Not Available
> dmi.modalias: dmi:bvnLENOVO:bvr7NETC0WW(2.20):bd03/12/2009:svnLENOVO:pn766636G:pvrThinkPadX61:rvnLENOVO:rn766636G:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
> dmi.product.name: 766636G
> dmi.product.version: ThinkPad X61
> dmi.sys.vendor: LENOVO
>
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Qemu-devel] [Bug 543478] Re: qemus pmemsave doesn't accept "/" in filename
[not found] <20100321151438.9877.81956.malonedeb@palladium.canonical.com>
` (2 preceding siblings ...)
2010-06-24 1:09 ` Serge Hallyn
@ 2010-06-24 8:19 ` Muelli
2010-06-24 14:48 ` Serge Hallyn
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Muelli @ 2010-06-24 8:19 UTC (permalink / raw)
To: qemu-devel
Eh. Well. I'm a bit surprised that you won't allow forward slashes if
you try to parse a path. It's actually a quite common character in the
Linux world. Even other Unixes use it for separating components of a
path. And since people use it so much, it should be as easy as possible
to actually give a path to qemu. The excuse that it "is used to create
special expressions" (which, btw?!) doesn't hold. I'm pretty confident
that people use the '/' character to separate components of a path
rather than doing "special expressions". Especially when a path the a
file is expected! So if there are still "special expressions" needed in
a path, it'd be better to select a different character.
Even if you don't agree on that, I really believe the user deserves some
explanation along with the error message that is printed as I've pointed
out in comment #0.
** Changed in: qemu-kvm (Ubuntu)
Status: Invalid => New
--
qemus pmemsave doesn't accept "/" in filename
https://bugs.launchpad.net/bugs/543478
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
Status in QEMU: Invalid
Status in “qemu-kvm” package in Ubuntu: New
Bug description:
Binary package hint: qemu-kvm
Please see my conversation with qemu:
(qemu) pmemsave
unexpected end of expression
(qemu) help pmemsave
pmemsave addr size file -- save to disk physical memory dump starting at 'addr' of size 'size'
(qemu) pmemsave 0 512M /tmp/qemu.mem
pmemsave: extraneous characters at the end of line
(qemu) pmemsave 0 512 /tmp/qemu.mem
invalid char in expression
(qemu) pmemsave 0 512 /tmp/qemu
invalid char in expression
(qemu) pmemsave 0 512 qemu.mem
(qemu) pmemsave 0 512M qemu.mem
pmemsave: extraneous characters at the end of line
Let me comment on each one of those:
(qemu) pmemsave
unexpected end of expression
I expected some sort of hint as to where to get more information. Maybe just a "Type ``help pmemsave'' to get syntax information" would be sufficient.
(qemu) help pmemsave
pmemsave addr size file -- save to disk physical memory dump starting at 'addr' of size 'size'
Nice. But an example would be nice. My proposal: "I.e.: pmemsave 0 1G /tmp/qemu.mem"
(qemu) pmemsave 0 512M /tmp/qemu.mem
pmemsave: extraneous characters at the end of line
eh. Would be nice if it told me *which* character was "extraneous" and what "extraneous" means. My proposal: "Couldn't parse character at position 23, please see help pmemsave for an example".
(qemu) pmemsave 0 512 /tmp/qemu.mem
invalid char in expression
Hm. Interesting. Again, would be nice if it printed me the offending character. My proposal: "Could not parse character at position 23, please see help pmemsave for an example".
(qemu) pmemsave 0 512 /tmp/qemu
invalid char in expression
Now I got rid of almost everything but it still doesn't work.
(qemu) pmemsave 0 512 qemu.mem
aha! No slashes?! Seriously?
(qemu) pmemsave 0 512M qemu.mem
pmemsave: extraneous characters at the end of line
And no "M" or "G" modifiers? If I want to dump 2GB then I'd have to calculate the number in bytes and paste that long string. I expected qemu to be able to parse the K, M, G suffixes.
Also, I'm wondering why it doesn't offer to dump all memory.
ProblemType: Bug
Architecture: amd64
CurrentDmesg:
[150870.676062] kvm_intel: Unknown symbol kvm_vcpu_on_spin
[150947.222923] cron[24260]: segfault at 0 ip (null) sp 00007fffe865eed8 error 14 in cron[400000+9000]
[150947.224187] cron[24261]: segfault at 0 ip (null) sp 00007fffe865eed8 error 14 in cron[400000+9000]
Date: Sun Mar 21 15:03:13 2010
DistroRelease: Ubuntu 9.10
KvmCmdLine:
UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
muelli 23807 23806 13 239738 228464 0 14:54 pts/8 00:01:22 /usr/bin/kvm -S -M pc -m 512 -smp 1 -name vanilla_ubuntu -monitor stdio -boot c -drive file=/home/muelli/qemu/ubuntu8.10/ubuntu.img,if=ide,index=0,boot=on -drive file=,if=ide,media=cdrom,index=2 -net nic,model=rtl8139,macaddr=f0:00:BA:12:34:56 -net user,hostfwd=tcp::2223-:22,smb=/tmp/share -serial pty -snapshot
MachineType: LENOVO 766636G
Package: kvm 1:84+dfsg-0ubuntu16+0.11.0+0ubuntu6.3
PccardctlIdent:
Socket 0:
no product info available
PccardctlStatus:
Socket 0:
no card
ProcCmdLine: root=/dev/mapper/cryptroot source=UUID=9c3d5596-27c6-4fd5-bfcd-fa8eef6f1230 ro vdso32=0 quiet splash crashkernel=384M-2G:64M,2G-:128M
ProcVersionSignature: Ubuntu 2.6.32-16.24-generic
SourcePackage: qemu-kvm
Uname: Linux 2.6.32-16-generic x86_64
dmi.bios.date: 03/12/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 7NETC0WW (2.20 )
dmi.board.name: 766636G
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7NETC0WW(2.20):bd03/12/2009:svnLENOVO:pn766636G:pvrThinkPadX61:rvnLENOVO:rn766636G:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 766636G
dmi.product.version: ThinkPad X61
dmi.sys.vendor: LENOVO
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Qemu-devel] [Bug 543478] Re: qemus pmemsave doesn't accept "/" in filename
[not found] <20100321151438.9877.81956.malonedeb@palladium.canonical.com>
` (3 preceding siblings ...)
2010-06-24 8:19 ` Muelli
@ 2010-06-24 14:48 ` Serge Hallyn
2010-07-06 15:39 ` Muelli
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Serge Hallyn @ 2010-06-24 14:48 UTC (permalink / raw)
To: qemu-devel
Muelli: I agree that a help message about quoting pathnames would be
useful. Please work with the upstream mailing list to do so. A small
patch to qemu-monitor.hx should suffice, but you'll need to interact with
the qemu-devel@nongnu.org mailing list.
** Changed in: qemu-kvm (Ubuntu)
Status: New => Incomplete
--
qemus pmemsave doesn't accept "/" in filename
https://bugs.launchpad.net/bugs/543478
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
Status in QEMU: Invalid
Status in “qemu-kvm” package in Ubuntu: Incomplete
Bug description:
Binary package hint: qemu-kvm
Please see my conversation with qemu:
(qemu) pmemsave
unexpected end of expression
(qemu) help pmemsave
pmemsave addr size file -- save to disk physical memory dump starting at 'addr' of size 'size'
(qemu) pmemsave 0 512M /tmp/qemu.mem
pmemsave: extraneous characters at the end of line
(qemu) pmemsave 0 512 /tmp/qemu.mem
invalid char in expression
(qemu) pmemsave 0 512 /tmp/qemu
invalid char in expression
(qemu) pmemsave 0 512 qemu.mem
(qemu) pmemsave 0 512M qemu.mem
pmemsave: extraneous characters at the end of line
Let me comment on each one of those:
(qemu) pmemsave
unexpected end of expression
I expected some sort of hint as to where to get more information. Maybe just a "Type ``help pmemsave'' to get syntax information" would be sufficient.
(qemu) help pmemsave
pmemsave addr size file -- save to disk physical memory dump starting at 'addr' of size 'size'
Nice. But an example would be nice. My proposal: "I.e.: pmemsave 0 1G /tmp/qemu.mem"
(qemu) pmemsave 0 512M /tmp/qemu.mem
pmemsave: extraneous characters at the end of line
eh. Would be nice if it told me *which* character was "extraneous" and what "extraneous" means. My proposal: "Couldn't parse character at position 23, please see help pmemsave for an example".
(qemu) pmemsave 0 512 /tmp/qemu.mem
invalid char in expression
Hm. Interesting. Again, would be nice if it printed me the offending character. My proposal: "Could not parse character at position 23, please see help pmemsave for an example".
(qemu) pmemsave 0 512 /tmp/qemu
invalid char in expression
Now I got rid of almost everything but it still doesn't work.
(qemu) pmemsave 0 512 qemu.mem
aha! No slashes?! Seriously?
(qemu) pmemsave 0 512M qemu.mem
pmemsave: extraneous characters at the end of line
And no "M" or "G" modifiers? If I want to dump 2GB then I'd have to calculate the number in bytes and paste that long string. I expected qemu to be able to parse the K, M, G suffixes.
Also, I'm wondering why it doesn't offer to dump all memory.
ProblemType: Bug
Architecture: amd64
CurrentDmesg:
[150870.676062] kvm_intel: Unknown symbol kvm_vcpu_on_spin
[150947.222923] cron[24260]: segfault at 0 ip (null) sp 00007fffe865eed8 error 14 in cron[400000+9000]
[150947.224187] cron[24261]: segfault at 0 ip (null) sp 00007fffe865eed8 error 14 in cron[400000+9000]
Date: Sun Mar 21 15:03:13 2010
DistroRelease: Ubuntu 9.10
KvmCmdLine:
UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
muelli 23807 23806 13 239738 228464 0 14:54 pts/8 00:01:22 /usr/bin/kvm -S -M pc -m 512 -smp 1 -name vanilla_ubuntu -monitor stdio -boot c -drive file=/home/muelli/qemu/ubuntu8.10/ubuntu.img,if=ide,index=0,boot=on -drive file=,if=ide,media=cdrom,index=2 -net nic,model=rtl8139,macaddr=f0:00:BA:12:34:56 -net user,hostfwd=tcp::2223-:22,smb=/tmp/share -serial pty -snapshot
MachineType: LENOVO 766636G
Package: kvm 1:84+dfsg-0ubuntu16+0.11.0+0ubuntu6.3
PccardctlIdent:
Socket 0:
no product info available
PccardctlStatus:
Socket 0:
no card
ProcCmdLine: root=/dev/mapper/cryptroot source=UUID=9c3d5596-27c6-4fd5-bfcd-fa8eef6f1230 ro vdso32=0 quiet splash crashkernel=384M-2G:64M,2G-:128M
ProcVersionSignature: Ubuntu 2.6.32-16.24-generic
SourcePackage: qemu-kvm
Uname: Linux 2.6.32-16-generic x86_64
dmi.bios.date: 03/12/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 7NETC0WW (2.20 )
dmi.board.name: 766636G
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7NETC0WW(2.20):bd03/12/2009:svnLENOVO:pn766636G:pvrThinkPadX61:rvnLENOVO:rn766636G:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 766636G
dmi.product.version: ThinkPad X61
dmi.sys.vendor: LENOVO
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Qemu-devel] [Bug 543478] Re: qemus pmemsave doesn't accept "/" in filename
[not found] <20100321151438.9877.81956.malonedeb@palladium.canonical.com>
` (4 preceding siblings ...)
2010-06-24 14:48 ` Serge Hallyn
@ 2010-07-06 15:39 ` Muelli
2010-07-06 16:31 ` Brian Murray
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Muelli @ 2010-07-06 15:39 UTC (permalink / raw)
To: qemu-devel
Here's a patch against qemu from git that prints the offending
characters, helping the user to understand what's going on.
I can't deal with qemu-devel myself, it's way too noisy. But Ubuntu
might want to take that patch or push it upstream.
** Patch added: "Patch which prints the errorneous characters"
http://launchpadlibrarian.net/51467852/0001-Monitor-Print-the-errorneous-character-if-we-detecte.patch
--
qemus pmemsave doesn't accept "/" in filename
https://bugs.launchpad.net/bugs/543478
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
Status in QEMU: Invalid
Status in “qemu-kvm” package in Ubuntu: Incomplete
Bug description:
Binary package hint: qemu-kvm
Please see my conversation with qemu:
(qemu) pmemsave
unexpected end of expression
(qemu) help pmemsave
pmemsave addr size file -- save to disk physical memory dump starting at 'addr' of size 'size'
(qemu) pmemsave 0 512M /tmp/qemu.mem
pmemsave: extraneous characters at the end of line
(qemu) pmemsave 0 512 /tmp/qemu.mem
invalid char in expression
(qemu) pmemsave 0 512 /tmp/qemu
invalid char in expression
(qemu) pmemsave 0 512 qemu.mem
(qemu) pmemsave 0 512M qemu.mem
pmemsave: extraneous characters at the end of line
Let me comment on each one of those:
(qemu) pmemsave
unexpected end of expression
I expected some sort of hint as to where to get more information. Maybe just a "Type ``help pmemsave'' to get syntax information" would be sufficient.
(qemu) help pmemsave
pmemsave addr size file -- save to disk physical memory dump starting at 'addr' of size 'size'
Nice. But an example would be nice. My proposal: "I.e.: pmemsave 0 1G /tmp/qemu.mem"
(qemu) pmemsave 0 512M /tmp/qemu.mem
pmemsave: extraneous characters at the end of line
eh. Would be nice if it told me *which* character was "extraneous" and what "extraneous" means. My proposal: "Couldn't parse character at position 23, please see help pmemsave for an example".
(qemu) pmemsave 0 512 /tmp/qemu.mem
invalid char in expression
Hm. Interesting. Again, would be nice if it printed me the offending character. My proposal: "Could not parse character at position 23, please see help pmemsave for an example".
(qemu) pmemsave 0 512 /tmp/qemu
invalid char in expression
Now I got rid of almost everything but it still doesn't work.
(qemu) pmemsave 0 512 qemu.mem
aha! No slashes?! Seriously?
(qemu) pmemsave 0 512M qemu.mem
pmemsave: extraneous characters at the end of line
And no "M" or "G" modifiers? If I want to dump 2GB then I'd have to calculate the number in bytes and paste that long string. I expected qemu to be able to parse the K, M, G suffixes.
Also, I'm wondering why it doesn't offer to dump all memory.
ProblemType: Bug
Architecture: amd64
CurrentDmesg:
[150870.676062] kvm_intel: Unknown symbol kvm_vcpu_on_spin
[150947.222923] cron[24260]: segfault at 0 ip (null) sp 00007fffe865eed8 error 14 in cron[400000+9000]
[150947.224187] cron[24261]: segfault at 0 ip (null) sp 00007fffe865eed8 error 14 in cron[400000+9000]
Date: Sun Mar 21 15:03:13 2010
DistroRelease: Ubuntu 9.10
KvmCmdLine:
UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
muelli 23807 23806 13 239738 228464 0 14:54 pts/8 00:01:22 /usr/bin/kvm -S -M pc -m 512 -smp 1 -name vanilla_ubuntu -monitor stdio -boot c -drive file=/home/muelli/qemu/ubuntu8.10/ubuntu.img,if=ide,index=0,boot=on -drive file=,if=ide,media=cdrom,index=2 -net nic,model=rtl8139,macaddr=f0:00:BA:12:34:56 -net user,hostfwd=tcp::2223-:22,smb=/tmp/share -serial pty -snapshot
MachineType: LENOVO 766636G
Package: kvm 1:84+dfsg-0ubuntu16+0.11.0+0ubuntu6.3
PccardctlIdent:
Socket 0:
no product info available
PccardctlStatus:
Socket 0:
no card
ProcCmdLine: root=/dev/mapper/cryptroot source=UUID=9c3d5596-27c6-4fd5-bfcd-fa8eef6f1230 ro vdso32=0 quiet splash crashkernel=384M-2G:64M,2G-:128M
ProcVersionSignature: Ubuntu 2.6.32-16.24-generic
SourcePackage: qemu-kvm
Uname: Linux 2.6.32-16-generic x86_64
dmi.bios.date: 03/12/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 7NETC0WW (2.20 )
dmi.board.name: 766636G
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7NETC0WW(2.20):bd03/12/2009:svnLENOVO:pn766636G:pvrThinkPadX61:rvnLENOVO:rn766636G:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 766636G
dmi.product.version: ThinkPad X61
dmi.sys.vendor: LENOVO
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Qemu-devel] [Bug 543478] Re: qemus pmemsave doesn't accept "/" in filename
[not found] <20100321151438.9877.81956.malonedeb@palladium.canonical.com>
` (5 preceding siblings ...)
2010-07-06 15:39 ` Muelli
@ 2010-07-06 16:31 ` Brian Murray
2010-07-07 1:29 ` Muelli
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Brian Murray @ 2010-07-06 16:31 UTC (permalink / raw)
To: qemu-devel
** Tags added: patch
--
qemus pmemsave doesn't accept "/" in filename
https://bugs.launchpad.net/bugs/543478
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
Status in QEMU: Invalid
Status in “qemu-kvm” package in Ubuntu: Incomplete
Bug description:
Binary package hint: qemu-kvm
Please see my conversation with qemu:
(qemu) pmemsave
unexpected end of expression
(qemu) help pmemsave
pmemsave addr size file -- save to disk physical memory dump starting at 'addr' of size 'size'
(qemu) pmemsave 0 512M /tmp/qemu.mem
pmemsave: extraneous characters at the end of line
(qemu) pmemsave 0 512 /tmp/qemu.mem
invalid char in expression
(qemu) pmemsave 0 512 /tmp/qemu
invalid char in expression
(qemu) pmemsave 0 512 qemu.mem
(qemu) pmemsave 0 512M qemu.mem
pmemsave: extraneous characters at the end of line
Let me comment on each one of those:
(qemu) pmemsave
unexpected end of expression
I expected some sort of hint as to where to get more information. Maybe just a "Type ``help pmemsave'' to get syntax information" would be sufficient.
(qemu) help pmemsave
pmemsave addr size file -- save to disk physical memory dump starting at 'addr' of size 'size'
Nice. But an example would be nice. My proposal: "I.e.: pmemsave 0 1G /tmp/qemu.mem"
(qemu) pmemsave 0 512M /tmp/qemu.mem
pmemsave: extraneous characters at the end of line
eh. Would be nice if it told me *which* character was "extraneous" and what "extraneous" means. My proposal: "Couldn't parse character at position 23, please see help pmemsave for an example".
(qemu) pmemsave 0 512 /tmp/qemu.mem
invalid char in expression
Hm. Interesting. Again, would be nice if it printed me the offending character. My proposal: "Could not parse character at position 23, please see help pmemsave for an example".
(qemu) pmemsave 0 512 /tmp/qemu
invalid char in expression
Now I got rid of almost everything but it still doesn't work.
(qemu) pmemsave 0 512 qemu.mem
aha! No slashes?! Seriously?
(qemu) pmemsave 0 512M qemu.mem
pmemsave: extraneous characters at the end of line
And no "M" or "G" modifiers? If I want to dump 2GB then I'd have to calculate the number in bytes and paste that long string. I expected qemu to be able to parse the K, M, G suffixes.
Also, I'm wondering why it doesn't offer to dump all memory.
ProblemType: Bug
Architecture: amd64
CurrentDmesg:
[150870.676062] kvm_intel: Unknown symbol kvm_vcpu_on_spin
[150947.222923] cron[24260]: segfault at 0 ip (null) sp 00007fffe865eed8 error 14 in cron[400000+9000]
[150947.224187] cron[24261]: segfault at 0 ip (null) sp 00007fffe865eed8 error 14 in cron[400000+9000]
Date: Sun Mar 21 15:03:13 2010
DistroRelease: Ubuntu 9.10
KvmCmdLine:
UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
muelli 23807 23806 13 239738 228464 0 14:54 pts/8 00:01:22 /usr/bin/kvm -S -M pc -m 512 -smp 1 -name vanilla_ubuntu -monitor stdio -boot c -drive file=/home/muelli/qemu/ubuntu8.10/ubuntu.img,if=ide,index=0,boot=on -drive file=,if=ide,media=cdrom,index=2 -net nic,model=rtl8139,macaddr=f0:00:BA:12:34:56 -net user,hostfwd=tcp::2223-:22,smb=/tmp/share -serial pty -snapshot
MachineType: LENOVO 766636G
Package: kvm 1:84+dfsg-0ubuntu16+0.11.0+0ubuntu6.3
PccardctlIdent:
Socket 0:
no product info available
PccardctlStatus:
Socket 0:
no card
ProcCmdLine: root=/dev/mapper/cryptroot source=UUID=9c3d5596-27c6-4fd5-bfcd-fa8eef6f1230 ro vdso32=0 quiet splash crashkernel=384M-2G:64M,2G-:128M
ProcVersionSignature: Ubuntu 2.6.32-16.24-generic
SourcePackage: qemu-kvm
Uname: Linux 2.6.32-16-generic x86_64
dmi.bios.date: 03/12/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 7NETC0WW (2.20 )
dmi.board.name: 766636G
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7NETC0WW(2.20):bd03/12/2009:svnLENOVO:pn766636G:pvrThinkPadX61:rvnLENOVO:rn766636G:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 766636G
dmi.product.version: ThinkPad X61
dmi.sys.vendor: LENOVO
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Qemu-devel] [Bug 543478] Re: qemus pmemsave doesn't accept "/" in filename
[not found] <20100321151438.9877.81956.malonedeb@palladium.canonical.com>
` (6 preceding siblings ...)
2010-07-06 16:31 ` Brian Murray
@ 2010-07-07 1:29 ` Muelli
2010-12-10 4:17 ` Launchpad Bug Tracker
2011-02-12 16:54 ` [Qemu-devel] [Bug 543478] The education it�s prestigious ! Roberto Scotti
9 siblings, 0 replies; 11+ messages in thread
From: Muelli @ 2010-07-07 1:29 UTC (permalink / raw)
To: qemu-devel
** Branch linked: lp:~ubuntu-bugs-auftrags-killer/qemu/proper-error-
characters
--
qemus pmemsave doesn't accept "/" in filename
https://bugs.launchpad.net/bugs/543478
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
Status in QEMU: Invalid
Status in “qemu-kvm” package in Ubuntu: Incomplete
Bug description:
Binary package hint: qemu-kvm
Please see my conversation with qemu:
(qemu) pmemsave
unexpected end of expression
(qemu) help pmemsave
pmemsave addr size file -- save to disk physical memory dump starting at 'addr' of size 'size'
(qemu) pmemsave 0 512M /tmp/qemu.mem
pmemsave: extraneous characters at the end of line
(qemu) pmemsave 0 512 /tmp/qemu.mem
invalid char in expression
(qemu) pmemsave 0 512 /tmp/qemu
invalid char in expression
(qemu) pmemsave 0 512 qemu.mem
(qemu) pmemsave 0 512M qemu.mem
pmemsave: extraneous characters at the end of line
Let me comment on each one of those:
(qemu) pmemsave
unexpected end of expression
I expected some sort of hint as to where to get more information. Maybe just a "Type ``help pmemsave'' to get syntax information" would be sufficient.
(qemu) help pmemsave
pmemsave addr size file -- save to disk physical memory dump starting at 'addr' of size 'size'
Nice. But an example would be nice. My proposal: "I.e.: pmemsave 0 1G /tmp/qemu.mem"
(qemu) pmemsave 0 512M /tmp/qemu.mem
pmemsave: extraneous characters at the end of line
eh. Would be nice if it told me *which* character was "extraneous" and what "extraneous" means. My proposal: "Couldn't parse character at position 23, please see help pmemsave for an example".
(qemu) pmemsave 0 512 /tmp/qemu.mem
invalid char in expression
Hm. Interesting. Again, would be nice if it printed me the offending character. My proposal: "Could not parse character at position 23, please see help pmemsave for an example".
(qemu) pmemsave 0 512 /tmp/qemu
invalid char in expression
Now I got rid of almost everything but it still doesn't work.
(qemu) pmemsave 0 512 qemu.mem
aha! No slashes?! Seriously?
(qemu) pmemsave 0 512M qemu.mem
pmemsave: extraneous characters at the end of line
And no "M" or "G" modifiers? If I want to dump 2GB then I'd have to calculate the number in bytes and paste that long string. I expected qemu to be able to parse the K, M, G suffixes.
Also, I'm wondering why it doesn't offer to dump all memory.
ProblemType: Bug
Architecture: amd64
CurrentDmesg:
[150870.676062] kvm_intel: Unknown symbol kvm_vcpu_on_spin
[150947.222923] cron[24260]: segfault at 0 ip (null) sp 00007fffe865eed8 error 14 in cron[400000+9000]
[150947.224187] cron[24261]: segfault at 0 ip (null) sp 00007fffe865eed8 error 14 in cron[400000+9000]
Date: Sun Mar 21 15:03:13 2010
DistroRelease: Ubuntu 9.10
KvmCmdLine:
UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
muelli 23807 23806 13 239738 228464 0 14:54 pts/8 00:01:22 /usr/bin/kvm -S -M pc -m 512 -smp 1 -name vanilla_ubuntu -monitor stdio -boot c -drive file=/home/muelli/qemu/ubuntu8.10/ubuntu.img,if=ide,index=0,boot=on -drive file=,if=ide,media=cdrom,index=2 -net nic,model=rtl8139,macaddr=f0:00:BA:12:34:56 -net user,hostfwd=tcp::2223-:22,smb=/tmp/share -serial pty -snapshot
MachineType: LENOVO 766636G
Package: kvm 1:84+dfsg-0ubuntu16+0.11.0+0ubuntu6.3
PccardctlIdent:
Socket 0:
no product info available
PccardctlStatus:
Socket 0:
no card
ProcCmdLine: root=/dev/mapper/cryptroot source=UUID=9c3d5596-27c6-4fd5-bfcd-fa8eef6f1230 ro vdso32=0 quiet splash crashkernel=384M-2G:64M,2G-:128M
ProcVersionSignature: Ubuntu 2.6.32-16.24-generic
SourcePackage: qemu-kvm
Uname: Linux 2.6.32-16-generic x86_64
dmi.bios.date: 03/12/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 7NETC0WW (2.20 )
dmi.board.name: 766636G
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7NETC0WW(2.20):bd03/12/2009:svnLENOVO:pn766636G:pvrThinkPadX61:rvnLENOVO:rn766636G:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 766636G
dmi.product.version: ThinkPad X61
dmi.sys.vendor: LENOVO
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Qemu-devel] [Bug 543478] Re: qemus pmemsave doesn't accept "/" in filename
[not found] <20100321151438.9877.81956.malonedeb@palladium.canonical.com>
` (7 preceding siblings ...)
2010-07-07 1:29 ` Muelli
@ 2010-12-10 4:17 ` Launchpad Bug Tracker
2011-02-12 16:54 ` [Qemu-devel] [Bug 543478] The education it�s prestigious ! Roberto Scotti
9 siblings, 0 replies; 11+ messages in thread
From: Launchpad Bug Tracker @ 2010-12-10 4:17 UTC (permalink / raw)
To: qemu-devel
[Expired for qemu-kvm (Ubuntu) because there has been no activity for 60
days.]
** Changed in: qemu-kvm (Ubuntu)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/543478
Title:
qemus pmemsave doesn't accept "/" in filename
Status in QEMU:
Invalid
Status in “qemu-kvm” package in Ubuntu:
Expired
Bug description:
Binary package hint: qemu-kvm
Please see my conversation with qemu:
(qemu) pmemsave
unexpected end of expression
(qemu) help pmemsave
pmemsave addr size file -- save to disk physical memory dump starting at 'addr' of size 'size'
(qemu) pmemsave 0 512M /tmp/qemu.mem
pmemsave: extraneous characters at the end of line
(qemu) pmemsave 0 512 /tmp/qemu.mem
invalid char in expression
(qemu) pmemsave 0 512 /tmp/qemu
invalid char in expression
(qemu) pmemsave 0 512 qemu.mem
(qemu) pmemsave 0 512M qemu.mem
pmemsave: extraneous characters at the end of line
Let me comment on each one of those:
(qemu) pmemsave
unexpected end of expression
I expected some sort of hint as to where to get more information. Maybe just a "Type ``help pmemsave'' to get syntax information" would be sufficient.
(qemu) help pmemsave
pmemsave addr size file -- save to disk physical memory dump starting at 'addr' of size 'size'
Nice. But an example would be nice. My proposal: "I.e.: pmemsave 0 1G /tmp/qemu.mem"
(qemu) pmemsave 0 512M /tmp/qemu.mem
pmemsave: extraneous characters at the end of line
eh. Would be nice if it told me *which* character was "extraneous" and what "extraneous" means. My proposal: "Couldn't parse character at position 23, please see help pmemsave for an example".
(qemu) pmemsave 0 512 /tmp/qemu.mem
invalid char in expression
Hm. Interesting. Again, would be nice if it printed me the offending character. My proposal: "Could not parse character at position 23, please see help pmemsave for an example".
(qemu) pmemsave 0 512 /tmp/qemu
invalid char in expression
Now I got rid of almost everything but it still doesn't work.
(qemu) pmemsave 0 512 qemu.mem
aha! No slashes?! Seriously?
(qemu) pmemsave 0 512M qemu.mem
pmemsave: extraneous characters at the end of line
And no "M" or "G" modifiers? If I want to dump 2GB then I'd have to calculate the number in bytes and paste that long string. I expected qemu to be able to parse the K, M, G suffixes.
Also, I'm wondering why it doesn't offer to dump all memory.
ProblemType: Bug
Architecture: amd64
CurrentDmesg:
[150870.676062] kvm_intel: Unknown symbol kvm_vcpu_on_spin
[150947.222923] cron[24260]: segfault at 0 ip (null) sp 00007fffe865eed8 error 14 in cron[400000+9000]
[150947.224187] cron[24261]: segfault at 0 ip (null) sp 00007fffe865eed8 error 14 in cron[400000+9000]
Date: Sun Mar 21 15:03:13 2010
DistroRelease: Ubuntu 9.10
KvmCmdLine:
UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
muelli 23807 23806 13 239738 228464 0 14:54 pts/8 00:01:22 /usr/bin/kvm -S -M pc -m 512 -smp 1 -name vanilla_ubuntu -monitor stdio -boot c -drive file=/home/muelli/qemu/ubuntu8.10/ubuntu.img,if=ide,index=0,boot=on -drive file=,if=ide,media=cdrom,index=2 -net nic,model=rtl8139,macaddr=f0:00:BA:12:34:56 -net user,hostfwd=tcp::2223-:22,smb=/tmp/share -serial pty -snapshot
MachineType: LENOVO 766636G
Package: kvm 1:84+dfsg-0ubuntu16+0.11.0+0ubuntu6.3
PccardctlIdent:
Socket 0:
no product info available
PccardctlStatus:
Socket 0:
no card
ProcCmdLine: root=/dev/mapper/cryptroot source=UUID=9c3d5596-27c6-4fd5-bfcd-fa8eef6f1230 ro vdso32=0 quiet splash crashkernel=384M-2G:64M,2G-:128M
ProcVersionSignature: Ubuntu 2.6.32-16.24-generic
SourcePackage: qemu-kvm
Uname: Linux 2.6.32-16-generic x86_64
dmi.bios.date: 03/12/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 7NETC0WW (2.20 )
dmi.board.name: 766636G
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7NETC0WW(2.20):bd03/12/2009:svnLENOVO:pn766636G:pvrThinkPadX61:rvnLENOVO:rn766636G:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 766636G
dmi.product.version: ThinkPad X61
dmi.sys.vendor: LENOVO
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Qemu-devel] [Bug 543478] The education it�s prestigious !
[not found] <20100321151438.9877.81956.malonedeb@palladium.canonical.com>
` (8 preceding siblings ...)
2010-12-10 4:17 ` Launchpad Bug Tracker
@ 2011-02-12 16:54 ` Roberto Scotti
9 siblings, 0 replies; 11+ messages in thread
From: Roberto Scotti @ 2011-02-12 16:54 UTC (permalink / raw)
To: qemu-devel
You have a choice today!
We are an experienced company, who will give you a big chance!
How many days and hours should you spend at the university?
Yes�it is too long!
We offer you the way much better!
100% verified Degree: Bachelors, Masters and Doctorate (PHD).
Our professionals will answer to any your questions and suggest you the best choice!
Make it now! Make your life easier!
You should wait only 2-4 weeks.
We will help you!
+ 1 - 646 - 537 - 1732
Please leave us your:
1) Your Name
2) Your Country
3) Phone No. with countrycode if outside USA
Do Not Reply to this Email.
We do not reply to text inquiries, and our server will reject all response traffic.
We apologize for any inconvenience this may have caused you.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/543478
Title:
qemus pmemsave doesn't accept "/" in filename
Status in QEMU:
Invalid
Status in “qemu-kvm” package in Ubuntu:
Expired
Bug description:
Binary package hint: qemu-kvm
Please see my conversation with qemu:
(qemu) pmemsave
unexpected end of expression
(qemu) help pmemsave
pmemsave addr size file -- save to disk physical memory dump starting at 'addr' of size 'size'
(qemu) pmemsave 0 512M /tmp/qemu.mem
pmemsave: extraneous characters at the end of line
(qemu) pmemsave 0 512 /tmp/qemu.mem
invalid char in expression
(qemu) pmemsave 0 512 /tmp/qemu
invalid char in expression
(qemu) pmemsave 0 512 qemu.mem
(qemu) pmemsave 0 512M qemu.mem
pmemsave: extraneous characters at the end of line
Let me comment on each one of those:
(qemu) pmemsave
unexpected end of expression
I expected some sort of hint as to where to get more information.
Maybe just a "Type ``help pmemsave'' to get syntax information" would
be sufficient.
(qemu) help pmemsave
pmemsave addr size file -- save to disk physical memory dump starting at 'addr' of size 'size'
Nice. But an example would be nice. My proposal: "I.e.: pmemsave 0 1G
/tmp/qemu.mem"
(qemu) pmemsave 0 512M /tmp/qemu.mem
pmemsave: extraneous characters at the end of line
eh. Would be nice if it told me *which* character was "extraneous" and
what "extraneous" means. My proposal: "Couldn't parse character at
position 23, please see help pmemsave for an example".
(qemu) pmemsave 0 512 /tmp/qemu.mem
invalid char in expression
Hm. Interesting. Again, would be nice if it printed me the offending
character. My proposal: "Could not parse character at position 23,
please see help pmemsave for an example".
(qemu) pmemsave 0 512 /tmp/qemu
invalid char in expression
Now I got rid of almost everything but it still doesn't work.
(qemu) pmemsave 0 512 qemu.mem
aha! No slashes?! Seriously?
(qemu) pmemsave 0 512M qemu.mem
pmemsave: extraneous characters at the end of line
And no "M" or "G" modifiers? If I want to dump 2GB then I'd have to
calculate the number in bytes and paste that long string. I expected
qemu to be able to parse the K, M, G suffixes.
Also, I'm wondering why it doesn't offer to dump all memory.
ProblemType: Bug
Architecture: amd64
CurrentDmesg:
[150870.676062] kvm_intel: Unknown symbol kvm_vcpu_on_spin
[150947.222923] cron[24260]: segfault at 0 ip (null) sp 00007fffe865eed8 error 14 in cron[400000+9000]
[150947.224187] cron[24261]: segfault at 0 ip (null) sp 00007fffe865eed8 error 14 in cron[400000+9000]
Date: Sun Mar 21 15:03:13 2010
DistroRelease: Ubuntu 9.10
KvmCmdLine:
UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
muelli 23807 23806 13 239738 228464 0 14:54 pts/8 00:01:22 /usr/bin/kvm -S -M pc -m 512 -smp 1 -name vanilla_ubuntu -monitor stdio -boot c -drive file=/home/muelli/qemu/ubuntu8.10/ubuntu.img,if=ide,index=0,boot=on -drive file=,if=ide,media=cdrom,index=2 -net nic,model=rtl8139,macaddr=f0:00:BA:12:34:56 -net user,hostfwd=tcp::2223-:22,smb=/tmp/share -serial pty -snapshot
MachineType: LENOVO 766636G
Package: kvm 1:84+dfsg-0ubuntu16+0.11.0+0ubuntu6.3
PccardctlIdent:
Socket 0:
no product info available
PccardctlStatus:
Socket 0:
no card
ProcCmdLine: root=/dev/mapper/cryptroot source=UUID=9c3d5596-27c6-4fd5-bfcd-fa8eef6f1230 ro vdso32=0 quiet splash crashkernel=384M-2G:64M,2G-:128M
ProcVersionSignature: Ubuntu 2.6.32-16.24-generic
SourcePackage: qemu-kvm
Uname: Linux 2.6.32-16-generic x86_64
dmi.bios.date: 03/12/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 7NETC0WW (2.20 )
dmi.board.name: 766636G
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7NETC0WW(2.20):bd03/12/2009:svnLENOVO:pn766636G:pvrThinkPadX61:rvnLENOVO:rn766636G:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 766636G
dmi.product.version: ThinkPad X61
dmi.sys.vendor: LENOVO
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2011-02-12 17:01 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20100321151438.9877.81956.malonedeb@palladium.canonical.com>
2010-06-23 21:35 ` [Qemu-devel] [Bug 543478] Re: qemus pmemsave doesn't accept "/" in filename Serge Hallyn
2010-06-23 21:51 ` Anthony Liguori
2010-06-24 1:10 ` Serge E. Hallyn
2010-06-24 1:09 ` Serge Hallyn
2010-06-24 8:19 ` Muelli
2010-06-24 14:48 ` Serge Hallyn
2010-07-06 15:39 ` Muelli
2010-07-06 16:31 ` Brian Murray
2010-07-07 1:29 ` Muelli
2010-12-10 4:17 ` Launchpad Bug Tracker
2011-02-12 16:54 ` [Qemu-devel] [Bug 543478] The education it�s prestigious ! Roberto Scotti
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.