* [Qemu-devel] Seem thread Competition
@ 2011-12-22 2:13 ZhouPeng
2011-12-22 8:42 ` Alon Levy
0 siblings, 1 reply; 12+ messages in thread
From: ZhouPeng @ 2011-12-22 2:13 UTC (permalink / raw)
To: qemu-devel, spice-devel
Hi,
I meet the err:
# virsh dumpxml 63
error: internal error cannot parse json {"timestamp": {"seconds":
1323332828, "microseco{"timest35p":39}, "econds":PICE_D 1CO3233TE828,
Dmicrosec "ds"data"52}, : {"ser: "SPrCE_DIS"ONNEC{ED", "port": {"serve
": {6299": "62, "famiamily": "ipv:", "hist": pv4"1 "hos6":
"182.168.12.231"}, "2lient.: {"p2rt": 3350196, "fa"ily": "}, "cl,
"ho{sport":t"35020", ": "19y": "i2.4", "168.1.": "19}: lexical error:
invalid string in json text.
ds": 1323332828, "microseco{"timest35p":39}, "econds":PICE_D
This similar bug seems has been reported by:
https://bugzilla.redhat.com/show_bug.cgi?id=744105
The patch(http://cgit.freedesktop.org/spice/qemu/commit/?h=spice.v42)
seems be related with the competition.
But I searched the upstream qemu, it has not been merged in.
My qemu is qemu-kvm-0.15.1 on 3.1.2-1.fc16.x86_64
Is there any plan about this bug, it seems be some serious.
Thanks,
--
Zhou Peng
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Qemu-devel] Seem thread Competition
2011-12-22 2:13 [Qemu-devel] Seem thread Competition ZhouPeng
@ 2011-12-22 8:42 ` Alon Levy
2011-12-22 9:42 ` ZhouPeng
0 siblings, 1 reply; 12+ messages in thread
From: Alon Levy @ 2011-12-22 8:42 UTC (permalink / raw)
To: ZhouPeng; +Cc: spice-devel, qemu-devel
On Thu, Dec 22, 2011 at 10:13:50AM +0800, ZhouPeng wrote:
> Hi,
>
> I meet the err:
>
> # virsh dumpxml 63
> error: internal error cannot parse json {"timestamp": {"seconds":
> 1323332828, "microseco{"timest35p":39}, "econds":PICE_D 1CO3233TE828,
> Dmicrosec "ds"data"52}, : {"ser: "SPrCE_DIS"ONNEC{ED", "port": {"serve
> ": {6299": "62, "famiamily": "ipv:", "hist": pv4"1 "hos6":
> "182.168.12.231"}, "2lient.: {"p2rt": 3350196, "fa"ily": "}, "cl,
> "ho{sport":t"35020", ": "19y": "i2.4", "168.1.": "19}: lexical error:
> invalid string in json text.
> ds": 1323332828, "microseco{"timest35p":39}, "econds":PICE_D
>
> This similar bug seems has been reported by:
> https://bugzilla.redhat.com/show_bug.cgi?id=744105
>
> The patch(http://cgit.freedesktop.org/spice/qemu/commit/?h=spice.v42)
> seems be related with the competition.
> But I searched the upstream qemu, it has not been merged in.
>
> My qemu is qemu-kvm-0.15.1 on 3.1.2-1.fc16.x86_64
>
> Is there any plan about this bug, it seems be some serious.
>
The patch Daniel Berrange mentioned wotrked around it in qemu and is in
qemu 1.0-rc0 and onward, still checking qemu-kvm. There is another patch
in spice-0.10 and in 0.8, still need to check if it's in fedora. Which
version of spice are you using?
> Thanks,
> --
> Zhou Peng
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Qemu-devel] Seem thread Competition
2011-12-22 8:42 ` Alon Levy
@ 2011-12-22 9:42 ` ZhouPeng
2011-12-22 10:00 ` Alon Levy
0 siblings, 1 reply; 12+ messages in thread
From: ZhouPeng @ 2011-12-22 9:42 UTC (permalink / raw)
To: qemu-devel, spice-devel
On Thu, Dec 22, 2011 at 4:42 PM, Alon Levy <alevy@redhat.com> wrote:
> On Thu, Dec 22, 2011 at 10:13:50AM +0800, ZhouPeng wrote:
>> Hi,
>>
>> I meet the err:
>>
>> # virsh dumpxml 63
>> error: internal error cannot parse json {"timestamp": {"seconds":
>> 1323332828, "microseco{"timest35p":39}, "econds":PICE_D 1CO3233TE828,
>> Dmicrosec "ds"data"52}, : {"ser: "SPrCE_DIS"ONNEC{ED", "port": {"serve
>> ": {6299": "62, "famiamily": "ipv:", "hist": pv4"1 "hos6":
>> "182.168.12.231"}, "2lient.: {"p2rt": 3350196, "fa"ily": "}, "cl,
>> "ho{sport":t"35020", ": "19y": "i2.4", "168.1.": "19}: lexical error:
>> invalid string in json text.
>> ds": 1323332828, "microseco{"timest35p":39}, "econds":PICE_D
>>
>> This similar bug seems has been reported by:
>> https://bugzilla.redhat.com/show_bug.cgi?id=744105
>>
>> The patch(http://cgit.freedesktop.org/spice/qemu/commit/?h=spice.v42)
>> seems be related with the competition.
>> But I searched the upstream qemu, it has not been merged in.
>>
>> My qemu is qemu-kvm-0.15.1 on 3.1.2-1.fc16.x86_64
>>
>> Is there any plan about this bug, it seems be some serious.
>>
>
> The patch Daniel Berrange mentioned wotrked around it in qemu and is in
> qemu 1.0-rc0 and onward, still checking qemu-kvm. There is another patch
Yea, I searched in spice-core.c again and the patch is in qemu unstable
Sorry, I carelessly search by " me " but not " me;" before.
> in spice-0.10 and in 0.8, still need to check if it's in fedora. Which
> version of spice are you using?
spice-server.x86_64 version 0.9.1
Thanks Alon,
--
Zhou Peng
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Qemu-devel] Seem thread Competition
2011-12-22 9:42 ` ZhouPeng
@ 2011-12-22 10:00 ` Alon Levy
2011-12-22 10:53 ` [Qemu-devel] [Spice-devel] " Alon Levy
2011-12-22 11:07 ` [Qemu-devel] " ZhouPeng
0 siblings, 2 replies; 12+ messages in thread
From: Alon Levy @ 2011-12-22 10:00 UTC (permalink / raw)
To: ZhouPeng; +Cc: spice-devel, qemu-devel
On Thu, Dec 22, 2011 at 05:42:29PM +0800, ZhouPeng wrote:
> On Thu, Dec 22, 2011 at 4:42 PM, Alon Levy <alevy@redhat.com> wrote:
> > On Thu, Dec 22, 2011 at 10:13:50AM +0800, ZhouPeng wrote:
> >> Hi,
> >>
> >> I meet the err:
> >>
> >> # virsh dumpxml 63
> >> error: internal error cannot parse json {"timestamp": {"seconds":
> >> 1323332828, "microseco{"timest35p":39}, "econds":PICE_D 1CO3233TE828,
> >> Dmicrosec "ds"data"52}, : {"ser: "SPrCE_DIS"ONNEC{ED", "port": {"serve
> >> ": {6299": "62, "famiamily": "ipv:", "hist": pv4"1 "hos6":
> >> "182.168.12.231"}, "2lient.: {"p2rt": 3350196, "fa"ily": "}, "cl,
> >> "ho{sport":t"35020", ": "19y": "i2.4", "168.1.": "19}: lexical error:
> >> invalid string in json text.
> >> ds": 1323332828, "microseco{"timest35p":39}, "econds":PICE_D
> >>
> >> This similar bug seems has been reported by:
> >> https://bugzilla.redhat.com/show_bug.cgi?id=744105
> >>
> >> The patch(http://cgit.freedesktop.org/spice/qemu/commit/?h=spice.v42)
> >> seems be related with the competition.
> >> But I searched the upstream qemu, it has not been merged in.
> >>
> >> My qemu is qemu-kvm-0.15.1 on 3.1.2-1.fc16.x86_64
> >>
> >> Is there any plan about this bug, it seems be some serious.
> >>
> >
> > The patch Daniel Berrange mentioned wotrked around it in qemu and is in
> > qemu 1.0-rc0 and onward, still checking qemu-kvm. There is another patch
>
> Yea, I searched in spice-core.c again and the patch is in qemu unstable
> Sorry, I carelessly search by " me " but not " me;" before.
It is in qemu-kvm-1.0 as well. But like you said fedora carries 0.15.1
that doesn't have it.
> > in spice-0.10 and in 0.8, still need to check if it's in fedora. Which
> > version of spice are you using?
>
> spice-server.x86_64 version 0.9.1
which doesn't have the spice side fix. but 0.10.0 has it, and it is
closest to 0.9.1. I assume this is from the fedora package as well since
you mentioned qemu-kvm is from a fedora package? seems the latest is
indeed 0.9.1-1, can you test
http://koji.fedoraproject.org/koji/buildinfo?buildID=273917
(spice-server-0.10.0-1)?
>
> Thanks Alon,
> --
> Zhou Peng
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Qemu-devel] [Spice-devel] Seem thread Competition
2011-12-22 10:00 ` Alon Levy
@ 2011-12-22 10:53 ` Alon Levy
2011-12-22 12:49 ` ZhouPeng
2011-12-22 11:07 ` [Qemu-devel] " ZhouPeng
1 sibling, 1 reply; 12+ messages in thread
From: Alon Levy @ 2011-12-22 10:53 UTC (permalink / raw)
To: ZhouPeng, qemu-devel, spice-devel
On Thu, Dec 22, 2011 at 10:00:18AM +0000, Alon Levy wrote:
> On Thu, Dec 22, 2011 at 05:42:29PM +0800, ZhouPeng wrote:
> > On Thu, Dec 22, 2011 at 4:42 PM, Alon Levy <alevy@redhat.com> wrote:
> > > On Thu, Dec 22, 2011 at 10:13:50AM +0800, ZhouPeng wrote:
> > >> Hi,
> > >>
> > >> I meet the err:
> > >>
> > >> # virsh dumpxml 63
> > >> error: internal error cannot parse json {"timestamp": {"seconds":
> > >> 1323332828, "microseco{"timest35p":39}, "econds":PICE_D 1CO3233TE828,
> > >> Dmicrosec "ds"data"52}, : {"ser: "SPrCE_DIS"ONNEC{ED", "port": {"serve
> > >> ": {6299": "62, "famiamily": "ipv:", "hist": pv4"1 "hos6":
> > >> "182.168.12.231"}, "2lient.: {"p2rt": 3350196, "fa"ily": "}, "cl,
> > >> "ho{sport":t"35020", ": "19y": "i2.4", "168.1.": "19}: lexical error:
> > >> invalid string in json text.
> > >> ds": 1323332828, "microseco{"timest35p":39}, "econds":PICE_D
> > >>
> > >> This similar bug seems has been reported by:
> > >> https://bugzilla.redhat.com/show_bug.cgi?id=744105
> > >>
> > >> The patch(http://cgit.freedesktop.org/spice/qemu/commit/?h=spice.v42)
> > >> seems be related with the competition.
> > >> But I searched the upstream qemu, it has not been merged in.
> > >>
> > >> My qemu is qemu-kvm-0.15.1 on 3.1.2-1.fc16.x86_64
> > >>
> > >> Is there any plan about this bug, it seems be some serious.
> > >>
> > >
> > > The patch Daniel Berrange mentioned wotrked around it in qemu and is in
> > > qemu 1.0-rc0 and onward, still checking qemu-kvm. There is another patch
> >
> > Yea, I searched in spice-core.c again and the patch is in qemu unstable
> > Sorry, I carelessly search by " me " but not " me;" before.
>
> It is in qemu-kvm-1.0 as well. But like you said fedora carries 0.15.1
> that doesn't have it.
>
> > > in spice-0.10 and in 0.8, still need to check if it's in fedora. Which
> > > version of spice are you using?
> >
> > spice-server.x86_64 version 0.9.1
>
> which doesn't have the spice side fix. but 0.10.0 has it, and it is
> closest to 0.9.1. I assume this is from the fedora package as well since
> you mentioned qemu-kvm is from a fedora package? seems the latest is
> indeed 0.9.1-1, can you test
> http://koji.fedoraproject.org/koji/buildinfo?buildID=273917
> (spice-server-0.10.0-1)?
>
If you find it fixes your problem and doesn't introduce any new ones
please +1 spice-0.10.0-1.fc16 at
https://admin.fedoraproject.org/updates/spice-0.10.0-1.fc16
Thanks,
Alon
> >
> > Thanks Alon,
> > --
> > Zhou Peng
> >
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Qemu-devel] Seem thread Competition
2011-12-22 10:00 ` Alon Levy
2011-12-22 10:53 ` [Qemu-devel] [Spice-devel] " Alon Levy
@ 2011-12-22 11:07 ` ZhouPeng
2011-12-23 18:03 ` [Qemu-devel] [Spice-devel] " Ademar de Souza Reis Jr.
2011-12-24 10:09 ` [Qemu-devel] " Alon Levy
1 sibling, 2 replies; 12+ messages in thread
From: ZhouPeng @ 2011-12-22 11:07 UTC (permalink / raw)
To: qemu-devel, spice-devel, alevy
On Thu, Dec 22, 2011 at 6:00 PM, Alon Levy <alevy@redhat.com> wrote:
> On Thu, Dec 22, 2011 at 05:42:29PM +0800, ZhouPeng wrote:
>> On Thu, Dec 22, 2011 at 4:42 PM, Alon Levy <alevy@redhat.com> wrote:
>> > On Thu, Dec 22, 2011 at 10:13:50AM +0800, ZhouPeng wrote:
>> >> Hi,
>> >>
>> >> I meet the err:
>> >>
>> >> # virsh dumpxml 63
>> >> error: internal error cannot parse json {"timestamp": {"seconds":
>> >> 1323332828, "microseco{"timest35p":39}, "econds":PICE_D 1CO3233TE828,
>> >> Dmicrosec "ds"data"52}, : {"ser: "SPrCE_DIS"ONNEC{ED", "port": {"serve
>> >> ": {6299": "62, "famiamily": "ipv:", "hist": pv4"1 "hos6":
>> >> "182.168.12.231"}, "2lient.: {"p2rt": 3350196, "fa"ily": "}, "cl,
>> >> "ho{sport":t"35020", ": "19y": "i2.4", "168.1.": "19}: lexical error:
>> >> invalid string in json text.
>> >> ds": 1323332828, "microseco{"timest35p":39}, "econds":PICE_D
>> >>
>> >> This similar bug seems has been reported by:
>> >> https://bugzilla.redhat.com/show_bug.cgi?id=744105
>> >>
>> >> The patch(http://cgit.freedesktop.org/spice/qemu/commit/?h=spice.v42)
>> >> seems be related with the competition.
>> >> But I searched the upstream qemu, it has not been merged in.
>> >>
>> >> My qemu is qemu-kvm-0.15.1 on 3.1.2-1.fc16.x86_64
>> >>
>> >> Is there any plan about this bug, it seems be some serious.
>> >>
>> >
>> > The patch Daniel Berrange mentioned wotrked around it in qemu and is in
>> > qemu 1.0-rc0 and onward, still checking qemu-kvm. There is another patch
>>
>> Yea, I searched in spice-core.c again and the patch is in qemu unstable
>> Sorry, I carelessly search by " me " but not " me;" before.
>
> It is in qemu-kvm-1.0 as well. But like you said fedora carries 0.15.1
> that doesn't have it.
>
>> > in spice-0.10 and in 0.8, still need to check if it's in fedora. Which
>> > version of spice are you using?
>>
>> spice-server.x86_64 version 0.9.1
>
> which doesn't have the spice side fix. but 0.10.0 has it, and it is
> closest to 0.9.1. I assume this is from the fedora package as well since
> you mentioned qemu-kvm is from a fedora package? seems the latest is
> indeed 0.9.1-1, can you test
> http://koji.fedoraproject.org/koji/buildinfo?buildID=273917
> (spice-server-0.10.0-1)?
[root@localhost ~]# rpm -i spice-server-0.10.0-1.fc16.x86_64.rpm
file /usr/lib64/libspice-server.so.1.0.2 from install of
spice-server-0.10.0-1.fc16.x86_64 conflicts with file from package
spice-server-0.9.1-1.fc16.x86_64
So I force install
rpm -i --force spice-server-0.10.0-1.fc16.x86_64.rpm
yum list installed:
spice-server.x86_64 0.9.1-1.fc16 @anaconda-0
spice-server.x86_64 0.10.0-1.fc16 installed
0.9.1-1.fc16 seems not be overrided.
So first, I am not sure qemu-kvm will use 0.10.0-1.fc16 or 0.9.1-1.fc16
Second, this is a random bug, I am not sure when it will appear again.
--
Zhou Peng
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Qemu-devel] [Spice-devel] Seem thread Competition
2011-12-22 10:53 ` [Qemu-devel] [Spice-devel] " Alon Levy
@ 2011-12-22 12:49 ` ZhouPeng
2011-12-26 6:36 ` ZhouPeng
0 siblings, 1 reply; 12+ messages in thread
From: ZhouPeng @ 2011-12-22 12:49 UTC (permalink / raw)
To: alevy, qemu-devel, spice-devel
On Thu, Dec 22, 2011 at 6:53 PM, Alon Levy <alevy@redhat.com> wrote:
> On Thu, Dec 22, 2011 at 10:00:18AM +0000, Alon Levy wrote:
>> On Thu, Dec 22, 2011 at 05:42:29PM +0800, ZhouPeng wrote:
>> > On Thu, Dec 22, 2011 at 4:42 PM, Alon Levy <alevy@redhat.com> wrote:
>> > > On Thu, Dec 22, 2011 at 10:13:50AM +0800, ZhouPeng wrote:
>> > >> Hi,
>> > >>
>> > >> I meet the err:
>> > >>
>> > >> # virsh dumpxml 63
>> > >> error: internal error cannot parse json {"timestamp": {"seconds":
>> > >> 1323332828, "microseco{"timest35p":39}, "econds":PICE_D 1CO3233TE828,
>> > >> Dmicrosec "ds"data"52}, : {"ser: "SPrCE_DIS"ONNEC{ED", "port": {"serve
>> > >> ": {6299": "62, "famiamily": "ipv:", "hist": pv4"1 "hos6":
>> > >> "182.168.12.231"}, "2lient.: {"p2rt": 3350196, "fa"ily": "}, "cl,
>> > >> "ho{sport":t"35020", ": "19y": "i2.4", "168.1.": "19}: lexical error:
>> > >> invalid string in json text.
>> > >> ds": 1323332828, "microseco{"timest35p":39}, "econds":PICE_D
>> > >>
>> > >> This similar bug seems has been reported by:
>> > >> https://bugzilla.redhat.com/show_bug.cgi?id=744105
>> > >>
>> > >> The patch(http://cgit.freedesktop.org/spice/qemu/commit/?h=spice.v42)
>> > >> seems be related with the competition.
>> > >> But I searched the upstream qemu, it has not been merged in.
>> > >>
>> > >> My qemu is qemu-kvm-0.15.1 on 3.1.2-1.fc16.x86_64
>> > >>
>> > >> Is there any plan about this bug, it seems be some serious.
>> > >>
>> > >
>> > > The patch Daniel Berrange mentioned wotrked around it in qemu and is in
>> > > qemu 1.0-rc0 and onward, still checking qemu-kvm. There is another patch
>> >
>> > Yea, I searched in spice-core.c again and the patch is in qemu unstable
>> > Sorry, I carelessly search by " me " but not " me;" before.
>>
>> It is in qemu-kvm-1.0 as well. But like you said fedora carries 0.15.1
>> that doesn't have it.
>>
>> > > in spice-0.10 and in 0.8, still need to check if it's in fedora. Which
>> > > version of spice are you using?
>> >
>> > spice-server.x86_64 version 0.9.1
>>
>> which doesn't have the spice side fix. but 0.10.0 has it, and it is
>> closest to 0.9.1. I assume this is from the fedora package as well since
>> you mentioned qemu-kvm is from a fedora package? seems the latest is
>> indeed 0.9.1-1, can you test
>> http://koji.fedoraproject.org/koji/buildinfo?buildID=273917
>> (spice-server-0.10.0-1)?
>>
>
> If you find it fixes your problem and doesn't introduce any new ones
> please +1 spice-0.10.0-1.fc16 at
> https://admin.fedoraproject.org/updates/spice-0.10.0-1.fc16
After the steps below, I am sure it is spice-server-0.10.0-1.fc16.x86_64 works.
[root@localhost pkgconfig]# ldd /usr/bin/qemu-kvm
libspice-server.so.1 => /usr/lib64/libspice-server.so.1
(0x00007f5f02799000)
[root@localhost ~]# rpm --erase spice-server-0.9.1-1.fc16.x86_64 --nodeps
[root@localhost ~]# rpm --erase spice-server-0.10.0-1.fc16.x86_64 --nodeps
[root@localhost ~]# ls /usr/lib64/libspice-server* -l
lrwxrwxrwx. 1 root root 24 Dec 20 06:43 /usr/lib64/libspice-server.so
-> libspice-server.so.1.0.2
[root@localhost ~]# virsh restore 43.ckp
error: Failed to restore domain from 43.ckp
error: internal error Child process (LC_ALL=C
PATH=/sbin:/usr/sbin:/bin:/usr/bin /usr/bin/qemu-kvm -help) status
unexpected: exit status 127
//Note: libspice-server.so.1.0.2 doesn't exists
[root@localhost ~]# rpm -i spice-server-0.10.0-1.fc16.x86_64.rpm
[root@localhost ~]# ls /usr/lib64/libspice-server* -l
lrwxrwxrwx. 1 root root 24 Dec 20 06:43
/usr/lib64/libspice-server.so -> libspice-server.so.1.0.2
lrwxrwxrwx 1 root root 24 Dec 22 07:21
/usr/lib64/libspice-server.so.1 -> libspice-server.so.1.0.2
-rwxr-xr-x 1 root root 983600 Nov 14 08:08 /usr/lib64/libspice-server.so.1.0.2
[root@localhost ~]# virsh restore 43.ckp
Domain restored from 43.ckp
----
The software suits related:
spice-server x86_64
0.10.0-1.fc16 installed 993
k
qemu-kvm x86_64
2:0.15.1-3.fc16 @updates 0.0
qemu-system-x86 x86_64
2:0.15.1-3.fc16 @updates 12 M
spice-server-devel x86_64
0.9.1-1.fc16 @fedora 19 k
This random bug appears at least 2 time one day before fixing.
So in the coming 2 days, if this bug does't appear again, I will
assume spice-server-0.10.0-1.fc16.x86_64.rpm fix it :)
> Thanks,
> Alon
>> >
>> > Thanks Alon,
>> > --
>> > Zhou Peng
>> >
>> _______________________________________________
>> Spice-devel mailing list
>> Spice-devel@lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/spice-devel
--
Zhou Peng
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Qemu-devel] [Spice-devel] Seem thread Competition
2011-12-22 11:07 ` [Qemu-devel] " ZhouPeng
@ 2011-12-23 18:03 ` Ademar de Souza Reis Jr.
2011-12-24 10:09 ` [Qemu-devel] " Alon Levy
1 sibling, 0 replies; 12+ messages in thread
From: Ademar de Souza Reis Jr. @ 2011-12-23 18:03 UTC (permalink / raw)
To: ZhouPeng; +Cc: spice-devel, alevy, qemu-devel
On Thu, Dec 22, 2011 at 07:07:14PM +0800, ZhouPeng wrote:
> On Thu, Dec 22, 2011 at 6:00 PM, Alon Levy <alevy@redhat.com> wrote:
> > On Thu, Dec 22, 2011 at 05:42:29PM +0800, ZhouPeng wrote:
> >> On Thu, Dec 22, 2011 at 4:42 PM, Alon Levy <alevy@redhat.com> wrote:
> >> > On Thu, Dec 22, 2011 at 10:13:50AM +0800, ZhouPeng wrote:
> >> >> Hi,
> >> >>
> >> >> I meet the err:
> >> >>
> >> >> # virsh dumpxml 63
> >> >> error: internal error cannot parse json {"timestamp": {"seconds":
> >> >> 1323332828, "microseco{"timest35p":39}, "econds":PICE_D 1CO3233TE828,
> >> >> Dmicrosec "ds"data"52}, : {"ser: "SPrCE_DIS"ONNEC{ED", "port": {"serve
> >> >> ": {6299": "62, "famiamily": "ipv:", "hist": pv4"1 "hos6":
> >> >> "182.168.12.231"}, "2lient.: {"p2rt": 3350196, "fa"ily": "}, "cl,
> >> >> "ho{sport":t"35020", ": "19y": "i2.4", "168.1.": "19}: lexical error:
> >> >> invalid string in json text.
> >> >> ds": 1323332828, "microseco{"timest35p":39}, "econds":PICE_D
> >> >>
> >> >> This similar bug seems has been reported by:
> >> >> https://bugzilla.redhat.com/show_bug.cgi?id=744105
> >> >>
> >> >> The patch(http://cgit.freedesktop.org/spice/qemu/commit/?h=spice.v42)
> >> >> seems be related with the competition.
> >> >> But I searched the upstream qemu, it has not been merged in.
> >> >>
> >> >> My qemu is qemu-kvm-0.15.1 on 3.1.2-1.fc16.x86_64
> >> >>
> >> >> Is there any plan about this bug, it seems be some serious.
> >> >>
> >> >
> >> > The patch Daniel Berrange mentioned wotrked around it in qemu and is in
> >> > qemu 1.0-rc0 and onward, still checking qemu-kvm. There is another patch
> >>
> >> Yea, I searched in spice-core.c again and the patch is in qemu unstable
> >> Sorry, I carelessly search by " me " but not " me;" before.
> >
> > It is in qemu-kvm-1.0 as well. But like you said fedora carries 0.15.1
> > that doesn't have it.
> >
> >> > in spice-0.10 and in 0.8, still need to check if it's in fedora. Which
> >> > version of spice are you using?
> >>
> >> spice-server.x86_64 version 0.9.1
> >
> > which doesn't have the spice side fix. but 0.10.0 has it, and it is
> > closest to 0.9.1. I assume this is from the fedora package as well since
> > you mentioned qemu-kvm is from a fedora package? seems the latest is
> > indeed 0.9.1-1, can you test
> > http://koji.fedoraproject.org/koji/buildinfo?buildID=273917
> > (spice-server-0.10.0-1)?
> [root@localhost ~]# rpm -i spice-server-0.10.0-1.fc16.x86_64.rpm
> file /usr/lib64/libspice-server.so.1.0.2 from install of
> spice-server-0.10.0-1.fc16.x86_64 conflicts with file from package
> spice-server-0.9.1-1.fc16.x86_64
>
> So I force install
> rpm -i --force spice-server-0.10.0-1.fc16.x86_64.rpm
You should use rpm -U (upgrade), not -i (install). Or better
yet, yum install <file>
>
> yum list installed:
> spice-server.x86_64 0.9.1-1.fc16 @anaconda-0
> spice-server.x86_64 0.10.0-1.fc16 installed
>
> 0.9.1-1.fc16 seems not be overrided.
>
> So first, I am not sure qemu-kvm will use 0.10.0-1.fc16 or 0.9.1-1.fc16
That's because you now have the two versions installed. Remove
them using rpm -e spice-server-0.10.0-1 spice-server-0.9.1-1 and
then reinstall the version you want.
As a general rule, never use --force unless you're absolutely
sure of what you're doing, and prefer to use yum as much as
possible.
Cheers,
- Ademar
>
> Second, this is a random bug, I am not sure when it will appear again.
> --
> Zhou Peng
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
--
Ademar de Souza Reis Jr.
Red Hat
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Qemu-devel] Seem thread Competition
2011-12-22 11:07 ` [Qemu-devel] " ZhouPeng
2011-12-23 18:03 ` [Qemu-devel] [Spice-devel] " Ademar de Souza Reis Jr.
@ 2011-12-24 10:09 ` Alon Levy
1 sibling, 0 replies; 12+ messages in thread
From: Alon Levy @ 2011-12-24 10:09 UTC (permalink / raw)
To: ZhouPeng; +Cc: spice-devel, qemu-devel
On Thu, Dec 22, 2011 at 07:07:14PM +0800, ZhouPeng wrote:
> On Thu, Dec 22, 2011 at 6:00 PM, Alon Levy <alevy@redhat.com> wrote:
> > On Thu, Dec 22, 2011 at 05:42:29PM +0800, ZhouPeng wrote:
> >> On Thu, Dec 22, 2011 at 4:42 PM, Alon Levy <alevy@redhat.com> wrote:
> >> > On Thu, Dec 22, 2011 at 10:13:50AM +0800, ZhouPeng wrote:
> >> >> Hi,
> >> >>
> >> >> I meet the err:
> >> >>
> >> >> # virsh dumpxml 63
> >> >> error: internal error cannot parse json {"timestamp": {"seconds":
> >> >> 1323332828, "microseco{"timest35p":39}, "econds":PICE_D 1CO3233TE828,
> >> >> Dmicrosec "ds"data"52}, : {"ser: "SPrCE_DIS"ONNEC{ED", "port": {"serve
> >> >> ": {6299": "62, "famiamily": "ipv:", "hist": pv4"1 "hos6":
> >> >> "182.168.12.231"}, "2lient.: {"p2rt": 3350196, "fa"ily": "}, "cl,
> >> >> "ho{sport":t"35020", ": "19y": "i2.4", "168.1.": "19}: lexical error:
> >> >> invalid string in json text.
> >> >> ds": 1323332828, "microseco{"timest35p":39}, "econds":PICE_D
> >> >>
> >> >> This similar bug seems has been reported by:
> >> >> https://bugzilla.redhat.com/show_bug.cgi?id=744105
> >> >>
> >> >> The patch(http://cgit.freedesktop.org/spice/qemu/commit/?h=spice.v42)
> >> >> seems be related with the competition.
> >> >> But I searched the upstream qemu, it has not been merged in.
> >> >>
> >> >> My qemu is qemu-kvm-0.15.1 on 3.1.2-1.fc16.x86_64
> >> >>
> >> >> Is there any plan about this bug, it seems be some serious.
> >> >>
> >> >
> >> > The patch Daniel Berrange mentioned wotrked around it in qemu and is in
> >> > qemu 1.0-rc0 and onward, still checking qemu-kvm. There is another patch
> >>
> >> Yea, I searched in spice-core.c again and the patch is in qemu unstable
> >> Sorry, I carelessly search by " me " but not " me;" before.
> >
> > It is in qemu-kvm-1.0 as well. But like you said fedora carries 0.15.1
> > that doesn't have it.
> >
> >> > in spice-0.10 and in 0.8, still need to check if it's in fedora. Which
> >> > version of spice are you using?
> >>
> >> spice-server.x86_64 version 0.9.1
> >
> > which doesn't have the spice side fix. but 0.10.0 has it, and it is
> > closest to 0.9.1. I assume this is from the fedora package as well since
> > you mentioned qemu-kvm is from a fedora package? seems the latest is
> > indeed 0.9.1-1, can you test
> > http://koji.fedoraproject.org/koji/buildinfo?buildID=273917
> > (spice-server-0.10.0-1)?
> [root@localhost ~]# rpm -i spice-server-0.10.0-1.fc16.x86_64.rpm
> file /usr/lib64/libspice-server.so.1.0.2 from install of
> spice-server-0.10.0-1.fc16.x86_64 conflicts with file from package
> spice-server-0.9.1-1.fc16.x86_64
>
> So I force install
> rpm -i --force spice-server-0.10.0-1.fc16.x86_64.rpm
>
> yum list installed:
> spice-server.x86_64 0.9.1-1.fc16 @anaconda-0
> spice-server.x86_64 0.10.0-1.fc16 installed
>
> 0.9.1-1.fc16 seems not be overrided.
>
> So first, I am not sure qemu-kvm will use 0.10.0-1.fc16 or 0.9.1-1.fc16
>
> Second, this is a random bug, I am not sure when it will appear again.
Easy to reproduce - do a lot of connect/disconnect of spice clients in
succession (that's how I tested).
> --
> Zhou Peng
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Qemu-devel] [Spice-devel] Seem thread Competition
2011-12-22 12:49 ` ZhouPeng
@ 2011-12-26 6:36 ` ZhouPeng
2011-12-26 9:31 ` Alon Levy
0 siblings, 1 reply; 12+ messages in thread
From: ZhouPeng @ 2011-12-26 6:36 UTC (permalink / raw)
To: alevy, areis, qemu-devel, spice-devel
On Thu, Dec 22, 2011 at 8:49 PM, ZhouPeng <zpengxen@gmail.com> wrote:
> On Thu, Dec 22, 2011 at 6:53 PM, Alon Levy <alevy@redhat.com> wrote:
>> On Thu, Dec 22, 2011 at 10:00:18AM +0000, Alon Levy wrote:
>>> On Thu, Dec 22, 2011 at 05:42:29PM +0800, ZhouPeng wrote:
>>> > On Thu, Dec 22, 2011 at 4:42 PM, Alon Levy <alevy@redhat.com> wrote:
>>> > > On Thu, Dec 22, 2011 at 10:13:50AM +0800, ZhouPeng wrote:
>>> > >> Hi,
>>> > >>
>>> > >> I meet the err:
>>> > >>
>>> > >> # virsh dumpxml 63
>>> > >> error: internal error cannot parse json {"timestamp": {"seconds":
>>> > >> 1323332828, "microseco{"timest35p":39}, "econds":PICE_D 1CO3233TE828,
>>> > >> Dmicrosec "ds"data"52}, : {"ser: "SPrCE_DIS"ONNEC{ED", "port": {"serve
>>> > >> ": {6299": "62, "famiamily": "ipv:", "hist": pv4"1 "hos6":
>>> > >> "182.168.12.231"}, "2lient.: {"p2rt": 3350196, "fa"ily": "}, "cl,
>>> > >> "ho{sport":t"35020", ": "19y": "i2.4", "168.1.": "19}: lexical error:
>>> > >> invalid string in json text.
>>> > >> ds": 1323332828, "microseco{"timest35p":39}, "econds":PICE_D
>>> > >>
>>> > >> This similar bug seems has been reported by:
>>> > >> https://bugzilla.redhat.com/show_bug.cgi?id=744105
>>> > >>
>>> > >> The patch(http://cgit.freedesktop.org/spice/qemu/commit/?h=spice.v42)
>>> > >> seems be related with the competition.
>>> > >> But I searched the upstream qemu, it has not been merged in.
>>> > >>
>>> > >> My qemu is qemu-kvm-0.15.1 on 3.1.2-1.fc16.x86_64
>>> > >>
>>> > >> Is there any plan about this bug, it seems be some serious.
>>> > >>
>>> > >
>>> > > The patch Daniel Berrange mentioned wotrked around it in qemu and is in
>>> > > qemu 1.0-rc0 and onward, still checking qemu-kvm. There is another patch
>>> >
>>> > Yea, I searched in spice-core.c again and the patch is in qemu unstable
>>> > Sorry, I carelessly search by " me " but not " me;" before.
>>>
>>> It is in qemu-kvm-1.0 as well. But like you said fedora carries 0.15.1
>>> that doesn't have it.
>>>
>>> > > in spice-0.10 and in 0.8, still need to check if it's in fedora. Which
>>> > > version of spice are you using?
>>> >
>>> > spice-server.x86_64 version 0.9.1
>>>
>>> which doesn't have the spice side fix. but 0.10.0 has it, and it is
>>> closest to 0.9.1. I assume this is from the fedora package as well since
>>> you mentioned qemu-kvm is from a fedora package? seems the latest is
>>> indeed 0.9.1-1, can you test
>>> http://koji.fedoraproject.org/koji/buildinfo?buildID=273917
>>> (spice-server-0.10.0-1)?
>>>
>>
>> If you find it fixes your problem and doesn't introduce any new ones
>> please +1 spice-0.10.0-1.fc16 at
>> https://admin.fedoraproject.org/updates/spice-0.10.0-1.fc16
Have +1, Thanks.
>
> After the steps below, I am sure it is spice-server-0.10.0-1.fc16.x86_64 works.
> [root@localhost pkgconfig]# ldd /usr/bin/qemu-kvm
> libspice-server.so.1 => /usr/lib64/libspice-server.so.1
> (0x00007f5f02799000)
>
> [root@localhost ~]# rpm --erase spice-server-0.9.1-1.fc16.x86_64 --nodeps
> [root@localhost ~]# rpm --erase spice-server-0.10.0-1.fc16.x86_64 --nodeps
> [root@localhost ~]# ls /usr/lib64/libspice-server* -l
> lrwxrwxrwx. 1 root root 24 Dec 20 06:43 /usr/lib64/libspice-server.so
> -> libspice-server.so.1.0.2
> [root@localhost ~]# virsh restore 43.ckp
> error: Failed to restore domain from 43.ckp
> error: internal error Child process (LC_ALL=C
> PATH=/sbin:/usr/sbin:/bin:/usr/bin /usr/bin/qemu-kvm -help) status
> unexpected: exit status 127
> //Note: libspice-server.so.1.0.2 doesn't exists
>
> [root@localhost ~]# rpm -i spice-server-0.10.0-1.fc16.x86_64.rpm
> [root@localhost ~]# ls /usr/lib64/libspice-server* -l
> lrwxrwxrwx. 1 root root 24 Dec 20 06:43
> /usr/lib64/libspice-server.so -> libspice-server.so.1.0.2
> lrwxrwxrwx 1 root root 24 Dec 22 07:21
> /usr/lib64/libspice-server.so.1 -> libspice-server.so.1.0.2
> -rwxr-xr-x 1 root root 983600 Nov 14 08:08 /usr/lib64/libspice-server.so.1.0.2
> [root@localhost ~]# virsh restore 43.ckp
> Domain restored from 43.ckp
> ----
> The software suits related:
>
> spice-server x86_64 0.10.0-1.fc16 installed
> qemu-kvm x86_64 2:0.15.1-3.fc16 @updates
>
> This random bug appears at least 2 time one day before fixing.
> So in the coming 2 days, if this bug does't appear again, I will
> assume spice-server-0.10.0-1.fc16.x86_64.rpm fix it :)
The bug does appear again, So I think
spice-server-0.10.0-1.fc16.x86_64.rpm can fix.
The bug appear in my software before, in steps below:
1) virsh restore vm.ckp vm.xml
2) spice client connect
some time later go step 3)
3) virsh dump vm vm.xml
4) virsh save vm vm.ckp
some time later go step 1) again
The err always appears in step 3) at random.
Anyway it is fixed.
Thanks,
--
Zhou Peng
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Qemu-devel] [Spice-devel] Seem thread Competition
2011-12-26 6:36 ` ZhouPeng
@ 2011-12-26 9:31 ` Alon Levy
2011-12-26 9:47 ` ZhouPeng
0 siblings, 1 reply; 12+ messages in thread
From: Alon Levy @ 2011-12-26 9:31 UTC (permalink / raw)
To: ZhouPeng; +Cc: spice-devel, qemu-devel, areis
On Mon, Dec 26, 2011 at 02:36:55PM +0800, ZhouPeng wrote:
> On Thu, Dec 22, 2011 at 8:49 PM, ZhouPeng <zpengxen@gmail.com> wrote:
> > On Thu, Dec 22, 2011 at 6:53 PM, Alon Levy <alevy@redhat.com> wrote:
> >> On Thu, Dec 22, 2011 at 10:00:18AM +0000, Alon Levy wrote:
> >>> On Thu, Dec 22, 2011 at 05:42:29PM +0800, ZhouPeng wrote:
> >>> > On Thu, Dec 22, 2011 at 4:42 PM, Alon Levy <alevy@redhat.com> wrote:
> >>> > > On Thu, Dec 22, 2011 at 10:13:50AM +0800, ZhouPeng wrote:
> >>> > >> Hi,
> >>> > >>
> >>> > >> I meet the err:
> >>> > >>
> >>> > >> # virsh dumpxml 63
> >>> > >> error: internal error cannot parse json {"timestamp": {"seconds":
> >>> > >> 1323332828, "microseco{"timest35p":39}, "econds":PICE_D 1CO3233TE828,
> >>> > >> Dmicrosec "ds"data"52}, : {"ser: "SPrCE_DIS"ONNEC{ED", "port": {"serve
> >>> > >> ": {6299": "62, "famiamily": "ipv:", "hist": pv4"1 "hos6":
> >>> > >> "182.168.12.231"}, "2lient.: {"p2rt": 3350196, "fa"ily": "}, "cl,
> >>> > >> "ho{sport":t"35020", ": "19y": "i2.4", "168.1.": "19}: lexical error:
> >>> > >> invalid string in json text.
> >>> > >> ds": 1323332828, "microseco{"timest35p":39}, "econds":PICE_D
> >>> > >>
> >>> > >> This similar bug seems has been reported by:
> >>> > >> https://bugzilla.redhat.com/show_bug.cgi?id=744105
> >>> > >>
> >>> > >> The patch(http://cgit.freedesktop.org/spice/qemu/commit/?h=spice.v42)
> >>> > >> seems be related with the competition.
> >>> > >> But I searched the upstream qemu, it has not been merged in.
> >>> > >>
> >>> > >> My qemu is qemu-kvm-0.15.1 on 3.1.2-1.fc16.x86_64
> >>> > >>
> >>> > >> Is there any plan about this bug, it seems be some serious.
> >>> > >>
> >>> > >
> >>> > > The patch Daniel Berrange mentioned wotrked around it in qemu and is in
> >>> > > qemu 1.0-rc0 and onward, still checking qemu-kvm. There is another patch
> >>> >
> >>> > Yea, I searched in spice-core.c again and the patch is in qemu unstable
> >>> > Sorry, I carelessly search by " me " but not " me;" before.
> >>>
> >>> It is in qemu-kvm-1.0 as well. But like you said fedora carries 0.15.1
> >>> that doesn't have it.
> >>>
> >>> > > in spice-0.10 and in 0.8, still need to check if it's in fedora. Which
> >>> > > version of spice are you using?
> >>> >
> >>> > spice-server.x86_64 version 0.9.1
> >>>
> >>> which doesn't have the spice side fix. but 0.10.0 has it, and it is
> >>> closest to 0.9.1. I assume this is from the fedora package as well since
> >>> you mentioned qemu-kvm is from a fedora package? seems the latest is
> >>> indeed 0.9.1-1, can you test
> >>> http://koji.fedoraproject.org/koji/buildinfo?buildID=273917
> >>> (spice-server-0.10.0-1)?
> >>>
> >>
> >> If you find it fixes your problem and doesn't introduce any new ones
> >> please +1 spice-0.10.0-1.fc16 at
> >> https://admin.fedoraproject.org/updates/spice-0.10.0-1.fc16
> Have +1, Thanks.
> >
> > After the steps below, I am sure it is spice-server-0.10.0-1.fc16.x86_64 works.
> > [root@localhost pkgconfig]# ldd /usr/bin/qemu-kvm
> > libspice-server.so.1 => /usr/lib64/libspice-server.so.1
> > (0x00007f5f02799000)
> >
> > [root@localhost ~]# rpm --erase spice-server-0.9.1-1.fc16.x86_64 --nodeps
> > [root@localhost ~]# rpm --erase spice-server-0.10.0-1.fc16.x86_64 --nodeps
> > [root@localhost ~]# ls /usr/lib64/libspice-server* -l
> > lrwxrwxrwx. 1 root root 24 Dec 20 06:43 /usr/lib64/libspice-server.so
> > -> libspice-server.so.1.0.2
> > [root@localhost ~]# virsh restore 43.ckp
> > error: Failed to restore domain from 43.ckp
> > error: internal error Child process (LC_ALL=C
> > PATH=/sbin:/usr/sbin:/bin:/usr/bin /usr/bin/qemu-kvm -help) status
> > unexpected: exit status 127
> > //Note: libspice-server.so.1.0.2 doesn't exists
> >
> > [root@localhost ~]# rpm -i spice-server-0.10.0-1.fc16.x86_64.rpm
> > [root@localhost ~]# ls /usr/lib64/libspice-server* -l
> > lrwxrwxrwx. 1 root root 24 Dec 20 06:43
> > /usr/lib64/libspice-server.so -> libspice-server.so.1.0.2
> > lrwxrwxrwx 1 root root 24 Dec 22 07:21
> > /usr/lib64/libspice-server.so.1 -> libspice-server.so.1.0.2
> > -rwxr-xr-x 1 root root 983600 Nov 14 08:08 /usr/lib64/libspice-server.so.1.0.2
> > [root@localhost ~]# virsh restore 43.ckp
> > Domain restored from 43.ckp
> > ----
> > The software suits related:
> >
> > spice-server x86_64 0.10.0-1.fc16 installed
> > qemu-kvm x86_64 2:0.15.1-3.fc16 @updates
> >
> > This random bug appears at least 2 time one day before fixing.
> > So in the coming 2 days, if this bug does't appear again, I will
> > assume spice-server-0.10.0-1.fc16.x86_64.rpm fix it :)
>
> The bug does appear again, So I think
You meant doesn't?
> spice-server-0.10.0-1.fc16.x86_64.rpm can fix.
>
> The bug appear in my software before, in steps below:
>
> 1) virsh restore vm.ckp vm.xml
> 2) spice client connect
> some time later go step 3)
> 3) virsh dump vm vm.xml
> 4) virsh save vm vm.ckp
> some time later go step 1) again
>
> The err always appears in step 3) at random.
>
> Anyway it is fixed.
> Thanks,
> --
> Zhou Peng
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Qemu-devel] [Spice-devel] Seem thread Competition
2011-12-26 9:31 ` Alon Levy
@ 2011-12-26 9:47 ` ZhouPeng
0 siblings, 0 replies; 12+ messages in thread
From: ZhouPeng @ 2011-12-26 9:47 UTC (permalink / raw)
To: alevy, areis, qemu-devel, spice-devel
On Mon, Dec 26, 2011 at 5:31 PM, Alon Levy <alevy@redhat.com> wrote:
> On Mon, Dec 26, 2011 at 02:36:55PM +0800, ZhouPeng wrote:
>> On Thu, Dec 22, 2011 at 8:49 PM, ZhouPeng <zpengxen@gmail.com> wrote:
>> > On Thu, Dec 22, 2011 at 6:53 PM, Alon Levy <alevy@redhat.com> wrote:
>> >> On Thu, Dec 22, 2011 at 10:00:18AM +0000, Alon Levy wrote:
>> >>> On Thu, Dec 22, 2011 at 05:42:29PM +0800, ZhouPeng wrote:
>> >>> > On Thu, Dec 22, 2011 at 4:42 PM, Alon Levy <alevy@redhat.com> wrote:
>> >>> > > On Thu, Dec 22, 2011 at 10:13:50AM +0800, ZhouPeng wrote:
>> >>> > >> Hi,
>> >>> > >>
>> >>> > >> I meet the err:
>> >>> > >>
>> >>> > >> # virsh dumpxml 63
>> >>> > >> error: internal error cannot parse json {"timestamp": {"seconds":
>> >>> > >> 1323332828, "microseco{"timest35p":39}, "econds":PICE_D 1CO3233TE828,
>> >>> > >> Dmicrosec "ds"data"52}, : {"ser: "SPrCE_DIS"ONNEC{ED", "port": {"serve
>> >>> > >> ": {6299": "62, "famiamily": "ipv:", "hist": pv4"1 "hos6":
>> >>> > >> "182.168.12.231"}, "2lient.: {"p2rt": 3350196, "fa"ily": "}, "cl,
>> >>> > >> "ho{sport":t"35020", ": "19y": "i2.4", "168.1.": "19}: lexical error:
>> >>> > >> invalid string in json text.
>> >>> > >> ds": 1323332828, "microseco{"timest35p":39}, "econds":PICE_D
>> >>> > >>
>> >>> > >> This similar bug seems has been reported by:
>> >>> > >> https://bugzilla.redhat.com/show_bug.cgi?id=744105
>> >>> > >>
>> >>> > >> The patch(http://cgit.freedesktop.org/spice/qemu/commit/?h=spice.v42)
>> >>> > >> seems be related with the competition.
>> >>> > >> But I searched the upstream qemu, it has not been merged in.
>> >>> > >>
>> >>> > >> My qemu is qemu-kvm-0.15.1 on 3.1.2-1.fc16.x86_64
>> >>> > >>
>> >>> > >> Is there any plan about this bug, it seems be some serious.
>> >>> > >>
>> >>> > >
>> >>> > > The patch Daniel Berrange mentioned wotrked around it in qemu and is in
>> >>> > > qemu 1.0-rc0 and onward, still checking qemu-kvm. There is another patch
>> >>> >
>> >>> > Yea, I searched in spice-core.c again and the patch is in qemu unstable
>> >>> > Sorry, I carelessly search by " me " but not " me;" before.
>> >>>
>> >>> It is in qemu-kvm-1.0 as well. But like you said fedora carries 0.15.1
>> >>> that doesn't have it.
>> >>>
>> >>> > > in spice-0.10 and in 0.8, still need to check if it's in fedora. Which
>> >>> > > version of spice are you using?
>> >>> >
>> >>> > spice-server.x86_64 version 0.9.1
>> >>>
>> >>> which doesn't have the spice side fix. but 0.10.0 has it, and it is
>> >>> closest to 0.9.1. I assume this is from the fedora package as well since
>> >>> you mentioned qemu-kvm is from a fedora package? seems the latest is
>> >>> indeed 0.9.1-1, can you test
>> >>> http://koji.fedoraproject.org/koji/buildinfo?buildID=273917
>> >>> (spice-server-0.10.0-1)?
>> >>>
>> >>
>> >> If you find it fixes your problem and doesn't introduce any new ones
>> >> please +1 spice-0.10.0-1.fc16 at
>> >> https://admin.fedoraproject.org/updates/spice-0.10.0-1.fc16
>> Have +1, Thanks.
>> >
>> > After the steps below, I am sure it is spice-server-0.10.0-1.fc16.x86_64 works.
>> > [root@localhost pkgconfig]# ldd /usr/bin/qemu-kvm
>> > libspice-server.so.1 => /usr/lib64/libspice-server.so.1
>> > (0x00007f5f02799000)
>> >
>> > [root@localhost ~]# rpm --erase spice-server-0.9.1-1.fc16.x86_64 --nodeps
>> > [root@localhost ~]# rpm --erase spice-server-0.10.0-1.fc16.x86_64 --nodeps
>> > [root@localhost ~]# ls /usr/lib64/libspice-server* -l
>> > lrwxrwxrwx. 1 root root 24 Dec 20 06:43 /usr/lib64/libspice-server.so
>> > -> libspice-server.so.1.0.2
>> > [root@localhost ~]# virsh restore 43.ckp
>> > error: Failed to restore domain from 43.ckp
>> > error: internal error Child process (LC_ALL=C
>> > PATH=/sbin:/usr/sbin:/bin:/usr/bin /usr/bin/qemu-kvm -help) status
>> > unexpected: exit status 127
>> > //Note: libspice-server.so.1.0.2 doesn't exists
>> >
>> > [root@localhost ~]# rpm -i spice-server-0.10.0-1.fc16.x86_64.rpm
>> > [root@localhost ~]# ls /usr/lib64/libspice-server* -l
>> > lrwxrwxrwx. 1 root root 24 Dec 20 06:43
>> > /usr/lib64/libspice-server.so -> libspice-server.so.1.0.2
>> > lrwxrwxrwx 1 root root 24 Dec 22 07:21
>> > /usr/lib64/libspice-server.so.1 -> libspice-server.so.1.0.2
>> > -rwxr-xr-x 1 root root 983600 Nov 14 08:08 /usr/lib64/libspice-server.so.1.0.2
>> > [root@localhost ~]# virsh restore 43.ckp
>> > Domain restored from 43.ckp
>> > ----
>> > The software suits related:
>> >
>> > spice-server x86_64 0.10.0-1.fc16 installed
>> > qemu-kvm x86_64 2:0.15.1-3.fc16 @updates
>> >
>> > This random bug appears at least 2 time one day before fixing.
>> > So in the coming 2 days, if this bug does't appear again, I will
>> > assume spice-server-0.10.0-1.fc16.x86_64.rpm fix it :)
>>
>> The bug does appear again, So I think
>
> You meant doesn't?
Yea
sorry a typo
>> spice-server-0.10.0-1.fc16.x86_64.rpm can fix.
>>
>> The bug appear in my software before, in steps below:
>>
>> 1) virsh restore vm.ckp vm.xml
>> 2) spice client connect
>> some time later go step 3)
>> 3) virsh dump vm vm.xml
>> 4) virsh save vm vm.ckp
>> some time later go step 1) again
>>
>> The err always appears in step 3) at random.
>>
>> Anyway it is fixed.
>> Thanks,
--
Zhou Peng
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2011-12-26 9:47 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-22 2:13 [Qemu-devel] Seem thread Competition ZhouPeng
2011-12-22 8:42 ` Alon Levy
2011-12-22 9:42 ` ZhouPeng
2011-12-22 10:00 ` Alon Levy
2011-12-22 10:53 ` [Qemu-devel] [Spice-devel] " Alon Levy
2011-12-22 12:49 ` ZhouPeng
2011-12-26 6:36 ` ZhouPeng
2011-12-26 9:31 ` Alon Levy
2011-12-26 9:47 ` ZhouPeng
2011-12-22 11:07 ` [Qemu-devel] " ZhouPeng
2011-12-23 18:03 ` [Qemu-devel] [Spice-devel] " Ademar de Souza Reis Jr.
2011-12-24 10:09 ` [Qemu-devel] " Alon Levy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).