* [Qemu-devel] live migration + licensing issue. @ 2014-07-08 15:24 Anshul Makkar 2014-07-08 16:25 ` Andreas Färber 0 siblings, 1 reply; 18+ messages in thread From: Anshul Makkar @ 2014-07-08 15:24 UTC (permalink / raw) To: qemu-devel Hi, In our data center we are using qemu 1.0/ 1.2 and we need to do a live migration to qemu 2.0. One of the main hindrance that we are facing is that QEMU 1.0 uses old PC model so if a user using Windows on the VM running on QEMU 1.0 does a live migrate to QEMU 2.0 , he will see a licensing issue as after migration Windows will see a new hardware beneath it. Any suggestion as to how to overcome this problem. Thanks Anshul Makkar www.justkernel.com ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Qemu-devel] live migration + licensing issue. 2014-07-08 15:24 [Qemu-devel] live migration + licensing issue Anshul Makkar @ 2014-07-08 16:25 ` Andreas Färber 2014-07-08 21:10 ` Anshul Makkar 0 siblings, 1 reply; 18+ messages in thread From: Andreas Färber @ 2014-07-08 16:25 UTC (permalink / raw) To: Anshul Makkar, qemu-devel Hi, Am 08.07.2014 17:24, schrieb Anshul Makkar: > In our data center we are using qemu 1.0/ 1.2 and we need to do a live > migration to qemu 2.0. > > One of the main hindrance that we are facing is that QEMU 1.0 uses old > PC model so if a user using Windows on the VM running on QEMU 1.0 does > a live migrate to QEMU 2.0 , he will see a licensing issue as after > migration Windows will see a new hardware beneath it. > > Any suggestion as to how to overcome this problem. Please check the documentation. There's the -machine option with parameters such as pc-1.0 and pc-1.2 for that exact purpose. libvirt should supply the corresponding option automatically. More difficult is if you're trying to migrate from qemu-kvm to qemu - code changes to your copy of 2.0 will be necessary then. Regards, Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Qemu-devel] live migration + licensing issue. 2014-07-08 16:25 ` Andreas Färber @ 2014-07-08 21:10 ` Anshul Makkar 2014-07-09 7:36 ` Markus Armbruster 2014-07-10 23:19 ` Eric Blake 0 siblings, 2 replies; 18+ messages in thread From: Anshul Makkar @ 2014-07-08 21:10 UTC (permalink / raw) To: Andreas Färber; +Cc: qemu-devel Hi, Yeah, I am aware of this option. But the point where I am concerned is that if Windows VM is running in QEMU 1.0 with pc-model 1.0 and then I upgrade the QEMU to 2.0 and I specify machine as pc-1.2, then Windows will see this as change in hardware and complain about the license. Sorry, if my understanding is wrong here or i am missing something. Anshul Makkar On Tue, Jul 8, 2014 at 6:25 PM, Andreas Färber <afaerber@suse.de> wrote: > Hi, > > Am 08.07.2014 17:24, schrieb Anshul Makkar: >> In our data center we are using qemu 1.0/ 1.2 and we need to do a live >> migration to qemu 2.0. >> >> One of the main hindrance that we are facing is that QEMU 1.0 uses old >> PC model so if a user using Windows on the VM running on QEMU 1.0 does >> a live migrate to QEMU 2.0 , he will see a licensing issue as after >> migration Windows will see a new hardware beneath it. >> >> Any suggestion as to how to overcome this problem. > > Please check the documentation. There's the -machine option with > parameters such as pc-1.0 and pc-1.2 for that exact purpose. libvirt > should supply the corresponding option automatically. > > More difficult is if you're trying to migrate from qemu-kvm to qemu - > code changes to your copy of 2.0 will be necessary then. > > Regards, > Andreas > > -- > SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany > GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Qemu-devel] live migration + licensing issue. 2014-07-08 21:10 ` Anshul Makkar @ 2014-07-09 7:36 ` Markus Armbruster 2014-07-09 11:09 ` Anshul Makkar 2014-07-10 23:19 ` Eric Blake 1 sibling, 1 reply; 18+ messages in thread From: Markus Armbruster @ 2014-07-09 7:36 UTC (permalink / raw) To: Anshul Makkar; +Cc: Andreas Färber, qemu-devel Anshul Makkar <anshul.makkar@profitbricks.com> writes: > Hi, > > Yeah, I am aware of this option. But the point where I am concerned is > that if Windows VM is running in QEMU 1.0 with pc-model 1.0 and then I > upgrade the QEMU to 2.0 and I specify machine as pc-1.2, then Windows > will see this as change in hardware and complain about the license. Works as designed. > Sorry, if my understanding is wrong here or i am missing something. Changing the machine type is the virtual equivalent of replacing the motherboard. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Qemu-devel] live migration + licensing issue. 2014-07-09 7:36 ` Markus Armbruster @ 2014-07-09 11:09 ` Anshul Makkar 2014-07-09 16:17 ` Alexandre DERUMIER 2014-07-09 16:25 ` Andreas Färber 0 siblings, 2 replies; 18+ messages in thread From: Anshul Makkar @ 2014-07-09 11:09 UTC (permalink / raw) To: Markus Armbruster; +Cc: Andreas Färber, qemu-devel Thanks. I got the point. Anshul Makkar On Wed, Jul 9, 2014 at 9:36 AM, Markus Armbruster <armbru@redhat.com> wrote: > Anshul Makkar <anshul.makkar@profitbricks.com> writes: > >> Hi, >> >> Yeah, I am aware of this option. But the point where I am concerned is >> that if Windows VM is running in QEMU 1.0 with pc-model 1.0 and then I >> upgrade the QEMU to 2.0 and I specify machine as pc-1.2, then Windows >> will see this as change in hardware and complain about the license. > > Works as designed. > >> Sorry, if my understanding is wrong here or i am missing something. > > Changing the machine type is the virtual equivalent of replacing the > motherboard. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Qemu-devel] live migration + licensing issue. 2014-07-09 11:09 ` Anshul Makkar @ 2014-07-09 16:17 ` Alexandre DERUMIER 2014-07-09 16:25 ` Andreas Färber 1 sibling, 0 replies; 18+ messages in thread From: Alexandre DERUMIER @ 2014-07-09 16:17 UTC (permalink / raw) To: Anshul Makkar; +Cc: Markus Armbruster, Andreas Färber, qemu-devel Hi, AFAIK this change has occured between the switch from qemu-kvm to qemu. (qemu 1.3 if I remember) Don't have see license problem after other upgrade (qemu 1.3->1.4->1.5 ...) But It's always better to use volume licenses, no more problem in case of virtual hardware change. ----- Mail original ----- De: "Anshul Makkar" <anshul.makkar@profitbricks.com> À: "Markus Armbruster" <armbru@redhat.com> Cc: "Andreas Färber" <afaerber@suse.de>, "qemu-devel" <qemu-devel@nongnu.org> Envoyé: Mercredi 9 Juillet 2014 13:09:47 Objet: Re: [Qemu-devel] live migration + licensing issue. Thanks. I got the point. Anshul Makkar On Wed, Jul 9, 2014 at 9:36 AM, Markus Armbruster <armbru@redhat.com> wrote: > Anshul Makkar <anshul.makkar@profitbricks.com> writes: > >> Hi, >> >> Yeah, I am aware of this option. But the point where I am concerned is >> that if Windows VM is running in QEMU 1.0 with pc-model 1.0 and then I >> upgrade the QEMU to 2.0 and I specify machine as pc-1.2, then Windows >> will see this as change in hardware and complain about the license. > > Works as designed. > >> Sorry, if my understanding is wrong here or i am missing something. > > Changing the machine type is the virtual equivalent of replacing the > motherboard. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Qemu-devel] live migration + licensing issue. 2014-07-09 11:09 ` Anshul Makkar 2014-07-09 16:17 ` Alexandre DERUMIER @ 2014-07-09 16:25 ` Andreas Färber 2014-07-11 10:14 ` Anshul Makkar 1 sibling, 1 reply; 18+ messages in thread From: Andreas Färber @ 2014-07-09 16:25 UTC (permalink / raw) To: qemu-devel; +Cc: Anshul Makkar, Markus Armbruster Am 09.07.2014 13:09, schrieb Anshul Makkar: > Thanks. I got the point. And for the record, the point is that the machine version on the destination side needs to match the source side. So, if the default or "pc" alias is used in 1.0, which resolves to pc-1.0, then it needs to be pc-1.0, not pc-1.2. If an explicit machine name such as pc-0.15 was used then that exact machine must be used on the destination as well. Andreas > On Wed, Jul 9, 2014 at 9:36 AM, Markus Armbruster <armbru@redhat.com> wrote: >> Anshul Makkar <anshul.makkar@profitbricks.com> writes: >> >>> Hi, >>> >>> Yeah, I am aware of this option. But the point where I am concerned is >>> that if Windows VM is running in QEMU 1.0 with pc-model 1.0 and then I >>> upgrade the QEMU to 2.0 and I specify machine as pc-1.2, then Windows >>> will see this as change in hardware and complain about the license. >> >> Works as designed. >> >>> Sorry, if my understanding is wrong here or i am missing something. >> >> Changing the machine type is the virtual equivalent of replacing the >> motherboard. > -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Qemu-devel] live migration + licensing issue. 2014-07-09 16:25 ` Andreas Färber @ 2014-07-11 10:14 ` Anshul Makkar 2014-07-11 11:09 ` Paolo Bonzini 2014-07-11 11:12 ` Markus Armbruster 0 siblings, 2 replies; 18+ messages in thread From: Anshul Makkar @ 2014-07-11 10:14 UTC (permalink / raw) To: Andreas Färber; +Cc: qemu-devel, Markus Armbruster Hi Andreas, "the point is that the machine version on the destination side needs to match the source side". I hope this is just to avoid the licensing issue. Else, in all other circumstance, we can specify different pc models while migrating from source to destination. Anshul Makkar On Wed, Jul 9, 2014 at 6:25 PM, Andreas Färber <afaerber@suse.de> wrote: > Am 09.07.2014 13:09, schrieb Anshul Makkar: >> Thanks. I got the point. > > And for the record, the point is that the machine version on the > destination side needs to match the source side. So, if the default or > "pc" alias is used in 1.0, which resolves to pc-1.0, then it needs to be > pc-1.0, not pc-1.2. If an explicit machine name such as pc-0.15 was used > then that exact machine must be used on the destination as well. > > Andreas > >> On Wed, Jul 9, 2014 at 9:36 AM, Markus Armbruster <armbru@redhat.com> wrote: >>> Anshul Makkar <anshul.makkar@profitbricks.com> writes: >>> >>>> Hi, >>>> >>>> Yeah, I am aware of this option. But the point where I am concerned is >>>> that if Windows VM is running in QEMU 1.0 with pc-model 1.0 and then I >>>> upgrade the QEMU to 2.0 and I specify machine as pc-1.2, then Windows >>>> will see this as change in hardware and complain about the license. >>> >>> Works as designed. >>> >>>> Sorry, if my understanding is wrong here or i am missing something. >>> >>> Changing the machine type is the virtual equivalent of replacing the >>> motherboard. >> > > > -- > SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany > GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Qemu-devel] live migration + licensing issue. 2014-07-11 10:14 ` Anshul Makkar @ 2014-07-11 11:09 ` Paolo Bonzini 2014-07-11 11:12 ` Markus Armbruster 1 sibling, 0 replies; 18+ messages in thread From: Paolo Bonzini @ 2014-07-11 11:09 UTC (permalink / raw) To: Anshul Makkar, Andreas Färber; +Cc: qemu-devel, Markus Armbruster Il 11/07/2014 12:14, Anshul Makkar ha scritto: > Hi Andreas, > > "the point is that the machine version on the destination side needs > to match the source side". I hope this is just to avoid the licensing > issue. Else, in all other circumstance, we can specify different pc > models while migrating from source to destination. No, it is always necessary. Think of it like this: you hibernate your workstation, change the motherboard and turn it on. What chances would it have to work? Of course changes in the machine types from one version to the next are _usually_ minor, but sometimes they can completely break the software. For example we've had a couple changes to the memory map over the years. Paolo ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Qemu-devel] live migration + licensing issue. 2014-07-11 10:14 ` Anshul Makkar 2014-07-11 11:09 ` Paolo Bonzini @ 2014-07-11 11:12 ` Markus Armbruster 2014-07-11 11:50 ` Anshul Makkar 2014-07-11 11:52 ` Eduardo Otubo 1 sibling, 2 replies; 18+ messages in thread From: Markus Armbruster @ 2014-07-11 11:12 UTC (permalink / raw) To: Anshul Makkar; +Cc: Andreas Färber, qemu-devel [Top-quote moved to its rightful place; please do not top quote on technical lists] Anshul Makkar <anshul.makkar@profitbricks.com> writes: > On Wed, Jul 9, 2014 at 6:25 PM, Andreas Färber <afaerber@suse.de> wrote: >> Am 09.07.2014 13:09, schrieb Anshul Makkar: >>> Thanks. I got the point. >> >> And for the record, the point is that the machine version on the >> destination side needs to match the source side. So, if the default or >> "pc" alias is used in 1.0, which resolves to pc-1.0, then it needs to be >> pc-1.0, not pc-1.2. If an explicit machine name such as pc-0.15 was used >> then that exact machine must be used on the destination as well. > Hi Andreas, > > "the point is that the machine version on the destination side needs > to match the source side". I hope this is just to avoid the licensing > issue. Else, in all other circumstance, we can specify different pc > models while migrating from source to destination. You certainly can specify whatever machine type you want, but if you specify different machine types on source and target of a migration, all bets are off. It could succeed if the stars align the right way. It could break obviously and immediately, leaving your machine running on the source. It could migrate your machine to the destination successfully, then blow up there right away, or some time later, taking down your machine. It could migrate successfully, but silently corrupt data. Regardless of how it breaks, you get to keep the pieces. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Qemu-devel] live migration + licensing issue. 2014-07-11 11:12 ` Markus Armbruster @ 2014-07-11 11:50 ` Anshul Makkar 2014-07-11 12:20 ` Markus Armbruster 2014-07-11 11:52 ` Eduardo Otubo 1 sibling, 1 reply; 18+ messages in thread From: Anshul Makkar @ 2014-07-11 11:50 UTC (permalink / raw) To: Markus Armbruster; +Cc: Andreas Färber, qemu-devel On Fri, Jul 11, 2014 at 1:12 PM, Markus Armbruster <armbru@redhat.com> wrote: > ly, leaving your machine running on the source. Hmm. Got the point. But as I mentioned above if we have to use live vertical scaling on qemu 2.0, then pc-model 1.0 won't help (as the dimm handling and bus handling has changed in pc-model 2.0 and qemu2.0 uses this changed model). QEMU 2.0 will only go with pc-model 2.0 wrt to LVS. Am I correct here ? Does the only solution is to shutdown the VM, upgrade qemu and then start with new QEMU and new PC model . Anshul Makkar ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Qemu-devel] live migration + licensing issue. 2014-07-11 11:50 ` Anshul Makkar @ 2014-07-11 12:20 ` Markus Armbruster 0 siblings, 0 replies; 18+ messages in thread From: Markus Armbruster @ 2014-07-11 12:20 UTC (permalink / raw) To: Anshul Makkar; +Cc: Andreas Färber, qemu-devel Anshul Makkar <anshul.makkar@profitbricks.com> writes: > On Fri, Jul 11, 2014 at 1:12 PM, Markus Armbruster <armbru@redhat.com> wrote: >> ly, leaving your machine running on the source. > > > Hmm. Got the point. > > But as I mentioned above if we have to use live vertical scaling on > qemu 2.0, then pc-model 1.0 won't help (as the dimm handling and bus > handling has changed in pc-model 2.0 and qemu2.0 uses this changed > model). QEMU 2.0 will only go with pc-model 2.0 wrt to LVS. Am I > correct here ? > > Does the only solution is to shutdown the VM, upgrade qemu and then > start with new QEMU and new PC model . Assuming you actually value your data: yes. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Qemu-devel] live migration + licensing issue. 2014-07-11 11:12 ` Markus Armbruster 2014-07-11 11:50 ` Anshul Makkar @ 2014-07-11 11:52 ` Eduardo Otubo 2014-07-11 12:19 ` Markus Armbruster 1 sibling, 1 reply; 18+ messages in thread From: Eduardo Otubo @ 2014-07-11 11:52 UTC (permalink / raw) To: Markus Armbruster; +Cc: Anshul Makkar, Andreas Färber, qemu-devel On Fri, Jul 11, 2014 at 1:12 PM, Markus Armbruster <armbru@redhat.com> wrote: > [Top-quote moved to its rightful place; please do not top quote on > technical lists] > > Anshul Makkar <anshul.makkar@profitbricks.com> writes: > >> On Wed, Jul 9, 2014 at 6:25 PM, Andreas Färber <afaerber@suse.de> wrote: >>> Am 09.07.2014 13:09, schrieb Anshul Makkar: >>>> Thanks. I got the point. >>> >>> And for the record, the point is that the machine version on the >>> destination side needs to match the source side. So, if the default or >>> "pc" alias is used in 1.0, which resolves to pc-1.0, then it needs to be >>> pc-1.0, not pc-1.2. If an explicit machine name such as pc-0.15 was used >>> then that exact machine must be used on the destination as well. > >> Hi Andreas, >> >> "the point is that the machine version on the destination side needs >> to match the source side". I hope this is just to avoid the licensing >> issue. Else, in all other circumstance, we can specify different pc >> models while migrating from source to destination. > > You certainly can specify whatever machine type you want, but if you > specify different machine types on source and target of a migration, all > bets are off. > > It could succeed if the stars align the right way. It could break > obviously and immediately, leaving your machine running on the source. > It could migrate your machine to the destination successfully, then blow > up there right away, or some time later, taking down your machine. It > could migrate successfully, but silently corrupt data. > > Regardless of how it breaks, you get to keep the pieces. What you're saying is that there's no way to migrate (live or offline) from Qemu 1.0/1.2 to 2.0 in a *safe way* whatever OS I'm running on it? -- Eduardo Otubo ProfitBricks ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Qemu-devel] live migration + licensing issue. 2014-07-11 11:52 ` Eduardo Otubo @ 2014-07-11 12:19 ` Markus Armbruster 2014-07-11 12:29 ` Eduardo Otubo 0 siblings, 1 reply; 18+ messages in thread From: Markus Armbruster @ 2014-07-11 12:19 UTC (permalink / raw) To: Eduardo Otubo; +Cc: Anshul Makkar, Andreas Färber, qemu-devel Eduardo Otubo <eduardo.otubo@profitbricks.com> writes: > On Fri, Jul 11, 2014 at 1:12 PM, Markus Armbruster <armbru@redhat.com> wrote: >> [Top-quote moved to its rightful place; please do not top quote on >> technical lists] >> >> Anshul Makkar <anshul.makkar@profitbricks.com> writes: >> >>> On Wed, Jul 9, 2014 at 6:25 PM, Andreas Färber <afaerber@suse.de> wrote: >>>> Am 09.07.2014 13:09, schrieb Anshul Makkar: >>>>> Thanks. I got the point. >>>> >>>> And for the record, the point is that the machine version on the >>>> destination side needs to match the source side. So, if the default or >>>> "pc" alias is used in 1.0, which resolves to pc-1.0, then it needs to be >>>> pc-1.0, not pc-1.2. If an explicit machine name such as pc-0.15 was used >>>> then that exact machine must be used on the destination as well. >> >>> Hi Andreas, >>> >>> "the point is that the machine version on the destination side needs >>> to match the source side". I hope this is just to avoid the licensing >>> issue. Else, in all other circumstance, we can specify different pc >>> models while migrating from source to destination. >> >> You certainly can specify whatever machine type you want, but if you >> specify different machine types on source and target of a migration, all >> bets are off. >> >> It could succeed if the stars align the right way. It could break >> obviously and immediately, leaving your machine running on the source. >> It could migrate your machine to the destination successfully, then blow >> up there right away, or some time later, taking down your machine. It >> could migrate successfully, but silently corrupt data. >> >> Regardless of how it breaks, you get to keep the pieces. > > What you're saying is that there's no way to migrate (live or offline) > from Qemu 1.0/1.2 to 2.0 in a *safe way* whatever OS I'm running on > it? No, what I'm saying is you need to use the same machine type on source on destination. If you don't specify one, you get the default. If you run different versions of QEMU on source and destination, their default machine type may differ. In that case, find the default machine type on the source (-M help shows it), then start QEMU on the destination with that machine type. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Qemu-devel] live migration + licensing issue. 2014-07-11 12:19 ` Markus Armbruster @ 2014-07-11 12:29 ` Eduardo Otubo 2014-07-11 12:41 ` Markus Armbruster 0 siblings, 1 reply; 18+ messages in thread From: Eduardo Otubo @ 2014-07-11 12:29 UTC (permalink / raw) To: Markus Armbruster; +Cc: Anshul Makkar, Andreas Färber, qemu-devel On Fri, Jul 11, 2014 at 2:19 PM, Markus Armbruster <armbru@redhat.com> wrote: > Eduardo Otubo <eduardo.otubo@profitbricks.com> writes: > >> On Fri, Jul 11, 2014 at 1:12 PM, Markus Armbruster <armbru@redhat.com> wrote: >>> [Top-quote moved to its rightful place; please do not top quote on >>> technical lists] >>> >>> Anshul Makkar <anshul.makkar@profitbricks.com> writes: >>> >>>> On Wed, Jul 9, 2014 at 6:25 PM, Andreas Färber <afaerber@suse.de> wrote: >>>>> Am 09.07.2014 13:09, schrieb Anshul Makkar: >>>>>> Thanks. I got the point. >>>>> >>>>> And for the record, the point is that the machine version on the >>>>> destination side needs to match the source side. So, if the default or >>>>> "pc" alias is used in 1.0, which resolves to pc-1.0, then it needs to be >>>>> pc-1.0, not pc-1.2. If an explicit machine name such as pc-0.15 was used >>>>> then that exact machine must be used on the destination as well. >>> >>>> Hi Andreas, >>>> >>>> "the point is that the machine version on the destination side needs >>>> to match the source side". I hope this is just to avoid the licensing >>>> issue. Else, in all other circumstance, we can specify different pc >>>> models while migrating from source to destination. >>> >>> You certainly can specify whatever machine type you want, but if you >>> specify different machine types on source and target of a migration, all >>> bets are off. >>> >>> It could succeed if the stars align the right way. It could break >>> obviously and immediately, leaving your machine running on the source. >>> It could migrate your machine to the destination successfully, then blow >>> up there right away, or some time later, taking down your machine. It >>> could migrate successfully, but silently corrupt data. >>> >>> Regardless of how it breaks, you get to keep the pieces. >> >> What you're saying is that there's no way to migrate (live or offline) >> from Qemu 1.0/1.2 to 2.0 in a *safe way* whatever OS I'm running on >> it? > > No, what I'm saying is you need to use the same machine type on source > on destination. > > If you don't specify one, you get the default. If you run different > versions of QEMU on source and destination, their default machine type > may differ. > > In that case, find the default machine type on the source (-M help shows > it), then start QEMU on the destination with that machine type. > Let me rephrase that: What you're saying is that there's no way to migrate (live or offline) from pc-model 1.0/1.2 to pc-model 2.0 in a *safe way* whatever OS I'm running on it? As Anshul said, we want to migrate clients of our data center from Qemu 1.0/1.2 to Qemu 2.0 to take advantage of live vertical scaling -- which implies in changing pc-model to 2.0. At least offline migration you think it could be OK? Regards, -- Eduardo Otubo ProfitBricks ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Qemu-devel] live migration + licensing issue. 2014-07-11 12:29 ` Eduardo Otubo @ 2014-07-11 12:41 ` Markus Armbruster 0 siblings, 0 replies; 18+ messages in thread From: Markus Armbruster @ 2014-07-11 12:41 UTC (permalink / raw) To: Eduardo Otubo; +Cc: Anshul Makkar, Andreas Färber, qemu-devel Eduardo Otubo <eduardo.otubo@profitbricks.com> writes: > On Fri, Jul 11, 2014 at 2:19 PM, Markus Armbruster <armbru@redhat.com> wrote: >> Eduardo Otubo <eduardo.otubo@profitbricks.com> writes: >> >>> On Fri, Jul 11, 2014 at 1:12 PM, Markus Armbruster <armbru@redhat.com> wrote: >>>> [Top-quote moved to its rightful place; please do not top quote on >>>> technical lists] >>>> >>>> Anshul Makkar <anshul.makkar@profitbricks.com> writes: >>>> >>>>> On Wed, Jul 9, 2014 at 6:25 PM, Andreas Färber <afaerber@suse.de> wrote: >>>>>> Am 09.07.2014 13:09, schrieb Anshul Makkar: >>>>>>> Thanks. I got the point. >>>>>> >>>>>> And for the record, the point is that the machine version on the >>>>>> destination side needs to match the source side. So, if the default or >>>>>> "pc" alias is used in 1.0, which resolves to pc-1.0, then it needs to be >>>>>> pc-1.0, not pc-1.2. If an explicit machine name such as pc-0.15 was used >>>>>> then that exact machine must be used on the destination as well. >>>> >>>>> Hi Andreas, >>>>> >>>>> "the point is that the machine version on the destination side needs >>>>> to match the source side". I hope this is just to avoid the licensing >>>>> issue. Else, in all other circumstance, we can specify different pc >>>>> models while migrating from source to destination. >>>> >>>> You certainly can specify whatever machine type you want, but if you >>>> specify different machine types on source and target of a migration, all >>>> bets are off. >>>> >>>> It could succeed if the stars align the right way. It could break >>>> obviously and immediately, leaving your machine running on the source. >>>> It could migrate your machine to the destination successfully, then blow >>>> up there right away, or some time later, taking down your machine. It >>>> could migrate successfully, but silently corrupt data. >>>> >>>> Regardless of how it breaks, you get to keep the pieces. >>> >>> What you're saying is that there's no way to migrate (live or offline) >>> from Qemu 1.0/1.2 to 2.0 in a *safe way* whatever OS I'm running on >>> it? >> >> No, what I'm saying is you need to use the same machine type on source >> on destination. >> >> If you don't specify one, you get the default. If you run different >> versions of QEMU on source and destination, their default machine type >> may differ. >> >> In that case, find the default machine type on the source (-M help shows >> it), then start QEMU on the destination with that machine type. >> > > Let me rephrase that: > What you're saying is that there's no way to migrate (live or offline) > from pc-model 1.0/1.2 to pc-model 2.0 in a *safe way* whatever OS I'm > running on it? Yes, where "migrate offline" is something like savevm / loadvm. The only safe way to upgrade to a newer machine type is shutdown & restart with new type. > As Anshul said, we want to migrate clients of our data center from > Qemu 1.0/1.2 to Qemu 2.0 to take advantage of live vertical scaling -- > which implies in changing pc-model to 2.0. At least offline migration > you think it could be OK? Changing the machine type is the virtual equivalent of replacing the motherboard. No safe way to pull that off without a reboot, I'm afraid. ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Qemu-devel] live migration + licensing issue. 2014-07-08 21:10 ` Anshul Makkar 2014-07-09 7:36 ` Markus Armbruster @ 2014-07-10 23:19 ` Eric Blake 2014-07-11 10:12 ` Anshul Makkar 1 sibling, 1 reply; 18+ messages in thread From: Eric Blake @ 2014-07-10 23:19 UTC (permalink / raw) To: Anshul Makkar, Andreas Färber; +Cc: qemu-devel [-- Attachment #1: Type: text/plain, Size: 750 bytes --] On 07/08/2014 03:10 PM, Anshul Makkar wrote: > Hi, > > Yeah, I am aware of this option. But the point where I am concerned is > that if Windows VM is running in QEMU 1.0 with pc-model 1.0 and then I > upgrade the QEMU to 2.0 and I specify machine as pc-1.2, then Windows > will see this as change in hardware and complain about the license. That's by design. If you were running under qemu 1.0 with pc-model 1.0, then when you upgrade to qemu 2.0, you must STILL use pc-model 1.0 (and not pc-1.2) if you want your guest to see the same hardware as what the older qemu was providing, and therefore avoid a relicensing issue. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 604 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Qemu-devel] live migration + licensing issue. 2014-07-10 23:19 ` Eric Blake @ 2014-07-11 10:12 ` Anshul Makkar 0 siblings, 0 replies; 18+ messages in thread From: Anshul Makkar @ 2014-07-11 10:12 UTC (permalink / raw) To: Eric Blake; +Cc: Andreas Färber, qemu-devel Yeah, but I think if we have to take advantage of live vertical scaling (memory hotplug, memory hotunplug, cpu hotplug) then we need to upgrade to pc model 1.2. pc model 1.0 will be incompatible with qemu 2.0 wrt. LVS feature as the bus architecture and the way how dimms are handled has changed from pc model 1.0 in qemu 1.0 to pc model 2.0 (pc-i440fx-2.1) to qemu 2.0. Yeah, true, if we have to avoid the licensing issue then we have to use same PC model. Anshul Makkar On Fri, Jul 11, 2014 at 1:19 AM, Eric Blake <eblake@redhat.com> wrote: > On 07/08/2014 03:10 PM, Anshul Makkar wrote: >> Hi, >> >> Yeah, I am aware of this option. But the point where I am concerned is >> that if Windows VM is running in QEMU 1.0 with pc-model 1.0 and then I >> upgrade the QEMU to 2.0 and I specify machine as pc-1.2, then Windows >> will see this as change in hardware and complain about the license. > > That's by design. If you were running under qemu 1.0 with pc-model 1.0, > then when you upgrade to qemu 2.0, you must STILL use pc-model 1.0 (and > not pc-1.2) if you want your guest to see the same hardware as what the > older qemu was providing, and therefore avoid a relicensing issue. > > -- > Eric Blake eblake redhat com +1-919-301-3266 > Libvirt virtualization library http://libvirt.org > ^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2014-07-11 12:42 UTC | newest] Thread overview: 18+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-07-08 15:24 [Qemu-devel] live migration + licensing issue Anshul Makkar 2014-07-08 16:25 ` Andreas Färber 2014-07-08 21:10 ` Anshul Makkar 2014-07-09 7:36 ` Markus Armbruster 2014-07-09 11:09 ` Anshul Makkar 2014-07-09 16:17 ` Alexandre DERUMIER 2014-07-09 16:25 ` Andreas Färber 2014-07-11 10:14 ` Anshul Makkar 2014-07-11 11:09 ` Paolo Bonzini 2014-07-11 11:12 ` Markus Armbruster 2014-07-11 11:50 ` Anshul Makkar 2014-07-11 12:20 ` Markus Armbruster 2014-07-11 11:52 ` Eduardo Otubo 2014-07-11 12:19 ` Markus Armbruster 2014-07-11 12:29 ` Eduardo Otubo 2014-07-11 12:41 ` Markus Armbruster 2014-07-10 23:19 ` Eric Blake 2014-07-11 10:12 ` Anshul Makkar
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).