Using VSPI with ESP32

I am trying to use the VSPI bus on the ESP32 instead of the standard HSPI bus. I am rather stuck on how to change the bus and how to set the pins for it. I am using another library to connect with the the MPU-9250 accelorometer. I have attached the the code from the library example. Any suggests on how to use the VSPI would be greatly appreciated.

//////////////////////////////////////////////////////
///Bolder Flight Systems

#include “MPU9250.h”

// an MPU9250 object with the MPU-9250 sensor on SPI bus 0 and chip select pin 10
MPU9250 IMU(SPI,10);
int status;

void setup() {
// serial to display data
Serial.begin(115200);
while(!Serial) {}

// start communication with IMU
status = IMU.begin();
if (status < 0) {
Serial.println(“IMU initialization unsuccessful”);
Serial.println(“Check IMU wiring or try cycling power”);
Serial.print("Status: ");
Serial.println(status);
while(1) {}
}
}

void loop() {
// read the sensor
IMU.readSensor();
// display the data
Serial.print(IMU.getAccelX_mss(),6);
Serial.print("\t");
Serial.print(IMU.getAccelY_mss(),6);
Serial.print("\t");
Serial.print(IMU.getAccelZ_mss(),6);
Serial.print("\t");
Serial.print(IMU.getGyroX_rads(),6);
Serial.print("\t");
Serial.print(IMU.getGyroY_rads(),6);
Serial.print("\t");
Serial.print(IMU.getGyroZ_rads(),6);
Serial.print("\t");
Serial.print(IMU.getMagX_uT(),6);
Serial.print("\t");
Serial.print(IMU.getMagY_uT(),6);
Serial.print("\t");
Serial.print(IMU.getMagZ_uT(),6);
Serial.print("\t");
Serial.println(IMU.getTemperature_C(),6);
delay(100);
}

//////////////////////////////////////////////
My guess is that it is something to do with this line but I am not sure how to change it.
MPU9250 IMU(SPI,10);

The SPI object is assigned to the VSPI bus by default:

SPIClass SPI(VSPI);

You may define your object for HSPI yourself if you need it:

SPIClass SPI1(HSPI);

You may ommit the HSPI parameter as it’s the default for the class.

So your above code connects to the VSPI bus.