From: Stefan Priebe <s.priebe@profihost.ag>
To: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
Cc: "qemu-stable@nongnu.org" <qemu-stable@nongnu.org>,
qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Migration from older Qemu to Qemu 2.0.0 does not work
Date: Fri, 09 May 2014 22:08:12 +0200 [thread overview]
Message-ID: <536D35AC.2090704@profihost.ag> (raw)
In-Reply-To: <20140509162919.GD22335@work-vm>
Am 09.05.2014 18:29, schrieb Dr. David Alan Gilbert:
> * Stefan Priebe - Profihost AG (s.priebe@profihost.ag) wrote:
>>
>>> Am 09.05.2014 um 15:41 schrieb "Dr. David Alan Gilbert" <dgilbert@redhat.com>:
>>>
>>> * Stefan Priebe - Profihost AG (s.priebe@profihost.ag) wrote:
>>>> Hello list,
>>>>
>>>> i was trying to migrate older Qemu (1.5 and 1.7.2) to a machine running
>>>> Qemu 2.0.
>>>>
>>>> I started the target machine with:
>>>>
>>>> -machine type=pc-i440fx-1.5 / -machine type=pc-i440fx-1.7
>>>
>>> I'd expect you to have to run with the same machine type on both sides.
>>> I ran some simple virt-test migrate tests (just the basic one) and got
>>> v1.5.3->v1.6.2
>>> v1.5.3->v1.7.1
>>> v1.5.3->v2.0.0-rc1
>>> working for most machine types, pc-i440fx-1.5 passed with all of those.
>>> Note that's only the simplest test.
>>
>> My test involved USB Controller virtio Network cards and rbd virtio-scsi drives.
>
> That probably makes things more interesting :-) I'd start with the simplest
> config you can find and add each one of those until it breaks.
>
>> Can you give me your simple start line so I could test if this works for me while adding some more arguments.
>
> I've got a slightly hacked up libvirt, but I'm doing
>
> ./run -t qemu --machine-type=$MACTYPE -g Linux.JeOS.19.x86_64.i440fx --qemu-bin=$SRC --qemu-dst-bin=$DST --qemu_sandbox=off --tests migrate.default.tcp --disk-bus=ide
>
> and looking at the logs we have:
>
> /opt/qemu/v1.5.3/bin/qemu-system-x86_64 \
> -S \
> -name 'virt-tests-vm1' \
> -sandbox off \
> -M pc-i440fx-1.5 \
> -nodefaults \
> -vga std \
> -chardev socket,id=hmp_id_hmp1,path=/tmp/monitor-hmp1-20140415-104517-rAfzfDef,server,nowait \
> -mon chardev=hmp_id_hmp1,mode=readline \
> -chardev socket,id=serial_id_serial0,path=/tmp/serial-serial0-20140415-104517-rAfzfDef,server,nowait \
> -device isa-serial,chardev=serial_id_serial0 \
> -chardev socket,id=seabioslog_id_20140415-104517-rAfzfDef,path=/tmp/seabios-20140415-104517-rAfzfDef,server,nowait \
> -device isa-debugcon,chardev=seabioslog_id_20140415-104517-rAfzfDef,iobase=0x402 \
> -device ich9-usb-uhci1,id=usb1,bus=pci.0,addr=03 \
> -drive id=drive_image1,if=none,file=/home/dgilbert/virt-test/shared/data/images/jeos-19-64.qcow2 \
> -device virtio-blk-pci,id=image1,drive=drive_image1,bootindex=0,bus=pci.0,addr=04 \
> -device virtio-net-pci,mac=9a:18:19:1a:1b:1c,id=idz0uWFP,vectors=4,netdev=idMwmdMc,bus=pci.0,addr=05 \
> -netdev user,id=idMwmdMc,hostfwd=tcp::5000-:22 \
> -m 1024 \
> -smp 2,maxcpus=2,cores=1,threads=1,sockets=2 \
> -cpu 'SandyBridge' \
> -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1 \
> -vnc :1 \
> -rtc base=utc,clock=host,driftfix=none \
> -boot order=cdn,once=c,menu=off \
> -enable-kvm
>
> Dave
OK biggest bummer it works fine with all freshly started VMs. No idea why.
So i'll try with paolos idea migrating old VMs.
>
>> Thanks!
>>
>> Stefan
>>
>>>
>>> Dave
>>> --
>>> Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
> --
> Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
>
next prev parent reply other threads:[~2014-05-09 20:08 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-09 13:13 [Qemu-devel] Migration from older Qemu to Qemu 2.0.0 does not work Stefan Priebe - Profihost AG
2014-05-09 13:41 ` Dr. David Alan Gilbert
2014-05-09 16:14 ` Stefan Priebe - Profihost AG
2014-05-09 16:29 ` Dr. David Alan Gilbert
2014-05-09 20:08 ` Stefan Priebe [this message]
2014-05-09 17:05 ` Paolo Bonzini
2014-05-09 20:53 ` Stefan Priebe
2014-05-14 7:17 ` Stefan Priebe - Profihost AG
2014-05-14 8:11 ` Paolo Bonzini
2014-05-14 8:29 ` Stefan Priebe - Profihost AG
2014-05-14 8:36 ` Paolo Bonzini
2014-05-14 8:38 ` Stefan Priebe - Profihost AG
2014-05-14 9:00 ` Paolo Bonzini
2014-05-14 9:25 ` Stefan Priebe - Profihost AG
2014-05-14 9:34 ` Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=536D35AC.2090704@profihost.ag \
--to=s.priebe@profihost.ag \
--cc=dgilbert@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-stable@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.