(Disclaimer: I am by no means an expert with XenServer. So please don’t take anything you read here for granted. It’s my own experience and what I found in documentation and online.)
If switching a XenServer Linux VM to paravirtualization fails, you usually end up with a non booting VM which is quite annoying. Switching it back to hardware assisted virtualization isn’t difficult, if you know what to do:
Open a console on the XenServer host (local or via ssh)
Get the UUID of the VM you want to change:
xe vm-list name-label="NameOfTheVM"
change two parameters of the VM
Set HVM-boot-policy to “BIOS order”
xe vm-param-set uuid=UuidOfTheVM HVM-boot-policy="BIOS order"
Set PV-bootloader to “”
xe vm-param-set uuid=UuidOfTheVM PV-bootloader=""
If everything works, the virtualization mode of the VM in XenCenter should be switched back to “Hardware-assisted Virtualization (HVM)” and the VM will boot again.
Source: This Citrix Forum post
Another article about this
Let’s say that you need to develop a REST client (e.g. mobile app, web client, web SPA or a desktop thin client) and you need some endpoints to use. The usual problem in this case is that you need to start to develop the server before you can show something to the end user. MockJSONAPI server solves this problem giving to the developer a bare-bone REST server with the standard CRUD interface. The data are stored into a single JSON file.
MockJSONAPI is a mock server for a generic JSON API. It is built with Delphi and delphimvcframework. Can be used with any client technology and language (e.g. the server unit tests are in Python). When mockjsonapi server receives a requests it matches the request against the data.json that have been configured.
MockJSONAPI Server is a quite simple project but is really useful for all the developers that have to work with RESTful APIs.
More details and info at the project page.
FPC 3.0.4 and Lazarus 1.8 build (win64):
FPC 3.0.4 and Lazarus 1.8 build (linux64):
FPC 3.0.4 and Lazarus 1.8 build (macosx64):
Delphi XE 10.2 Tokyo build (win64):